| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
Co-authored-by: Lars Mueller <appgurulars@gmx.de>
Co-authored-by: sfan5 <sfan5@live.de>
Co-authored-by: Dmitry Kostenko <codeforsmile@gmail.com>
|
|
|
|
|
| |
Use SimpleSoundSpec where reasonable (OpenAL)
Ensure the sound IDs do not underflow or get overwritten -> loop in u16
Proper use of an enum.
|
|
|
|
|
|
|
|
|
|
|
| |
* FormSpec: 9-slice images and animated_images
* Add fgimg_middle; clean up code
* Address issues, add tests
* Fix stupid error; bump formspec version
* Re-add image[] elements without a size
|
| |
|
|
|
|
|
|
|
|
| |
Dropped ServerSoundParams -> moved to ServerPlayingSound. This gets rid of the duplicated
'fade' and 'pitch' values on server-side where only one was used anyway.
SimpleSoundSpec is the basic sound without positional information, hence 'loop' is included.
Recursively added PROTOCOL_VERSION to most functions to reduce the versioning mess in the
future. Per-type version numbers are kept for now as a safety rope in a special case.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
New users find Minetest's account system confusing.
This change moves username/password to a new dialog,
with login and register buttons added to the Join Game tab.
The old registration confirmation dialog is removed in
favour of the new dialog.
Fixes #8138
|
|
|
|
|
| |
The logging streams now do almost no work when there is no output target for them.
For example, if LL_VERBOSE has no output targets, then `verbosestream << x` will return a StreamProxy with a null target. Any further `<<` operations applied to it will do nothing.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
| |
* Also Disable shadows when sun/moon is hidden. Fixes #11972.
|
|
|
|
| |
fixes #12073
|
| |
|
|
|
| |
This isn't a revert but rather just disables the codepaths. also see #12011
|
| |
|
|
|
|
| |
Also cleans up related code somewhat.
|
| |
|
| |
|
|
|
| |
This moves relevant code into the PlayerControl class and gets rid of separate keyPressed variable.
|
|
|
| |
Improve error handling on Windows and reduce the size of the `Address` class
|
| |
|
| |
|
|
|
| |
This is a follow-up change which disables class copies where possible to avoid unnecessary memory movements.
|
| |
|
|
|
|
| |
(#11662)
|
|
|
|
|
|
| |
Code that relies on `resend_count` was added in 7ea4a03 and 247a1eb, but never worked.
This was fixed in #11607 which caused the problem to surface.
Hence undo the first commit entirely and change the logic of the second.
|
| |
|
|
|
|
|
| |
* Camera: Fix division by 0 after view bobbing
* Remove ignored constness
* Connection: Improve window size range limits
|
| |
|
| |
|
|
|
|
| |
fixes #11610
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit deprecates the forward, backward, left, and right binary
inputs currently used for player movement in the PlayerControl struct.
In their place, it adds the movement_speed and movement_direction
values, which represents the player movement is a polar coordinate
system.
movement_speed is a scalar from 0.0 to 1.0. movement_direction is
an angle from 0 to +-Pi:
FWD
0
_
LFT / \ RGT
-Pi/2 | | +Pi/2
\_/
+-Pi
BCK
Boolean movement bits will still be set for server telegrams and
Lua script invocations to provide full backward compatibility.
When generating these values from an analog input, a direction is
considered active when it is 22.5 degrees away from either
orthogonal axis.
Co-authored-by: Markus Koch <markus@notsyncing.net>
Co-authored-by: sfan5 <sfan5@live.de>
|
|
|
|
| |
This comes into play on older servers which do not know the "stat" type.
Warnings are only logged once to avoid spam within globalstep callbacks
|
|
|
| |
Co-authored-by: Elias Fleckenstein <eliasfleckenstein@web.de>
|
|
|
|
|
| |
'debug' priv to view wireframe (#9315)
Fixes #7245.
|
| |
|
|
|
| |
i.e. checks for duplicate logins before sending all media data to the client.
|
|
|
|
| |
Also changes if/if to switch/case
|
| |
|
| |
|
| |
|
|
|
| |
The server must have authority about attachments. This commit ignores any player movement packets as long they're attached.
|
|
|
|
| |
fixes #7643
|