summaryrefslogtreecommitdiffstats
path: root/src/Bindings/LuaWindow.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Reverted moving Lua to C++.Mattes D2024-03-151-1/+4
|
* Chest, weather, crash, and miscellaneous fixes (#5215)Tiger Wang2021-04-301-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Respect return value of cLuaWindow's OnClicked handler (#4322)DaPorkchop_2019-06-111-1/+2
|
* Force all headers other than "Globals.h" to be included with relative paths (#4269)peterbell102018-08-291-2/+2
| | | | | | | Closes #4236 CMake now creates a header file in the build directory under the path "include/Globals.h" which just includes "src/Globals.h" with an absolute path. Then instead of adding "src/" to the include directories, it adds "include/". #include "Globals.h" still works by including the build generated file and any other src-relative path will not work.
* Replace ItemCallbacks with lambdas (#3993)peterbell102017-09-111-11/+4
|
* Revert "Replace ItemCallbacks with lambdas (#3948)"LogicParrot2017-09-021-4/+11
| | | | This reverts commit 496c337cdfa593654018c171f6a74c28272265b5.
* Replace ItemCallbacks with lambdas (#3948)peterbell102017-09-011-11/+4
|
* Add cLuaWindow OnClicked Callback (#3901)Lane Kolbly2017-08-171-1/+35
|
* Fixes problems with windows:Lukas Pioch2017-06-051-0/+20
| | | | | - Changed cPlayer:OpenWindow to accept a ref, tolua adds a nil check - Close open lua window in destructor, to avoid dangling pointers
* LuaState: Fixed race condition in ref tracking. (#3529)Mattes D2017-01-091-1/+1
|
* Converted cLuaState::cCallbackPtr into a UniquePtr.Mattes D2016-06-271-4/+4
|
* Changed cLuaWindow callbacks to use cLuaState::cCallback.Mattes D2016-06-271-56/+39
|
* Revert "Lua callback"Mattes D2016-03-211-39/+56
|
* Changed cLuaWindow callbacks to use cLuaState::cCallback.Mattes D2016-03-171-56/+39
|
* Bulk clearing of whitespaceLogicParrot2016-02-051-9/+9
|
* CheckBasicStyle: checks spaces around * and &.Mattes D2015-05-091-3/+3
|
* C++11 and function rename.Howaner2014-12-171-0/+18
|
* En masse NULL -> nullptr replaceTiger Wang2014-10-231-7/+7
|
* Removed a few unnessicary includesTycho2014-09-261-1/+0
|
* Normalized comments.madmaxoft2014-07-171-2/+2
| | | | | This was mostly done automatically and then visually inspected for obvious errors. All //-style comments should have a 2-space separation from the code, and 1 space after the comment sign.
* Fix Undefined behavior at Bindings/LuaWindow line 32worktycho2013-12-091-1/+4
|
* Moved bindings-related to a Bindings subfolder.madmaxoft2013-12-081-0/+185
Ref.: #407