Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2019-09-06 | Separated chunk generator from world / plugin interfaces. | Mattes D | 1 | -2/+2 | |
The generator now only takes care of servicing synchronous "GetChunk(X, Y)" and "GetBiomes(X, Y)" requests. | |||||
2019-08-11 | Added null check for position (#4366) | Lukas Pioch | 1 | -0/+5 | |
2019-07-28 | Check for nil in cWorld:SpawnSplitExperienceOrbs binding (#4354) | Mark Asp | 1 | -1/+6 | |
Adds explicit nil check for 'position' parameter to prevent crashes if invalid. Fixes #4352 | |||||
2018-08-02 | Experience orb (#4259) | changyong guo | 1 | -0/+80 | |
* Replace cWorld::FindClosesPlayer with cWorld::DoWithClosestPlayer * Implement experience reward splitting into the orb sizes used in vanilla * Modified speed calculation in cExpOrb::Tick to make the orbs fly towards the player Fixes #4216 | |||||
2018-07-27 | cWorld: Manually bind deprecated broadcast functions (#4265) | peterbell10 | 1 | -53/+266 | |
Ref: https://github.com/cuberite/cuberite/pull/4264#discussion_r204769193 | |||||
2018-07-26 | CheckBasicStyle: Check number of empty lines between functions (#4267) | peterbell10 | 1 | -1/+0 | |
Add check for number of empty lines between functions and fix the corresponding failures | |||||
2018-07-24 | Broadcast refactor (#4264) | peterbell10 | 1 | -2/+1 | |
* Move Broadcast functions from cChunkMap to cBroadcaster - Remove cBroadcastInterface in favour of cBroadcaster. - cChunk: Remove broadcast functions. * resurect broadcast interface * Absorb cBroadcaster into cWorld. Removes the need for forwarding the function calls. * Improve const-correctness * Use Int8 instead of char + Comment `ForClients` functions * Improve comments * Broadcaster: Rename ForClients functions | |||||
2018-05-02 | Prefer static_cast to reinterpret_cast (#4223) | peterbell10 | 1 | -1/+1 | |
* Change reinterpret_cast -> static_cast wherever possible * Remove more unnecessary `const_cast`s. reinterpret_casts should be avoided for the same reason as c-style casts - they don't do any type-checking. reinterpret_cast was mainly being used for down-casting in inheritance hierarchies but static_cast works just as well while also making sure that there is actually an inheritance relationship there. | |||||
2017-09-19 | Removed UTF-8 BOM (#4033) | Lukas Pioch | 1 | -1/+1 | |
2017-09-11 | Replace ItemCallbacks with lambdas (#3993) | peterbell10 | 1 | -3/+3 | |
2017-09-02 | Revert "Replace ItemCallbacks with lambdas (#3948)" | LogicParrot | 1 | -3/+3 | |
This reverts commit 496c337cdfa593654018c171f6a74c28272265b5. | |||||
2017-09-01 | Replace ItemCallbacks with lambdas (#3948) | peterbell10 | 1 | -3/+3 | |
2017-08-25 | Add cUUID class (#3871) | peterbell10 | 1 | -1/+49 | |
2017-07-12 | Remove double delete of PrepareChunk lua callback (#3844) | peterbell10 | 1 | -29/+16 | |
2017-07-07 | Added bed entity (#3823) | Lukas Pioch | 1 | -0/+1 | |
* Added bed entity * Export cBedEntity to lua * Set color of bed through item damage value * Added bed entity to APIDoc * NBT: Added loading and saving * Crafting recipes for the colored beds | |||||
2016-08-21 | cLuaState: Added template to push multiple values in a single call. (#3331) | Mattes D | 1 | -10/+3 | |
2016-08-18 | Fix cWorld:QueueTask() Lua's binding | ElNounch | 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 | |||||
2016-08-14 | Fixed cWorld:ChunkStay bindings. (#3319) | Mattes D | 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. | |||||
2016-06-27 | Converted cLuaState::cCallbackPtr into a UniquePtr. | Mattes D | 1 | -2/+2 | |
2016-06-27 | LuaState: Implemented proper locking for cCallback. | Mattes D | 1 | -1/+3 | |
2016-06-27 | Changed world tasks to use cLuaState::cCallback. | Mattes D | 1 | -67/+38 | |
2016-03-21 | Revert "Lua callback" | Mattes D | 1 | -38/+67 | |
2016-03-17 | Changed world tasks to use cLuaState::cCallback. | Mattes D | 1 | -67/+38 | |
2016-02-05 | Bulk clearing of whitespace | LogicParrot | 1 | -11/+11 | |
2016-01-02 | Fix typo (ammount) | Arnaud Meuret | 1 | -3/+3 | |
2015-12-18 | Revised the explosion-related Lua API and docs. | Mattes D | 1 | -34/+128 | |
Fixes #2746. | |||||
2015-11-03 | Implemented brewing | Lukas Pioch | 1 | -0/+2 | |
2015-10-04 | Fixed a race condition between chunk loader and generator. | Mattes D | 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. | |||||
2015-09-25 | Prepared ScheduleTask for threading refactor | Tiger Wang | 1 | -44/+11 | |
* Llama-ified and condensed Schedule/QueueTask - Removed hackery done with piston animations | |||||
2015-09-24 | fixed cast | tycho | 1 | -1/+1 | |
2015-09-24 | Add new "ForEach" function: ForEachLoadedChunk. | tycho | 1 | -0/+54 | |
2015-08-18 | Some warning fixes | Julian Laubstein | 1 | -6/+16 | |
2015-07-29 | Silenced and fixed many warning messages across multiple files. | Samuel Barney | 1 | -4/+4 | |
2015-06-24 | Buttons no longer click on when already on. Buttons now play sound when clicking off. | Hax52 | 1 | -1/+1 | |
2015-05-30 | Made cLightingThread own its callbacks | tycho | 1 | -2/+1 | |
2015-05-23 | TryGetHeight returns a bool | Alexander Harkness | 1 | -1/+1 | |
should fix #2099 | |||||
2015-05-19 | Added LuaState support for all integral types | tycho | 1 | -1/+1 | |
All so added error handling for out of range values | |||||
2015-05-13 | Moved cWorld manual bindings out into a separate file. | Mattes D | 1 | -0/+588 | |