aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Value copy / allocation optimizations mostly in server, SAO and serialize codesfan52020-05-27
|
* Fix liquids refusing to flow in X+ or Z+ in some cases (#9874)sfan52020-05-26
| | | | | Applies when a different: - falling liquid is neighboring - liquid is below
* Rename “Minimal development test” to “Development Test” (#9928)Wuzzy2020-05-26
|
* L-System trees: Remove hardcoded use of 'mapgen_dirt' alias (#9931)Paramat2020-05-25
| | | | | | | | | | | | | | Games often and increasingly do not use this mapgen alias, as it is only required for Mapgen V6. Such games were triggering the recently added error message. Even if this mapgen alias was defined, dirt nodes placed under a wide trunk were inconsistent with biomes that do not use dirt surface nodes. Place trunk nodes below a wide trunk instead of 'mapgen_dirt'. On sloping ground, the trunk then extends down to the surface, instead of the surface rising up to meet the trunk. This looks more natural and does not alter the terrain.
* Silence GCC warning in mapblock_meshSmallJoker2020-05-25
| | | | | Fixes following warning: warning: ‘waving’ may be used uninitialized in this function [-Wmaybe-uninitialized]
* Fix build on FreeBSD, broken since open_urlrubenwardy2020-05-24
|
* Add chat_font_size setting (#9736)SmallJoker2020-05-24
| | | Default font sizes are used when the setting value is 0 or below (clamped by Settings).
* Fix two bugs in content_caosfan52020-05-24
| | | | fixes #9889 (backface_culling with visual = "cube") fixes #9916 (crash with visual = "upright_sprite")
* Fix constant re-queueing of emerges that will always be unsuccessfulsfan52020-05-24
|
* Fix documentation of emergequeue_limit settingssfan52020-05-24
|
* Optimize particlespawner sending by not sending to distant playerssfan52020-05-23
|
* Implement spawning particles with node texture appearancesfan52020-05-23
|
* Add on_authplayer callback and 'last_login' to on_joinplayer (#9574)sorcerykid2020-05-23
| | | | | | Replace on_auth_fail callback with more versatile on_authplayer Better clarify account login process in Lua API documentation Change initial timestamp for newly registered accounts to -1
* Modernize include guards and add missing ones (#9898)Awkor2020-05-23
|
* Check for valid base64 before decoding (#9904)Lejo12020-05-22
|
* MacOS: Fix environ not being foundSmallJoker2020-05-22
|
* Cleanup of particle & particlespawner structures and code (#9893)sfan52020-05-22
|
* Cache liquid alternative IDs (#8053)Vitaliy2020-05-20
|
* Allow more than 255 biomes, document new maximum (#9855)Paramat2020-05-20
| | | | Change biomemap data type from u8 to u16. New technical (not practical) maximum is 65535 biomes.
* Stop wasting memory on identical textures when texture filtering is disabledsfan52020-05-20
|
* CSM: Fix crashing minetest.get_item_def()sfan52020-05-20
| | | | fixes #9884
* Rework functionality of leveled nodes (#9852)Wuzzy2020-05-19
| | | | Co-authored-by: sfan5 <sfan5@live.de> Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
* Add ability to scale HUD text (#9814)LoneWolfHT2020-05-19
| | | Add 'size' property to HUD text elements that is used for relative font size calculations.
* Add missing sao->isGone() checkssfan52020-05-18
| | | | fixes #9883
* content_mapblock: Move static initialization out of functionssfan52020-05-17
|
* Client: Add sum and average to packetcountersfan52020-05-17
|
* Add core.open_url() to main menu API (#8592)rubenwardy2020-05-17
|
* Make automatic_rotate relative, allow setting rotation (#8468)ANAND2020-05-16
| | | | | | | | | automatic_rotate does not make sense if it is absolute. Make it relative. To avoid bouncing, set_rotation did not update the client when automatic_rotate was set. That's no longer necessary because the new spinning method applies the rotation on top of the current one, and the updates are necessary for set_rotation to actually transform the object. Co-authored-by: ANAND <ClobberXD@gmail.com> Co-authored-by: Pedro Gimeno <pgimeno@users.noreply.notabug.org>
* Log protocol ver on mismatched client connect toosfan52020-05-16
|
* Add new Mapgen V7 floatland implementation (#9296)Paramat2020-05-14
| | | | | | | | | | | | Floatland structure is vertically-compressed 3D noise. Uses a lacunarity of 1.618 (the golden ratio) for high quality noise. Floatlands appear between user-settable Y limits, with smooth tapering at each limit. Simple user-settable density adjustment. Shadow propagation is disabled in and just below floatlands, no shadows are cast on the world surface. Can be reconfigured to create a solid upper world layer between the Y limits, lakes/seas can be optionally added to this.
* network: Replace a fatal_error with just error loggingsfan52020-05-14
|
* CSM: Bugfixes to camera:get_pos() and camera:get_fov()sfan52020-05-14
| | | closes #9857
* Collision detection - #9343 follow-up (#9764)TheTermos2020-05-14
| | | | | | | * truncate speed to prevent inf result * code styling * change truncate() input parameters
* Add chat_log_level setting (#9223)SmallJoker2020-05-14
| | | | | Log all higher levels in LogOutputBuffer Move StreamLogOutput::logRaw to source file like LogOutputBuffer::logRaw for compiling speed
* Damage texture modifier (#9833)Lars Müller2020-05-11
| | | Adds a new object property "damage_texture_modifier"
* Add support for statbar “off state” icons (#9462)Wuzzy2020-05-11
| | | | | | | This adds support for optional “off state” icons for statbars. “off state icons” can be used to denote the lack of something, like missing hearts or bubbles. Add "off state" textures to the builtin statbars. Co-authored-by: SmallJoker <mk939@ymail.com>
* Color gradient for default and 'regular' type sky (#9502)TheTermos2020-05-09
| | | | | | | | | * add regular sky gradient * add regular sky gradient * Update sky.cpp * change default day sky colors
* Always use same default tabheader height (#9319)Paul Ouellette2020-05-09
| | | | | Previously the default tabheader height was different when using real coordinates. This resulted in the height of tabs changing when switching tabs in sfinv if some tabs used real coordinates.
* Server class code cleanups (#9769)Loïc Blot2020-05-07
| | | | | | | | | | | | | | | | | | | * Server::overrideDayNightRatio doesn't require to return bool There is no sense to sending null player, the caller should send a valid object * Server::init: make private & cleanup This function is always called before start() and loads some variables which can be loaded in constructor directly. Make it private and call it directly in start * Split Server inventory responsibility to a dedicated object This splits permit to found various historical issues: * duplicate lookups on player connection * sending inventory to non related player when a player connects * non friendly lookups on detached inventories ownership This reduce the detached inventory complexity and also increased the lookup performance in a quite interesting way for servers with thousands of inventories.
* Fix Server triggering wrong errors if environment init failssfan52020-05-07
|
* Get rid of non-ascii characters in the debug display code (#8821)Jozef Behran2020-05-06
|
* FormSpec: Add universal style selector `*` (#9718)v-rob2020-05-06
|
* Android: porting_android.cpp refactoring (#9687)Maksim2020-05-06
| | | | | | * Android: porting_android.cpp refactoring * Replace assert to FATAL_ERROR_IF
* Expose collided objects in moveresultsfan52020-05-06
| | | | closes #9787
* Fix crash when exiting server during running mapgensfan52020-05-05
| | | | easily reproducible with a high num_emerge_threads and /emergeblocks
* Fix thread safety of PcgRandom use in BiomeGensfan52020-05-05
|
* Fix remaining issues with mapgen scriptapisfan52020-05-05
|
* Give the Mapgen on each EmergeThread its own Biome/Ore/Deco/SchemManager copysfan52020-05-05
|
* Allow ObjDefManager instances to be clonedsfan52020-05-05
|
* Server: Improve some log messages (#9820)sfan52020-05-05
|