Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix some warnings (#12615) | rubenwardy | 2022-07-30 | 1 | -0/+2 |
| | |||||
* | Animated particlespawners and more (#11545) | Lexi Hale | 2022-07-13 | 2 | -28/+156 |
| | | | | | Co-authored-by: Lars Mueller <appgurulars@gmx.de> Co-authored-by: sfan5 <sfan5@live.de> Co-authored-by: Dmitry Kostenko <codeforsmile@gmail.com> | ||||
* | Sounds: Various little improvements (#12486) | SmallJoker | 2022-07-09 | 1 | -12/+10 |
| | | | | | 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, animated_images, and fgimg_middle (#12453) | Vincent Robinson | 2022-07-03 | 1 | -2/+2 |
| | | | | | | | | | | | * 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 | ||||
* | Allow to set maximum star opacity at daytime (#11663) | Wuzzy | 2022-07-02 | 2 | -1/+5 |
| | |||||
* | Re-order sound-related code (#12382) | SmallJoker | 2022-06-20 | 1 | -13/+9 |
| | | | | | | | | 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. | ||||
* | No damage effects on hp_max change (#11846) | Lars Müller | 2022-06-11 | 1 | -0/+5 |
| | |||||
* | Add register dialog to separate login/register (#12185) | rubenwardy | 2022-06-05 | 1 | -5/+14 |
| | | | | | | | | | | 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 | ||||
* | Make logging cost free when there is no output target (#12247) | paradust7 | 2022-05-04 | 5 | -28/+13 |
| | | | | | 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. | ||||
* | Deal with compiler warnings | sfan5 | 2022-04-30 | 2 | -3/+3 |
| | |||||
* | Clean up some auth packet handling related code | sfan5 | 2022-04-28 | 4 | -30/+25 |
| | |||||
* | Fix password changing getting stuck if wrong password is entered once | sfan5 | 2022-04-28 | 1 | -0/+2 |
| | |||||
* | Apply disallow_empty_password to password changes too | sfan5 | 2022-04-28 | 1 | -3/+13 |
| | |||||
* | Fix race condition in registration leading to duplicate create_auth calls | sfan5 | 2022-04-28 | 1 | -1/+12 |
| | |||||
* | Spacing fixes | ShadowNinja | 2022-04-08 | 1 | -2/+2 |
| | |||||
* | Add API to control shadow intensity from the game/mod (#11944) | x2048 | 2022-03-26 | 3 | -1/+15 |
| | | | * Also Disable shadows when sun/moon is hidden. Fixes #11972. | ||||
* | Clean up ClientReady packet handling | sfan5 | 2022-02-17 | 1 | -32/+24 |
| | | | | fixes #12073 | ||||
* | Clean up ClientInterface locking | Jude Melton-Houghton | 2022-02-03 | 1 | -2/+1 |
| | |||||
* | Get rid of `basic_debug` last minute | sfan5 | 2022-01-30 | 2 | -6/+0 |
| | | | This isn't a revert but rather just disables the codepaths. also see #12011 | ||||
* | Bump formspec version (#11980) | Vincent Robinson | 2022-01-23 | 1 | -1/+1 |
| | |||||
* | Fix consistency of sky sun/moon texture behaviour | sfan5 | 2022-01-22 | 1 | -7/+5 |
| | | | | Also cleans up related code somewhat. | ||||
* | Fix local animation not instantly updating after being set | sfan5 | 2022-01-19 | 1 | -0/+2 |
| | |||||
* | Don't call on_dieplayer callback two times (#11874) | savilli | 2022-01-15 | 1 | -2/+1 |
| | |||||
* | Restore pass-through of direction keys (#11924) | sfan5 | 2022-01-09 | 1 | -8/+1 |
| | | | This moves relevant code into the PlayerControl class and gets rid of separate keyPressed variable. | ||||
* | Socket-related cleanups | sfan5 | 2021-12-29 | 4 | -142/+100 |
| | | | Improve error handling on Windows and reduce the size of the `Address` class | ||||
* | Fix check that denies new clients from a singleplayer session | savilli | 2021-12-28 | 1 | -1/+1 |
| | |||||
* | Restore GCC 5 compatibility (#11778) | JosiahWI | 2021-12-28 | 1 | -1/+2 |
| | |||||
* | Network: Delete copy constructor and use std::move instead (#11642) | SmallJoker | 2021-12-01 | 4 | -520/+562 |
| | | | This is a follow-up change which disables class copies where possible to avoid unnecessary memory movements. | ||||
* | Fix number of tool uses being off by 1..32767 (#11110) | Wuzzy | 2021-10-31 | 1 | -3/+4 |
| | |||||
* | Fix item duplication if player dies during interact callback (alternative) ↵ | sfan5 | 2021-10-25 | 1 | -18/+26 |
| | | | | (#11662) | ||||
* | Remove broken timeout behaviour | sfan5 | 2021-10-12 | 1 | -23/+4 |
| | | | | | | 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. | ||||
* | Fix player HP desync between client and server | savilli | 2021-10-12 | 1 | -1/+2 |
| | |||||
* | Various code improvements | SmallJoker | 2021-09-27 | 3 | -36/+28 |
| | | | | | * Camera: Fix division by 0 after view bobbing * Remove ignored constness * Connection: Improve window size range limits | ||||
* | Fix trivial typos | sfan5 | 2021-09-19 | 1 | -2/+2 |
| | |||||
* | Shave off buffer copies in networking code (#11607) | sfan5 | 2021-09-17 | 5 | -86/+79 |
| | |||||
* | Fix broken handling of NodemetaChanged packets | sfan5 | 2021-09-12 | 1 | -1/+1 |
| | | | | fixes #11610 | ||||
* | Make sure relevant std::stringstreams are set to binary | sfan5 | 2021-09-11 | 1 | -7/+5 |
| | |||||
* | Dynamic_Add_Media v2 (#11550) | sfan5 | 2021-09-09 | 5 | -59/+122 |
| | |||||
* | Remove redundant on_dieplayer calls | savilli | 2021-08-28 | 1 | -16/+0 |
| | |||||
* | Joystick sensitivity for player movement (#11262) | NeroBurner | 2021-08-27 | 1 | -4/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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> | ||||
* | HUD: Reject and warn on invalid stat types (#11548) | SmallJoker | 2021-08-21 | 1 | -11/+23 |
| | | | | 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 | ||||
* | Add bold, italic and monospace font styling for HUD text elements (#11478) | sfan5 | 2021-07-27 | 1 | -1/+4 |
| | | | Co-authored-by: Elias Fleckenstein <eliasfleckenstein@web.de> | ||||
* | Require 'basic_debug' priv to view gameplay-relevant debug info, require ↵ | Wuzzy | 2021-06-24 | 2 | -1/+8 |
| | | | | | 'debug' priv to view wireframe (#9315) Fixes #7245. | ||||
* | Block & report player self-interaction (#11137) | Lars Müller | 2021-03-30 | 1 | -0/+6 |
| | |||||
* | Check for duplicate login in TOSERVER_INIT handler (#11017) | Elias Fleckenstein | 2021-03-19 | 1 | -0/+10 |
| | | | i.e. checks for duplicate logins before sending all media data to the client. | ||||
* | Protect dropping from far node inventories | SmallJoker | 2021-03-07 | 1 | -24/+23 |
| | | | | Also changes if/if to switch/case | ||||
* | Protect per-player detached inventory actions | SmallJoker | 2021-03-07 | 1 | -1/+5 |
| | |||||
* | Clean up ClientEvent hudadd/hudchange internals | sfan5 | 2021-03-06 | 1 | -27/+26 |
| | |||||
* | Fix hud_change and hud_remove after hud_add (#10997) | savilli | 2021-02-26 | 1 | -23/+14 |
| | |||||
* | Server-side authority for attached players (#10952) | SmallJoker | 2021-02-15 | 1 | -2/+6 |
| | | | The server must have authority about attachments. This commit ignores any player movement packets as long they're attached. |