1
0
Fork 0
cuberite-2a/src
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
..
Bindings Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
BlockEntities Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
Blocks Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
Entities Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
Generating Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
HTTP Force all headers other than "Globals.h" to be included with relative paths (#4269) 2018-08-29 01:51:25 +01:00
Items Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
Mobs Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
Noise Improved large jungle and acacia tree generation (#4413) 2019-12-22 23:38:11 +01:00
OSSupport Use a reasonable listen backlog value (#4597) 2020-04-02 16:05:07 +02:00
Protocol Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
Resources WebAdmin improvements (#4433) 2019-12-28 02:15:12 +02:00
Simulator Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
UI Inventory changes (#4561) 2020-03-28 13:52:40 +00:00
WorldStorage Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
mbedTLS++ Force all headers other than "Globals.h" to be included with relative paths (#4269) 2018-08-29 01:51:25 +01:00
AllocationPool.h Limit the size of cListAllocationPool's free list 2019-02-20 09:07:44 +00:00
BiomeDef.cpp CheckBasicStyle: Check number of empty lines between functions (#4267) 2018-07-26 22:24:36 +01:00
BiomeDef.h Remove double includes part 2 (#3890) 2017-08-03 15:34:19 +02:00
BlockArea.cpp Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
BlockArea.h Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
BlockInServerPluginInterface.h Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
BlockInfo.cpp Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
BlockInfo.h Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
BlockState.cpp Add ProtocolBlockTypePalette (#4391) 2019-09-22 22:57:54 +02:00
BlockState.h Add ProtocolBlockTypePalette (#4391) 2019-09-22 22:57:54 +02:00
BlockTracer.h Tracer replacement (#3704) 2017-05-11 13:34:36 +01:00
BlockType.cpp Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
BlockType.h Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
BlockTypePalette.cpp BlockTypePalette: Improved loading speed in MSVC Debug builds. 2020-02-24 09:37:40 +01:00
BlockTypePalette.h BlockTypePalette: Load from TSV or original reports' JSON. 2019-12-28 22:43:35 +01:00
BlockTypeRegistry.cpp BlockTypeRegistry: Added hint manipulation 2019-08-05 21:42:54 +02:00
BlockTypeRegistry.h Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
BoundingBox.cpp cBoundingBox: Fix tolua warning (#4361) 2019-08-08 19:49:00 +01:00
BoundingBox.h cBoundingBox: Fix tolua warning (#4361) 2019-08-08 19:49:00 +01:00
BrewingRecipes.cpp Ignore whitespace only lines in brewing and furnace recipes (#4332) 2019-06-11 13:39:44 +01:00
BrewingRecipes.h Minor cBrewingRecipes cleanup (#3731) 2017-05-28 20:08:23 +02:00
Broadcaster.cpp Fix building with clang 8.0 (#4346) 2019-08-11 10:39:43 +01:00
BuildInfo.h.cmake Added abilty to set build info 2014-09-10 16:07:00 +01:00
ByteBuffer.cpp Fix building with clang 8.0 (#4346) 2019-08-11 10:39:43 +01:00
ByteBuffer.h Add cUUID class (#3871) 2017-08-25 13:43:18 +01:00
CMakeLists.txt Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
ChatColor.cpp Refactored cChatColor 2014-07-19 11:09:39 -07:00
ChatColor.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
CheckBasicStyle.lua CheckBasicStyle: Check number of empty lines between functions (#4267) 2018-07-26 22:24:36 +01:00
Chunk.cpp Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
Chunk.h Lock hopper when powered by redstone (#4347) 2020-03-27 12:03:28 +00:00
ChunkData.cpp Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
ChunkData.h cChunk and cChunkData: Use vectors for block get and set functions (#4172) 2018-02-04 22:15:31 +00:00
ChunkDataCallback.h Limit the size of cListAllocationPool's free list 2019-02-20 09:07:44 +00:00
ChunkDef.h Improved large jungle and acacia tree generation (#4413) 2019-12-22 23:38:11 +01:00
ChunkGeneratorThread.cpp ChunkGenerator: Changed to use cChunkCoords. 2019-09-08 20:21:49 +02:00
ChunkGeneratorThread.h Separated chunk generator from world / plugin interfaces. 2019-09-06 16:12:33 +02:00
ChunkMap.cpp Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
ChunkMap.h Lock hopper when powered by redstone (#4347) 2020-03-27 12:03:28 +00:00
ChunkSender.cpp NBTChunkSerializer: Cleaned up interface. 2019-09-24 17:38:59 +02:00
ChunkSender.h Broadcast refactor (#4264) 2018-07-24 22:30:49 +01:00
ChunkStay.cpp Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
ChunkStay.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
ClientHandle.cpp Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
ClientHandle.h cClientHandle: Only allow m_State to increase (#4533) 2020-03-28 10:44:44 +00:00
Color.cpp Leather Armor can now be dyed. 2015-07-15 14:05:36 -06:00
Color.h Lua plugin cColor (#3833) 2017-07-12 12:30:43 +02:00
CommandOutput.cpp Add the fmt library (#4065) 2018-01-03 17:41:16 +00:00
CommandOutput.h CheckBasicStyle: Check number of empty lines between functions (#4267) 2018-07-26 22:24:36 +01:00
CompositeChat.cpp CompositeChat: Use shorter JSON format. 2016-12-16 00:07:23 +01:00
CompositeChat.h Fixed cCompositeChat's constructor LuaAPI bindings. 2016-09-25 12:42:05 +02:00
CraftingRecipes.cpp Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
CraftingRecipes.h Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
Cuberite.vcxproj.user Added working directory for x64 builds (#4037) 2017-09-20 19:01:46 +01:00
Cuboid.cpp Added more clamping operations to cCuboid. 2019-08-10 12:25:06 +02:00
Cuboid.h Added a basic PalettedBlockArea implementation (#4377) 2019-08-28 08:29:02 +02:00
DeadlockDetect.cpp Replace ItemCallbacks with lambdas (#3993) 2017-09-11 23:20:49 +02:00
DeadlockDetect.h Clang 5.0 fixes 2017-05-21 12:19:06 +02:00
Defines.cpp Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
Defines.h Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
EffectID.h Update tolua and export EffectID 2017-06-29 18:58:48 +02:00
Enchantments.cpp Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
Enchantments.h Minor changes (#3909) 2017-08-24 11:19:40 +02:00
Endianness.h Fixes compilation failures on MacOSX 10.10 2015-07-09 11:15:37 -06:00
FastRandom.cpp Remove double includes part 2 (#3890) 2017-08-03 15:34:19 +02:00
FastRandom.h Tentative fix for player-limit race condition (#3862) 2017-07-28 17:54:40 +01:00
ForEachChunkProvider.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
FunctionRef.h Stop cFunctionRef constructor from disabling default copy constructor. (#4173) 2018-07-24 22:30:05 +01:00
FurnaceRecipe.cpp Ignore whitespace only lines in brewing and furnace recipes (#4332) 2019-06-11 13:39:44 +01:00
FurnaceRecipe.h Smelting Gives Experience (#4094) 2018-04-11 07:46:11 +01:00
Globals.cpp Moved source to src 2013-11-24 14:19:41 +00:00
Globals.h Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
IniFile.cpp Use clang-tidy to check more code conventions (#4214) 2018-05-06 18:07:34 +01:00
IniFile.h Use clang-tidy to check more code conventions (#4214) 2018-05-06 18:07:34 +01:00
Inventory.cpp Replace buckets to the selected hotbar slot, rather than the first available. (#4580) 2020-04-02 12:42:15 +00:00
Inventory.h Replace buckets to the selected hotbar slot, rather than the first available. (#4580) 2020-04-02 12:42:15 +00:00
Item.cpp Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
Item.h Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
ItemGrid.cpp cItemGrid: Allocate storage lazily (#4083) 2018-01-21 18:45:13 +00:00
ItemGrid.h cItemGrid: Allocate storage lazily (#4083) 2018-01-21 18:45:13 +00:00
LazyArray.h cItemGrid: Allocate storage lazily (#4083) 2018-01-21 18:45:13 +00:00
LightingThread.cpp Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
LightingThread.h Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
LineBlockTracer.cpp Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
LineBlockTracer.h Replace ItemCallbacks with lambdas (#3993) 2017-09-11 23:20:49 +02:00
LinearInterpolation.cpp Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
LinearInterpolation.h Unified the doxy-comment format. 2015-07-31 16:49:10 +02:00
LinearUpscale.h Fixed RasPi builds of unit tests. 2016-08-04 20:47:53 +02:00
Logger.cpp Add the fmt library (#4065) 2018-01-03 17:41:16 +00:00
Logger.h Add the fmt library (#4065) 2018-01-03 17:41:16 +00:00
LoggerListeners.cpp Add colors to console for macOS (#4303) 2018-10-15 17:03:08 +01:00
LoggerListeners.h Remove double includes part 2 (#3890) 2017-08-03 15:34:19 +02:00
LoggerSimple.h Add the fmt library (#4065) 2018-01-03 17:41:16 +00:00
Map.cpp Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
Map.h Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
MapManager.cpp Replace ItemCallbacks with lambdas (#3993) 2017-09-11 23:20:49 +02:00
MapManager.h Replace ItemCallbacks with lambdas (#3993) 2017-09-11 23:20:49 +02:00
Matrix4.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
MemorySettingsRepository.cpp CheckBasicStyle: Check number of empty lines between functions (#4267) 2018-07-26 22:24:36 +01:00
MemorySettingsRepository.h Fixed RasPi builds of unit tests. 2016-08-04 20:47:53 +02:00
MobCensus.cpp Deal with covered switches consistently (#4161) 2018-02-04 23:07:12 +00:00
MobCensus.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
MobFamilyCollecter.cpp Removed double includes (#3885) 2017-08-02 19:57:20 +01:00
MobFamilyCollecter.h Remove double includes part 2 (#3890) 2017-08-03 15:34:19 +02:00
MobProximityCounter.cpp CheckBasicStyle: Check number of empty lines between functions (#4267) 2018-07-26 22:24:36 +01:00
MobProximityCounter.h Remove double includes part 2 (#3890) 2017-08-03 15:34:19 +02:00
MobSpawner.cpp Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
MobSpawner.h Moved growing from cWorld / cChunk to cBlockHandler descendants. 2019-10-28 10:45:43 +01:00
MonsterConfig.cpp Tweak attack ranges 2020-04-02 09:30:50 +02:00
MonsterConfig.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
NetherPortalScanner.cpp Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
NetherPortalScanner.h Use clang-tidy to check more code conventions (#4214) 2018-05-06 18:07:34 +01:00
OpaqueWorld.h Broadcast refactor (#4264) 2018-07-24 22:30:49 +01:00
OverridesSettingsRepository.cpp CheckBasicStyle: Check number of empty lines between functions (#4267) 2018-07-26 22:24:36 +01:00
OverridesSettingsRepository.h Clang 5.0 fixes 2017-05-21 12:19:06 +02:00
PalettedBlockArea.cpp BlockTypePalette: Refactored for usage in both directions. 2019-12-28 22:43:35 +01:00
PalettedBlockArea.h Added a basic PalettedBlockArea implementation (#4377) 2019-08-28 08:29:02 +02:00
ProbabDistrib.cpp CheckBasicStyle: Check number of empty lines between functions (#4267) 2018-07-26 22:24:36 +01:00
ProbabDistrib.h FastRandom rewrite (#3754) 2017-06-13 21:35:30 +02:00
RCONServer.cpp Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
RCONServer.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
RankManager.cpp CheckBasicStyle: Check number of empty lines between functions (#4267) 2018-07-26 22:24:36 +01:00
RankManager.h Add cUUID class (#3871) 2017-08-25 13:43:18 +01:00
Root.cpp Added temporary block type mapping for 1.13+ protocols. 2020-01-07 06:53:17 +01:00
Root.h Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
Scoreboard.cpp CheckBasicStyle: Check number of empty lines between functions (#4267) 2018-07-26 22:24:36 +01:00
Scoreboard.h Replace ItemCallbacks with lambdas (#3993) 2017-09-11 23:20:49 +02:00
Server.cpp Buckets: Be able to place fluids through other fluids. (#4331) 2019-05-07 20:15:58 +01:00
Server.h Update mbedtls to 2.5.1 (#3964) 2017-08-30 15:00:06 +01:00
SetChunkData.cpp Limit the size of cListAllocationPool's free list 2019-02-20 09:07:44 +00:00
SetChunkData.h Optimise chunk set (#4260) 2018-07-23 19:12:51 +01:00
SettingsRepositoryInterface.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
SpawnPrepare.cpp Separated chunk generator from world / plugin interfaces. 2019-09-06 16:12:33 +02:00
SpawnPrepare.h Potential spawn prepare fix (#3924) 2017-08-22 14:34:43 +02:00
Statistics.cpp CheckBasicStyle: Check number of empty lines between functions (#4267) 2018-07-26 22:24:36 +01:00
Statistics.h CheckBasicStyle: Check number of empty lines between functions (#4267) 2018-07-26 22:24:36 +01:00
Stopwatch.h BlockTypePalette: Load from TSV or original reports' JSON. 2019-12-28 22:43:35 +01:00
StringCompression.cpp Fixed type-casting-related warnings. 2016-08-24 22:26:53 +02:00
StringCompression.h Unified the doxy-comment format. 2015-07-31 16:49:10 +02:00
StringUtils.cpp GCC: Added pragma to ignore fallthrough warnings within Unicode Inc. code (#4392) 2019-09-13 15:56:56 +02:00
StringUtils.h StringUtils: Added note to StringsConcat about StringJoin. 2020-01-07 06:53:17 +01:00
Tracer.cpp Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
Tracer.h Use clang-tidy to check more code conventions (#4214) 2018-05-06 18:07:34 +01:00
UUID.cpp Make offline UUIDs consistent with vanilla. (#4178) 2018-07-20 00:30:09 +01:00
UUID.h Add cUUID class (#3871) 2017-08-25 13:43:18 +01:00
Vector3.h Refactored more of Entities and BlockEntities to use Vector3. (#4403) 2019-09-29 14:59:24 +02:00
VoronoiMap.cpp Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
VoronoiMap.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
WebAdmin.cpp Fix directory traversal bug (#4341) 2019-06-11 10:33:56 +02:00
WebAdmin.h Removed unused forward declarations (#3888) 2017-08-03 15:10:29 +02:00
World.cpp Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
World.h Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
XMLParser.h Minor changes (#3909) 2017-08-24 11:19:40 +02:00
main.cpp main: Terminate if an exception is thrown. 2020-01-07 06:53:17 +01:00