summaryrefslogtreecommitdiffstats
path: root/src/Bindings/ManualBindings_World.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-08-21cLuaState: Added template to push multiple values in a single call. (#3331)Mattes D1-10/+3
2016-08-18Fix cWorld:QueueTask() Lua's bindingElNounch1-2/+1
Manual binding expect three parameters : self, a number, a function And then read self and a function... Removing the extra check for the broken second argument
2016-08-14Fixed cWorld:ChunkStay bindings. (#3319)Mattes D1-14/+15
Introduced new cLuaState::cOptionalCallback for representing optional callbacks (nil from Lua side). Introduced new cLuaState::cStackTable class for easy access to Lua table's elements. Fixes #3305.
2016-06-27Converted cLuaState::cCallbackPtr into a UniquePtr.Mattes D1-2/+2
2016-06-27LuaState: Implemented proper locking for cCallback.Mattes D1-1/+3
2016-06-27Changed world tasks to use cLuaState::cCallback.Mattes D1-67/+38
2016-03-21Revert "Lua callback"Mattes D1-38/+67
2016-03-17Changed world tasks to use cLuaState::cCallback.Mattes D1-67/+38
2016-02-05Bulk clearing of whitespaceLogicParrot1-11/+11
2016-01-02Fix typo (ammount)Arnaud Meuret1-3/+3
2015-12-18Revised the explosion-related Lua API and docs.Mattes D1-34/+128
Fixes #2746.
2015-11-03Implemented brewingLukas Pioch1-0/+2
2015-10-04Fixed a race condition between chunk loader and generator.Mattes D1-2/+2
When using ChunkWorx to generate multiple chunks, the server would sometimes fail an assert because it would generate a chunk even when it was successfully loaded. This was caused by chunks queued in cWorld's m_SetChunkDataQueue and thus being marked as "InQueue" although they were already loaded. Solved by adding a new parameter to chunk coord callbacks specifying whether the operation succeeded or failed, and using that instead of the chunk presence flag to decide whether to generate or not.
2015-09-25Prepared ScheduleTask for threading refactorTiger Wang1-44/+11
* Llama-ified and condensed Schedule/QueueTask - Removed hackery done with piston animations
2015-09-24fixed casttycho1-1/+1
2015-09-24Add new "ForEach" function: ForEachLoadedChunk.tycho1-0/+54
2015-08-18Some warning fixesJulian Laubstein1-6/+16
2015-07-29Silenced and fixed many warning messages across multiple files.Samuel Barney1-4/+4
2015-06-24Buttons no longer click on when already on. Buttons now play sound when clicking off.Hax521-1/+1
2015-05-30Made cLightingThread own its callbackstycho1-2/+1
2015-05-23TryGetHeight returns a boolAlexander Harkness1-1/+1
should fix #2099
2015-05-19Added LuaState support for all integral typestycho1-1/+1
All so added error handling for out of range values
2015-05-13Moved cWorld manual bindings out into a separate file.Mattes D1-0/+588