Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix cWorld:QueueTask() Lua's binding | ElNounch | 2016-08-18 | 1 | -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 | ||||
* | Fixed cWorld:ChunkStay bindings. (#3319) | Mattes D | 2016-08-14 | 1 | -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. | ||||
* | Converted cLuaState::cCallbackPtr into a UniquePtr. | Mattes D | 2016-06-27 | 1 | -2/+2 |
| | |||||
* | LuaState: Implemented proper locking for cCallback. | Mattes D | 2016-06-27 | 1 | -1/+3 |
| | |||||
* | Changed world tasks to use cLuaState::cCallback. | Mattes D | 2016-06-27 | 1 | -67/+38 |
| | |||||
* | Revert "Lua callback" | Mattes D | 2016-03-21 | 1 | -38/+67 |
| | |||||
* | Changed world tasks to use cLuaState::cCallback. | Mattes D | 2016-03-17 | 1 | -67/+38 |
| | |||||
* | Bulk clearing of whitespace | LogicParrot | 2016-02-05 | 1 | -11/+11 |
| | |||||
* | Fix typo (ammount) | Arnaud Meuret | 2016-01-02 | 1 | -3/+3 |
| | |||||
* | Revised the explosion-related Lua API and docs. | Mattes D | 2015-12-18 | 1 | -34/+128 |
| | | | | Fixes #2746. | ||||
* | Implemented brewing | Lukas Pioch | 2015-11-03 | 1 | -0/+2 |
| | |||||
* | Fixed a race condition between chunk loader and generator. | Mattes D | 2015-10-04 | 1 | -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. | ||||
* | Prepared ScheduleTask for threading refactor | Tiger Wang | 2015-09-25 | 1 | -44/+11 |
| | | | | | * Llama-ified and condensed Schedule/QueueTask - Removed hackery done with piston animations | ||||
* | fixed cast | tycho | 2015-09-24 | 1 | -1/+1 |
| | |||||
* | Add new "ForEach" function: ForEachLoadedChunk. | tycho | 2015-09-24 | 1 | -0/+54 |
| | |||||
* | Some warning fixes | Julian Laubstein | 2015-08-18 | 1 | -6/+16 |
| | |||||
* | Silenced and fixed many warning messages across multiple files. | Samuel Barney | 2015-07-29 | 1 | -4/+4 |
| | |||||
* | Buttons no longer click on when already on. Buttons now play sound when clicking off. | Hax52 | 2015-06-24 | 1 | -1/+1 |
| | |||||
* | Made cLightingThread own its callbacks | tycho | 2015-05-30 | 1 | -2/+1 |
| | |||||
* | Merge branch 'master' into PreventNewWarnings | tycho | 2015-05-23 | 1 | -1/+1 |
|\ | |||||
| * | TryGetHeight returns a bool | Alexander Harkness | 2015-05-23 | 1 | -1/+1 |
| | | | | | | should fix #2099 | ||||
* | | Added LuaState support for all integral types | tycho | 2015-05-19 | 1 | -1/+1 |
|/ | | | | All so added error handling for out of range values | ||||
* | Moved cWorld manual bindings out into a separate file. | Mattes D | 2015-05-13 | 1 | -0/+588 |