summaryrefslogtreecommitdiff
path: root/src/script/lua_api
AgeCommit message (Collapse)Author
2019-03-01Fix particle spawners not visible since CSM spawner implementation (#8289)Loïc Blot
* Drop the ID mapper, use a big u64 instead. This will permit to resync server ids properly with the manager code * Modernize some code parts (std::unordered_map, auto) * generate id on client part on U32_MAX + 1 ids, lower are for server ids
2019-02-26Revert "Revert CSM particles commit to fix particle spawner bug for 5.0.0 ↵Loïc Blot
(#8288)" This reverts commit 01cd63bd3bca0192dab2834faf414b022706a77e.
2019-02-26Revert CSM particles commit to fix particle spawner bug for 5.0.0 (#8288)Paramat
Reverts 5dab7426451842793b183fbd961ad2ae83c8acbd "[CSM] Add functions to create particles and particlespawners."
2019-02-14Fix extract zip writing lowercase files (#8221)rubenwardy
2019-02-10Consistent HP and damage types (#8167)SmallJoker
Remove deprecated HUDs and chat message handling. Remove unused m_damage variable (compat break). HP: s32 for setter/calculations, u16 for getter.
2019-01-31Content store: Fix storage leak by storing screenshots in cache (#8137)rubenwardy
2019-01-26Fix pkgmgr game install with RUN_IN_PLACE=0 (#8113)Paul Ouellette
2019-01-06Fix various bugs (Anticheat, Lua helpers) (#8013)SmallJoker
* Fix various bugs (Anticheat, Lua helpers) Anticheat: Use camera position instead of player position for shoot line calculations Lua helpers: Increase 'i' to not overwrite earlier added table values * Remove lag compensation * * 1.5 for larger selection boxes
2018-12-31Add minetest.load_area (#8023)HybridDog
2018-12-24CSM: add requested CSM_RF_READ_PLAYERINFO (#8007)Loïc Blot
* CSM: add requested CSM_RF_READ_PLAYERINFO This new CSM limit permit to limit PLAYERINFO read from server. It affects get_player_names call
2018-12-21reportMetadataChange; Silence clang warningsSmallJoker
2018-12-11Fix ContentDB packages timing out by using download_file instead (#7891)rubenwardy
2018-12-04Send only changed node metadata to clients instead of whole mapblock (#5268)SmallJoker
Includes newer style changes and fixes by est31 Improve the block position de-serialization Add type NodeMetadataMap
2018-11-28Move client-specific files to 'src/client' (#7902)Quentin Bazin
Update Android.mk Remove 'src/client' from include_directories
2018-11-28Add Lua methods 'set_rotation()' and 'get_rotation()' (#7395)CoderForTheBetter
* Adds Lua methods 'set_rotation()' and 'get_rotation'. Also changed some method names to be more clear. Instead of an f32 being sent over network for yaw, now a v3f is sent for rotation on xyz axes. Perserved Lua method set_yaw/setyaw so that old mods still work, other wise to set yaw they would need to switch to set_rotation(0, yaw, 0).
2018-11-08Content store: Add setting to filter non-free packages (#7766)rubenwardy
Defaulting to hiding in order to help with Debian/etc distribution. This could be changed at a later date.
2018-10-24clear_craft: Return false if recipe not found, don't throw error (#7804)Paramat
2018-10-10 Add core.remove_detached_inventory (#7684)SmallJoker
Breaks backwards compatibility for good Bump protocol version
2018-09-11markAliasDeprecated: Fix MSVC buildSmallJoker
2018-09-08Particles: Make collision with objects optional (#7682)Paramat
Also set it to false for node dig particles, as they are often created and high in number. Improve particle documentation.
2018-08-16Raycast: export exact pointing location (#6304)Dániel Juhász
* Return intersection point in node coordinates. * Clarify 'intersection_point' documentation
2018-08-05Replace auth.txt with SQLite auth database (#7279)Ben Deutsch
* Replace auth.txt with SQLite auth database
2018-08-02LuaVoxelManip: Throw warning or error instead of silently doing nothing (#7567)HybridDog
Error on missing parameter. Warning when using a method on the incorrect type of LuaVoxelManip.
2018-07-29Add protocol_version and supported package types to ContentDB urlsrubenwardy
2018-07-08Lua templating reading (part 4): s16, v2s16, v2f (#7512)Loïc Blot
2018-07-01Log deprecated Lua function calls (#7491)SmallJoker
2018-06-30Modernize lua read (part 2 & 3): C++ templating assurance (#7410)Loïc Blot
* Modernize lua read (part 2 & 3): C++ templating assurance Implement the boolean reader Implement the string reader Also remove unused & unimplemented script_error_handler Add a reader with default value
2018-06-30Fix memory leaks in mod storage (#7500)red-001
2018-06-30Fix world deletion (#7494)Vitaliy
* Fix world deletion
2018-06-30Fix a memleak before assertion in l_get_mod_storageLoic Blot
2018-06-27Fix mod channels crash (#7481)red-001
2018-06-26Rename CSM flavours to restrictionsSmallJoker
& Satisfy LINT
2018-06-18Update to new ContentDB APIrubenwardy
2018-06-10Fix narrow/utf8 difference in incoming/outcoming messagesnumber Zero
2018-06-04Modernize lua read (part 1): C++ templating insurance (#7394)Loïc Blot
* Modernize lua read (part 1): C++ templating assurance Implement the float reader
2018-05-31Fix isNan on setYaw Lua call (#7380)Loïc Blot
* Fix isNan on setYaw Lua call
2018-05-20Fix missing ignore textures (#7326)you
2018-05-20Add screenshots to online content browserrubenwardy
2018-05-16Add updating to online content browserrubenwardy
2018-04-30Allow damage for attached objects, add attach/detach callbacks (#6786)SmallJoker
* Allow right-clicking on attached LuaEntities
2018-04-30MetaDataRef: Add contains() and get() (#7214)rubenwardy
2018-04-19Add online content repositoryrubenwardy
Replaces mods and texture pack tabs with a single content tab
2018-04-07Biome API / dungeons: Add biome-defined dungeon nodesParamat
Add new biome fields 'node_dungeon', 'node_dungeon_alt', 'node_dungeon_stair'. If 'node_dungeon' is not defined dungeons fall back to classic behaviour. Remove messy and imprecise dungeon material code from 'generateBiomes()'. Code deciding dungeon materials is now in 'generateDungeons()' and uses the biome at mapchunk centre for more precision. Remove hardcoded 'MG_STONE' types as long intended.
2018-04-06Add player:get_meta(), deprecate player attributes (#7202)rubenwardy
* Add player:get_meta(), deprecate player attributes
2018-04-05Biome API / cavegen: Add definable cave liquid for a biome (#7192)Paramat
Add 'node_cave_liquid' as a new field in biome registration. If field is absent cave liquids fall back to classic behaviour.
2018-04-03Fix last clang-tidy reported problems for performance-type-promotion-in-math-fnLoic Blot
Based on https://travis-ci.org/minetest/minetest/jobs/361810382 output Also fix 2 missing copyright notices
2018-04-02Fix many issues reported by clang-tidy (#7189)Loïc Blot
* Fix many issues reported by clang-tidy We have many issues in code related to some performance to float <-> double. Clang-tidy reported it in performance-type-promotion-in-math-fn I fixed many of them. It's not ready for a promote to blocking Also fix some value which should be const-ref
2018-03-31ObjectRef: Add add_velocity() (#3208)you
Allow changing the velocity of objects relatively to their current velocity
2018-03-28Load dependencies and description from mod.confAndrew Ward
2018-03-28Add reasons to on_dieplayer and on_hpchangeAndrew Ward