summaryrefslogtreecommitdiffstats
path: root/src/Generating/ChunkGenerator.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Deleted BiomeDef.h and ChunkDef.h from Globals.h (#4885)KingCol132020-09-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Removed BiomeDef.h * Removed ChunkDef.h from Globals.h * Added to CONTRIBUTORS. * Re-added empty last line to Globals.h * Included stddef and StringUtils in BiomeDef.h * Fixed build tools compiling. It compiles, but at what cost? * Added include to src/Generating/Trees.h * Include added in ChunkGeneratorThread.h * Moved rearranged includes in LineBlockTracer.cpp * Re-arrange headers in ChunkInterface.cpp * Included ChunkDef.h in Path.h * Included ChunkDef.h in NBTChunkSerializer.h * Rearranged included and added required includes to headers. * Removed unnecessary included in StringUtils.h.
* 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
* ChunkGenerator: Changed to use cChunkCoords.Mattes D2019-09-081-2/+2
|
* Moved the generator defaults to ComposableGenerator.Mattes D2019-09-061-0/+3
|
* Separated chunk generator from world / plugin interfaces.Mattes D2019-09-061-159/+25
| | | | The generator now only takes care of servicing synchronous "GetChunk(X, Y)" and "GetBiomes(X, Y)" requests.
* cWorld: Move Initialization from Start to the constructor.peterbell102017-10-211-2/+4
| | | | Start now does nothing more than launch the world's threads.
* Remove double includes part 2 (#3890)peterbell102017-08-031-1/+0
|
* Clang 5.0 fixesLukas Pioch2017-05-211-1/+1
| | | | | - Added override keyword - Removed inherited member variables
* Bulk clearing of whitespaceLogicParrot2016-02-051-23/+23
|
* Unified the doxy-comment format.Mattes D2015-07-311-16/+11
|
* Added a cWorld:PrepareChunk function.Mattes D2014-12-101-9/+38
| | | | | It prepares the chunk - loads or generates it and lights it. The spawn prepare process uses this function.
* Rewritten chunk status to specify whether the chunk is in queue.Mattes D2014-09-051-0/+4
| | | | This fixes #1370.
* re-add the missing "s" too cChunkCoordsWithBoolListLO1ZB2014-09-031-4/+4
|
* hopefully the last commit for removing y-coord from chunks. :)LO1ZB2014-09-031-5/+5
|
* remove y-coord from chunksLO1ZB2014-08-281-2/+2
|
* Removed redundant semicolons and re-added warningarchshift2014-07-241-1/+1
|
* Decoupled cChunkGenerator from cWorld and cRoot.madmaxoft2014-01-101-7/+56
| | | | Now the chunk generator can be used by other projects without depending on the two hugest structures in MCS.
* Moved source to srcAlexander Harkness2013-11-241-0/+113