aboutsummaryrefslogtreecommitdiff
path: root/.gitignore (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-08-10Fix some issues with minetest.clear_craft (#8712)Paul Ouellette6-124/+119
* Fix some issues with minetest.clear_craft - Fix memory leak - Fix crafts with an output count not being cleared when clearing by input. - Fix recipe list being reversed when clearing by input. * Add CraftInput::empty()
2019-08-10Merge pull request #8776 from osjc/FixGetNodeJozef Behran26-139/+120
Finish getNode cleanup
2019-08-10Add player knockback on punch to builtinsfan53-0/+56
2019-08-10Implement adding velocity to player from Luasfan514-2/+105
The intended usecase is knockback, but there's potential for more.
2019-08-08Builtin UI: Move box element to ensure correct draw orderSmallJoker1-2/+2
2019-08-08Allow customizing chat message format (#8529)ANAND10-47/+111
2019-08-08guiVolumeChange: Fix child not being removedANAND1-1/+3
2019-08-07Avoid crash caused by, and improve, 'findSpawnPos()' (#8728)Paramat1-12/+31
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.
2019-08-07Game: Fix double BS multiplicationSmallJoker1-1/+1
2019-08-07Fix usage of wrong variable in builtin chat command handling (#8762)Beha1-1/+1
This was introduced in commit 8e75785 and resulted in chat commands not returning their output text.
2019-08-07Client::Interact: Use InteractAction enum instead of numeric constantsANAND5-60/+59
This replaces the magic numbers used as interaction modes both client-side and server-side, primarily for the sake of ease-of-readability.
2019-08-07Unify wield item handling (#8677)SmallJoker14-249/+154
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
2019-08-07guiConfirmRegistration: Set focus to text field (#8761)ANAND1-2/+3
2019-08-07Hide chat when console is open (#8656)ANAND3-6/+15
2019-08-07Fix inventory_overlay for nodes without inventory_image (#8433)DS1-0/+10
2019-08-07Optimize usage of TOSERVER_GOTBLOCKS packetsfan52-10/+18
2019-08-07Do not add group values of zero to group lists. (#8751)Beha1-3/+5
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.
2019-08-06Clean up and fix freetype=false crashes (#8641)SmallJoker4-254/+132
A IGUIFont of type bitmap/vector cannot be converted to CGUITTFont Fixes various segfaults in gameplay Shorter font cache code, cleaned up (?)
2019-08-06Add luacheck to check builtin (#7895)rubenwardy24-139/+201
2019-08-06Mapgen Flat: Fix and improve getSpawnLevelAtPoint() (#8756)Paramat1-13/+18
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().
2019-08-05Update curl dependency in buildbotsfan52-2/+2
2019-08-04Fix binary-string confusion in client network codesfan51-1/+1
2019-08-04Clean up FindOpenGLES2.cmakesfan51-62/+24
2019-08-04Unify GLES support in gui scaling filtersfan53-38/+44
2019-08-04Unify OpenGL ES supportsfan58-21/+39
2019-08-04Let ENABLE_GLES appear in cmake_config.h and change its functionalitysfan53-10/+24
2019-08-03Add formspec testing to test mod in minimalrubenwardy5-139/+333
2019-08-03Add styles to most elementsrubenwardy9-100/+284
2019-08-03Add style[] tag with button supportrubenwardy7-3/+240
2019-08-03Add custom colorable GUIButton implementationrubenwardy9-19/+2471
2019-08-03Fix negative offsets not being supported by container[]rubenwardy1-2/+2
2019-08-02Builtin: Forward old return valuesSmallJoker1-1/+1
Was forgotten in 69bf964.
2019-08-01Correct ServerActiveObject's virtual getArmorGroups() to be const.Beha1-1/+1
Due to commit ec3142a , UnitSAO's getArmorGroups() did not match ServerActiveObject's, notably resulting in the lua get_armor_groups() call returning nothing.
2019-08-01Mainmenu: Use textarea in error formspecsSmallJoker2-43/+31
2019-08-01Group "immortal" also protects players from damageWuzzy5-19/+25
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>
2019-07-31Allow toolcaps to override the built-in times for dig_immediatesfan51-8/+10
2019-07-31Silence invalid clang format warnings in guiScrollBar.cpp (#8724)Paramat1-2/+3
2019-07-30Sky: Refactor of moon and sun drawing (#8683)Methacrylon2-149/+142
Split sun and moon render parts from the main render function.
2019-07-30Move the clamping of hp/breath when their maximums change to ↵Beha6-22/+26
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).
2019-07-30README: make -j$(nproc) (#8699)Zaoqi1-1/+1
2019-07-29Rename guiScrollBar to GUIScrollBarDS-Minetest8-22/+22
2019-07-29ContentCAO: Fix broken attachments on join (#8701)SmallJoker9-117/+164
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
2019-07-29lua_api.txt clarifications regarding mapgen object index IDs and handles. ↵Beha1-11/+16
(#8713)
2019-07-28guiScrollBar: move directly to clicked pos if clicked into trayDS-Minetest2-41/+22
2019-07-27Check for 'action' field in ABMs & LBMsSmallJoker2-0/+10
2019-07-27Prefix RecipePriority elements with PRIORITY_Paul Ouellette2-17/+17
2019-07-27Initialize priority in CraftDefinition constructorsPaul Ouellette2-62/+94
The priority is used by getCraftResult, which may be used before initHash is called.
2019-07-27minimal: Move get_craft_result tests to test modPaul Ouellette3-62/+49
2019-07-26Fix missing item images clipping in formspecs (#8652)Pierre-Yves Rollo1-3/+24
* Fix clipping of itemimage * Code style * More code styling
2019-07-26Document 'wield_item' entity property (#8694)Alex1-1/+3