1
0
cuberite-2a/src/Generating
Mattes D 01b8ed5295
Pulled the BlockID and BlockInfo headers from Globals.h. (#4591)
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
2020-04-03 08:57:01 +02:00
..
BioGen.cpp BiomeGen: Changed to use cChunkCoords params. 2019-09-08 20:21:49 +02:00
BioGen.h BiomeGen: Changed to use cChunkCoords params. 2019-09-08 20:21:49 +02:00
Caves.cpp Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
Caves.h Clang 5.0 fixes 2017-05-21 12:19:06 +02:00
ChunkDesc.cpp Refactored more of Entities and BlockEntities to use Vector3. (#4403) 2019-09-29 14:59:24 +02:00
ChunkDesc.h Generator: Added repeatability test. 2019-09-07 13:38:07 +02:00
ChunkGenerator.cpp ChunkGenerator: Changed to use cChunkCoords. 2019-09-08 20:21:49 +02:00
ChunkGenerator.h Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
CMakeLists.txt Force all headers other than "Globals.h" to be included with relative paths (#4269) 2018-08-29 01:51:25 +01:00
CompoGen.cpp CompoGenNether: Fixed different data produced in Linux Release builds. 2019-09-07 13:38:07 +02:00
CompoGen.h Clang 5.0 fixes 2017-05-21 12:19:06 +02:00
CompoGenBiomal.cpp Moved the generator defaults to ComposableGenerator. 2019-09-06 16:12:33 +02:00
CompoGenBiomal.h Merge remote-tracking branch 'origin-master' into c++11 2014-11-25 23:03:33 +00:00
ComposableGenerator.cpp ChunkGenerator: Changed to use cChunkCoords. 2019-09-08 20:21:49 +02:00
ComposableGenerator.h ChunkGenerator: Changed to use cChunkCoords. 2019-09-08 20:21:49 +02:00
CompositedHeiGen.h ShapeGen, HeiGen: Changed to use cChunkCoords. 2019-09-08 20:21:49 +02:00
DistortedHeightmap.cpp ShapeGen, HeiGen: Changed to use cChunkCoords. 2019-09-08 20:21:49 +02:00
DistortedHeightmap.h ShapeGen, HeiGen: Changed to use cChunkCoords. 2019-09-08 20:21:49 +02:00
DungeonRoomsFinisher.cpp Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
DungeonRoomsFinisher.h Merge remote-tracking branch 'origin-master' into c++11 2014-11-25 23:03:33 +00:00
EndGen.cpp ShapeGen, HeiGen: Changed to use cChunkCoords. 2019-09-08 20:21:49 +02:00
EndGen.h ShapeGen, HeiGen: Changed to use cChunkCoords. 2019-09-08 20:21:49 +02:00
FinishGen.cpp Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
FinishGen.h Generate cacti and sugarcane with different heights (#4137) 2018-05-03 19:25:08 +01:00
GridStructGen.cpp PieceGenerator: Added rotation-aware vertical connectors. 2017-02-13 16:50:35 +01:00
GridStructGen.h Remove smart pointer macros 2017-07-21 14:41:51 +01:00
HeiGen.cpp ShapeGen, HeiGen: Changed to use cChunkCoords. 2019-09-08 20:21:49 +02:00
HeiGen.h ShapeGen, HeiGen: Changed to use cChunkCoords. 2019-09-08 20:21:49 +02:00
IntGen.h CheckBasicStyle: Check number of empty lines between functions (#4267) 2018-07-26 22:24:36 +01:00
MineShafts.cpp Removed coord-based API from cCuboid. (#4362) 2019-08-09 03:13:15 +02:00
MineShafts.h Clang 5.0 fixes 2017-05-21 12:19:06 +02:00
Noise3DGenerator.cpp ChunkGenerator: Changed to use cChunkCoords. 2019-09-08 20:21:49 +02:00
Noise3DGenerator.h ChunkGenerator: Changed to use cChunkCoords. 2019-09-08 20:21:49 +02:00
PieceGeneratorBFSTree.cpp Add a formatting function for Vector3 (#4282) 2018-09-24 21:33:39 +01:00
PieceGeneratorBFSTree.h Removed unneeded includes (#3902) 2017-08-06 20:57:44 +01:00
PiecePool.cpp Deal with covered switches consistently (#4161) 2018-02-04 23:07:12 +00:00
PiecePool.h Remove smart pointer macros 2017-07-21 14:41:51 +01:00
PieceStructuresGen.cpp Force all headers other than "Globals.h" to be included with relative paths (#4269) 2018-08-29 01:51:25 +01:00
PieceStructuresGen.h Removed unneeded includes (#3902) 2017-08-06 20:57:44 +01:00
Prefab.cpp Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
Prefab.h Gen: Moved PiecePool into a separate file. 2017-05-04 09:49:30 +02:00
PrefabPiecePool.cpp Fix building with clang 8.0 (#4346) 2019-08-11 10:39:43 +01:00
PrefabPiecePool.h Remove smart pointer macros 2017-07-21 14:41:51 +01:00
PrefabStructure.cpp ShapeGen, HeiGen: Changed to use cChunkCoords. 2019-09-08 20:21:49 +02:00
PrefabStructure.h Gen: Moved PiecePool into a separate file. 2017-05-04 09:49:30 +02:00
ProtIntGen.h CheckBasicStyle: Check number of empty lines between functions (#4267) 2018-07-26 22:24:36 +01:00
Ravines.cpp CheckBasicStyle: Check number of empty lines between functions (#4267) 2018-07-26 22:24:36 +01:00
Ravines.h CheckBasicStyle: Check number of empty lines between functions (#4267) 2018-07-26 22:24:36 +01:00
RoughRavines.cpp Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
RoughRavines.h Clang 5.0 fixes 2017-05-21 12:19:06 +02:00
ShapeGen.cpp ShapeGen, HeiGen: Changed to use cChunkCoords. 2019-09-08 20:21:49 +02:00
StructGen.cpp Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
StructGen.h CheckBasicStyle: Check number of empty lines between functions (#4267) 2018-07-26 22:24:36 +01:00
Trees.cpp Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
Trees.h Improved large jungle and acacia tree generation (#4413) 2019-12-22 23:38:11 +01:00
TwoHeights.cpp ShapeGen, HeiGen: Changed to use cChunkCoords. 2019-09-08 20:21:49 +02:00
TwoHeights.h Merge remote-tracking branch 'origin-master' into c++11 2014-11-25 23:03:33 +00:00
VerticalLimit.cpp Fix building with clang 8.0 (#4346) 2019-08-11 10:39:43 +01:00
VerticalLimit.h Gen: Moved PiecePool into a separate file. 2017-05-04 09:49:30 +02:00
VerticalStrategy.cpp ShapeGen, HeiGen: Changed to use cChunkCoords. 2019-09-08 20:21:49 +02:00
VerticalStrategy.h Gen: Moved PiecePool into a separate file. 2017-05-04 09:49:30 +02:00
VillageGen.cpp Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
VillageGen.h Remove smart pointer macros 2017-07-21 14:41:51 +01:00