summaryrefslogtreecommitdiffstats
path: root/src/Simulator/FireSimulator.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Always use relative coordinates in AddBlockTiger Wang2020-08-021-6/+7
| | | | | + Pass block, use relatives * Fixes everything immediately converting abs back to rel and getting block, when these data were already available
* Add WakeUp/AddBlock distinctionTiger Wang2020-08-021-2/+1
| | | | | | * WakeUp is for singular changes (block breaking for example). The simulator should check blocks around the position and discover other affected blocks as it sees fit * AddBlock is for when you know a whole area is to be updated; chunk loading, or area wakeups for example + Prepares for correct handling of destroyed blocks after removal of SolidBlockHandler in the redstone simulator
* Pulled the BlockID and BlockInfo headers from Globals.h. (#4591)Mattes D2020-04-031-0/+1
| | | | | | | | | The BlockID.h file was removed from Globals.h and renamed to BlockType.h (main change) The BlockInfo.h file was removed from Globals.h (main change) The ENUM_BLOCK_ID and ENUM_ITEM_ID enum names were replaced with ENUM_BLOCK_TYPE and ENUM_ITEM_TYPE (cosmetics) The various enums, such as eDimension, eDamageType and eExplosionSource were moved from BlockType.h to Defines.h, together with the helper functions for converting between them and strings (StringToDimension et al.) (minor) Many inline functions were moved from headers to their respective cpp files, so that BlockType.h could be included only into the cpp file, rather than the header. That broke our tests a bit, since they pick bits and pieces out of the main code and provide stubs for the rest; they had to be re-stubbed and re-verified. eMonsterType values are no longer tied to E_ITEM_SPAWN_EGG_META_* values
* Moved growing from cWorld / cChunk to cBlockHandler descendants.Mattes D2019-10-281-4/+4
|
* Changed int parameters to vector parameters in cCuboid and simulators (#3874)Lane Kolbly2017-08-171-1/+1
|
* Removed unneeded includes (#3902)Lukas Pioch2017-08-061-1/+0
|
* Clang 5.0 fixesLukas Pioch2017-05-211-1/+1
| | | | | - Added override keyword - Removed inherited member variables
* Bulk clearing of whitespaceLogicParrot2016-02-051-7/+7
|
* Unified the doxy-comment format.Mattes D2015-07-311-10/+9
|
* Initial convertion of a_Dt to std::chronoTycho2015-01-111-1/+1
| | | | also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay
* Cleaned up simulatorsTiger Wang2014-10-251-1/+1
|
* Possibly decoupled IncrementalRedstoneSimulator from the rest of the serverTycho2014-09-111-1/+1
| | | | THis wil hopefully allow for unit testing
* converted commneted paramater names to the unused macroTycho Bickerstaff2013-12-221-1/+1
|
* Piston is now warnings cleanTycho Bickerstaff2013-12-211-1/+1
|
* Finished MergeSamuel Barney2013-12-051-2/+2
|
* Made suggested changesSamuel Barney2013-12-041-1/+1
|
* Moved source to srcAlexander Harkness2013-11-241-0/+75