1
0
Fork 0
cuberite-2a/src/Bindings
Tiger Wang 9b97d63f8f
Chest, weather, crash, and miscellaneous fixes (#5215)
* Alpha-sort cChestEntity

* Chests: use SendUpdateBlockEntity

* Pathfinder: fix out of range Y

* 1.13: correct weather packet ID

* Chests: fix neighbour scanner

+ Add OnAddToWorld and overload to scan neighbours there, instead of in the constructor/OnUse. This fixes hoppers accessing newly loaded double chests and seeing a null m_Neighbour, thus thinking its a single chest.
* Fix typo in cross coords computation.
* Simplify hopper logic.

* Block entities: ASSERT that type is correct

If you match the block type first before calling DoWithBlockEntity, the corresponding block entity must either be empty or correspond to the block type.

* Chunk: fix some forgotten PendingSendBE cleanup

+ Add cleanup in SetAllData, WriteBlockArea
- Remove RemoveBlockEntity (used once), HasBlockEntity (not used)

* Replace MakeIndex with MakeIndexNoCheck

* Remove extraneous MarkDirty in hopper & chests
2021-04-30 13:23:46 +00:00
..
.gitignore Added a Pure-Lua implementation for bindings generation. 2016-07-18 22:11:35 +02:00
AllToLua.bat ToLua now generates cLuaState::Push() and GetStackValue() 2015-05-12 09:20:54 +02:00
AllToLua.pkg Ender Crytal Fix and report proper cmake file for luabindingscheck fail (#5017) 2020-11-06 15:00:59 +00:00
AllToLua.sh ToLua now generates cLuaState::Push() and GetStackValue() 2015-05-12 09:20:54 +02:00
AllToLua_lua.bat ToLua now generates cLuaState::Push() and GetStackValue() 2015-05-12 09:20:54 +02:00
BindingsProcessor.lua Bindings: Allow coercion between Vector3 subtypes. (#4646) 2020-04-14 16:43:21 +02:00
BlockState.cpp Remove unused Temporary namespace 2020-12-21 00:11:34 +00:00
BlockState.h Remove unused Temporary namespace 2020-12-21 00:11:34 +00:00
BlockTypePalette.cpp Remove unused Temporary namespace 2020-12-21 00:11:34 +00:00
BlockTypePalette.h Remove unused Temporary namespace 2020-12-21 00:11:34 +00:00
BlockTypeRegistry.cpp Remove unused Temporary namespace 2020-12-21 00:11:34 +00:00
BlockTypeRegistry.h Remove unused Temporary namespace 2020-12-21 00:11:34 +00:00
CMakeLists.txt Upgrade to C++17 [CMake] (#4717) 2020-05-16 20:59:10 +01:00
CheckBindingsDependencies.lua Ender Crytal Fix and report proper cmake file for luabindingscheck fail (#5017) 2020-11-06 15:00:59 +00:00
DeprecatedBindings.cpp cBlockInfo: further cleanup (#5001) 2020-10-18 15:37:07 +00:00
DeprecatedBindings.h Style: Normalized to no spaces before closing parenthesis. 2014-07-21 17:40:43 +02:00
DiffAPIDesc.lua Changed int parameters to vector parameters in cCuboid and simulators (#3874) 2017-08-17 15:48:38 +02:00
LuaChunkStay.cpp Some emplace_back replacements (#5149) 2021-03-07 16:31:43 +00:00
LuaChunkStay.h Using Super. 2020-04-16 20:07:48 +00:00
LuaFunctions.h Fixed Clang 5.0 compile errors (#4085) 2017-12-21 11:36:58 +00:00
LuaJson.cpp Update submodules (#4727) 2020-05-09 15:51:15 +01:00
LuaJson.h Added a Json parser and serializer to Lua API. 2015-12-24 14:00:31 +01:00
LuaNameLookup.cpp Converted cLuaState::cTableRef to use cTrackedRef. 2016-08-13 21:16:21 +02:00
LuaNameLookup.h Converted cLuaState::cTableRef to use cTrackedRef. 2016-08-13 21:16:21 +02:00
LuaServerHandle.cpp Enable some more clang-tidy linter checks (#4738) 2020-05-14 22:15:35 +00:00
LuaServerHandle.h Remove smart pointer macros 2017-07-21 14:41:51 +01:00
LuaState.cpp Fix debug macro situation (#5114) 2021-01-26 09:41:55 +00:00
LuaState.h Change TimeOfDay to WorldDate (#5160) 2021-03-20 20:58:19 +00:00
LuaTCPLink.cpp Update mbedtls to 2.5.1 (#3964) 2017-08-30 15:00:06 +01:00
LuaTCPLink.h Remove smart pointer macros 2017-07-21 14:41:51 +01:00
LuaUDPEndpoint.cpp Enable some more clang-tidy linter checks (#4738) 2020-05-14 22:15:35 +00:00
LuaUDPEndpoint.h Remove smart pointer macros 2017-07-21 14:41:51 +01:00
LuaWindow.cpp Chest, weather, crash, and miscellaneous fixes (#5215) 2021-04-30 13:23:46 +00:00
LuaWindow.h Using Super. 2020-04-16 20:07:48 +00:00
ManualBindings.cpp Fix sending incorrect date values on world change 2021-04-12 22:35:07 +01:00
ManualBindings.h Unify DoWithBlockEntity (#5168) 2021-03-28 14:40:57 +01:00
ManualBindings_BlockArea.cpp Unify DoWithBlockEntity (#5168) 2021-03-28 14:40:57 +01:00
ManualBindings_Network.cpp Replaced cpp14::make_unique<> with std::make_unique<>. 2020-08-01 20:04:31 +01:00
ManualBindings_RankManager.cpp Force all headers other than "Globals.h" to be included with relative paths (#4269) 2018-08-29 01:51:25 +01:00
ManualBindings_World.cpp Fix sending incorrect date values on world change 2021-04-12 22:35:07 +01:00
Plugin.cpp Plugin reload <plugin_name> feature (#4942) 2020-09-27 23:15:03 +01:00
Plugin.h zlib -> libdeflate (#5085) 2021-01-11 16:39:43 +00:00
PluginLua.cpp zlib -> libdeflate (#5085) 2021-01-11 16:39:43 +00:00
PluginLua.h zlib -> libdeflate (#5085) 2021-01-11 16:39:43 +00:00
PluginManager.cpp Fix sending incorrect date values on world change 2021-04-12 22:35:07 +01:00
PluginManager.h zlib -> libdeflate (#5085) 2021-01-11 16:39:43 +00:00
tolua++.h Disabled a useless MSVC warning in Bindings.cpp. 2014-01-12 08:43:13 +01:00