summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Allow customizing chat message format (#8529)ANAND2019-08-08
|
* guiVolumeChange: Fix child not being removedANAND2019-08-08
|
* Avoid crash caused by, and improve, 'findSpawnPos()' (#8728)Paramat2019-08-07
| | | | | | | | | | | | | | | | Avoid an unsuitable spawn position (which if outside mapgen limits can cause a crash) if the main 0-3999 loop reaches its end. Fallback to a spawn at 0,0,0. Check the mapgen-returned 'spawn_level' value for being outside limits. When 'air_count' reaches 2, move back down 1 to spawn in the lower empty node. If the spawn position is disallowed by 'objectpos_over_limit()', 'break' from loop instead of 'continue' because positions above are probably also over limit. Reset 'air_count' to 0 if an obstruction is found, to make 'air_count' consecutive empty nodes. Allow spawn in 'airlike' drawtype nodes such as mod-added vacuum, alien atmospheres, fog etc. Add clarifying comments and improve codestyle.
* Game: Fix double BS multiplicationSmallJoker2019-08-07
|
* Fix usage of wrong variable in builtin chat command handling (#8762)Beha2019-08-07
| | | | This was introduced in commit 8e75785 and resulted in chat commands not returning their output text.
* Client::Interact: Use InteractAction enum instead of numeric constantsANAND2019-08-07
| | | | This replaces the magic numbers used as interaction modes both client-side and server-side, primarily for the sake of ease-of-readability.
* Unify wield item handling (#8677)SmallJoker2019-08-07
| | | | This moves the wield item functions to Player and the tool utils for range calculation Also 'local_inventory' was removed due to redundancy in Client
* guiConfirmRegistration: Set focus to text field (#8761)ANAND2019-08-07
|
* Hide chat when console is open (#8656)ANAND2019-08-07
|
* Fix inventory_overlay for nodes without inventory_image (#8433)DS2019-08-07
|
* Optimize usage of TOSERVER_GOTBLOCKS packetsfan52019-08-07
|
* Do not add group values of zero to group lists. (#8751)Beha2019-08-07
| | | | | | | | | | This fixes an issue where when the engine looked up groups (for example, in ABM node names), NodeDefManager's m_group_to_items would contain nodes with a group value of zero, resulting in nodes with flammable = 0 being burned by a fire mod with a group:flammable checking ABM. It brings consistency to the behaviour described in the api documentation, where zero and nil groups should be the same.
* Clean up and fix freetype=false crashes (#8641)SmallJoker2019-08-06
| | | | | A IGUIFont of type bitmap/vector cannot be converted to CGUITTFont Fixes various segfaults in gameplay Shorter font cache code, cleaned up (?)
* Add luacheck to check builtin (#7895)rubenwardy2019-08-06
|
* Mapgen Flat: Fix and improve getSpawnLevelAtPoint() (#8756)Paramat2019-08-06
| | | | | | Previously, this wrongly returned ground level (a position containing a solid node) as spawn level. Return ground level + 2 (+ 2 to spawn above biome 'dust' nodes). Improve codestyle and make more consistent with generateTerrain().
* Update curl dependency in buildbotsfan52019-08-05
|
* Fix binary-string confusion in client network codesfan52019-08-04
|
* Clean up FindOpenGLES2.cmakesfan52019-08-04
|
* Unify GLES support in gui scaling filtersfan52019-08-04
|
* Unify OpenGL ES supportsfan52019-08-04
|
* Let ENABLE_GLES appear in cmake_config.h and change its functionalitysfan52019-08-04
|
* Add formspec testing to test mod in minimalrubenwardy2019-08-03
|
* Add styles to most elementsrubenwardy2019-08-03
|
* Add style[] tag with button supportrubenwardy2019-08-03
|
* Add custom colorable GUIButton implementationrubenwardy2019-08-03
|
* Fix negative offsets not being supported by container[]rubenwardy2019-08-03
|
* Builtin: Forward old return valuesSmallJoker2019-08-02
| | | | Was forgotten in 69bf964.
* Correct ServerActiveObject's virtual getArmorGroups() to be const.Beha2019-08-01
| | | | | | Due to commit ec3142a , UnitSAO's getArmorGroups() did not match ServerActiveObject's, notably resulting in the lua get_armor_groups() call returning nothing.
* Mainmenu: Use textarea in error formspecsSmallJoker2019-08-01
|
* Group "immortal" also protects players from damageWuzzy2019-08-01
| | | | | | | | | | Document new meaning of immortal=1 for players Disable breathing if player is immortal Hide builtin statbars if player immortal (delayed) Co-authored-by: ClobberXD <ClobberXD@gmail.com>
* Allow toolcaps to override the built-in times for dig_immediatesfan52019-07-31
|
* Silence invalid clang format warnings in guiScrollBar.cpp (#8724)Paramat2019-07-31
|
* Sky: Refactor of moon and sun drawing (#8683)Methacrylon2019-07-30
| | | Split sun and moon render parts from the main render function.
* Move the clamping of hp/breath when their maximums change to ↵Beha2019-07-30
| | | | | read_object_properties(). (#8689) This prevents set_properties() calls that have nothing to do with hp_max or breath_max overriding the saved hp before another mod has the chance to set a player's intended hp_max (such as in on_joinplayer).
* README: make -j$(nproc) (#8699)Zaoqi2019-07-30
|
* Rename guiScrollBar to GUIScrollBarDS-Minetest2019-07-29
|
* ContentCAO: Fix broken attachments on join (#8701)SmallJoker2019-07-29
| | | | | | | | | | | | | What happened: 1) Object data is received. Client begins to read the data 2) Client initializes all its children (gob_cmd_update_infant) 3) Children try to attach to parent (yet not added) 4) Parent initializes, is added to the environment And somewhere in between, Irrlicht wrecks up the attachments due to the missing matrix node. The solution here is to: 1) Use the same structure as ServerActiveObject 2) Attach all children after the parent is really initialized
* lua_api.txt clarifications regarding mapgen object index IDs and handles. ↵Beha2019-07-29
| | | | (#8713)
* guiScrollBar: move directly to clicked pos if clicked into trayDS-Minetest2019-07-28
|
* Check for 'action' field in ABMs & LBMsSmallJoker2019-07-27
|
* Prefix RecipePriority elements with PRIORITY_Paul Ouellette2019-07-27
|
* Initialize priority in CraftDefinition constructorsPaul Ouellette2019-07-27
| | | | | The priority is used by getCraftResult, which may be used before initHash is called.
* minimal: Move get_craft_result tests to test modPaul Ouellette2019-07-27
|
* Fix missing item images clipping in formspecs (#8652)Pierre-Yves Rollo2019-07-26
| | | | | | | | * Fix clipping of itemimage * Code style * More code styling
* Document 'wield_item' entity property (#8694)Alex2019-07-26
|
* Make FindCURL ready for vcpkg (#8295)adrido2019-07-26
| | | This allows to find and use curl with the vcpkg toolchain file.
* Initialise 'seabed_height' to avoid compilation warning (#8715)Paramat2019-07-26
|
* Re-order mapgens in mainmenu and 'all settings' mapgen selection (#8705)Paramat2019-07-25
| | | | | | v6 always last to discourage selection. Special mapgens flat, fractal, singlenode, next to last. Of these, singlenode last to discourage selection. Of the remaining, v5 last due to age, v7 first due to being the default.
* Mgfractal: Make non-fractal terrain optional (#8702)Paramat2019-07-25
| | | | | | Enabled by default. Only allow spawn on fractal, not on seabed terrain. Various codestyle and comment improvements.
* Removed debug.upvaluejoin to prevent leak of insecure environmenty2019-07-24
|