1
0
Fork 0
cuberite-2a/src/Blocks
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
..
BlockAnvil.h Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
BlockBed.cpp Moved growing from cWorld / cChunk to cBlockHandler descendants. 2019-10-28 10:45:43 +01:00
BlockBed.h Moved growing from cWorld / cChunk to cBlockHandler descendants. 2019-10-28 10:45:43 +01:00
BlockBigFlower.h Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
BlockBookShelf.h Updated Bookshelves drop behaviour (#4567) 2020-03-28 12:20:14 +00:00
BlockBrewingStand.h Furnace and brewing stand drops (#4534) 2020-03-24 14:16:09 +02:00
BlockButton.h Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
BlockCactus.h Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
BlockCake.h Moved growing from cWorld / cChunk to cBlockHandler descendants. 2019-10-28 10:45:43 +01:00
BlockCarpet.h Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
BlockCauldron.h Replace buckets to the selected hotbar slot, rather than the first available. (#4580) 2020-04-02 12:42:15 +00:00
BlockChest.h Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
BlockCloth.h Improved maps 2015-07-14 21:46:30 +01:00
BlockCobWeb.h Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
BlockCocoaPod.h Cocoa pods have three growing stages 2020-03-23 10:19:52 +02:00
BlockCommandBlock.h Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
BlockComparator.h Fix certain item drops (#4536) 2020-03-23 22:07:08 +02:00
BlockConcretePowder.h Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
BlockCrops.h Moved growing from cWorld / cChunk to cBlockHandler descendants. 2019-10-28 10:45:43 +01:00
BlockDeadBush.h Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
BlockDirt.h Silk touch pickaxe drops grass block (#4485) 2020-03-17 02:23:50 +02:00
BlockDoor.cpp Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
BlockDoor.h Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
BlockDropSpenser.h Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
BlockEnchantmentTable.h cBlockHandler: take player by ref 2017-08-01 08:21:20 +02:00
BlockEndPortalFrame.h Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
BlockEnderchest.h Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
BlockEntity.h Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
BlockFarmland.h Fix certain item drops (#4536) 2020-03-23 22:07:08 +02:00
BlockFence.h Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
BlockFenceGate.h Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
BlockFire.h Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
BlockFlower.h Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
BlockFlowerPot.h Fix certain item drops (#4536) 2020-03-23 22:07:08 +02:00
BlockFluid.h Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
BlockFurnace.h Furnace and brewing stand drops (#4534) 2020-03-24 14:16:09 +02:00
BlockGlass.h Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
BlockGlowstone.h Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
BlockGrass.h Silk touch pickaxe drops grass block (#4485) 2020-03-17 02:23:50 +02:00
BlockGravel.h Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
BlockHandler.cpp Updated Bookshelves drop behaviour (#4567) 2020-03-28 12:20:14 +00:00
BlockHandler.h Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
BlockHopper.h Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
BlockIce.h Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
BlockJukebox.h Jukebox improvements (#4537) 2020-03-23 13:45:09 +00:00
BlockLadder.h Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
BlockLeaves.h Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
BlockLever.h Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
BlockLilypad.h Lilypads can be on top of (frosted) ice (#4122) 2017-12-27 18:47:28 +00:00
BlockMelon.h Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
BlockMobHead.h Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
BlockMobSpawner.h Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
BlockMushroom.h Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
BlockMycelium.h Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
BlockNetherWart.h Moved growing from cWorld / cChunk to cBlockHandler descendants. 2019-10-28 10:45:43 +01:00
BlockNetherrack.h * Logic for handling plant growth has been centralized into cBlockPlant, and all growable plants now inherit from it. 2015-08-19 10:48:21 -06:00
BlockOre.h Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
BlockPiston.cpp Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
BlockPiston.h Ender chest is not affected by piston (#4526) 2020-03-22 00:18:49 +00:00
BlockPlanks.h cBlockHandler: take player by ref 2017-08-01 08:21:20 +02:00
BlockPlant.h Moved growing from cWorld / cChunk to cBlockHandler descendants. 2019-10-28 10:45:43 +01:00
BlockPluginInterface.h Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
BlockPortal.h Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
BlockPressurePlate.h Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
BlockPumpkin.h Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
BlockQuartz.h Deal with covered switches consistently (#4161) 2018-02-04 23:07:12 +00:00
BlockRail.h Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
BlockRedstone.h Fix certain item drops (#4536) 2020-03-23 22:07:08 +02:00
BlockRedstoneLamp.h Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
BlockRedstoneRepeater.h Fix certain item drops (#4536) 2020-03-23 22:07:08 +02:00
BlockRedstoneTorch.h Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
BlockSand.h Improved maps 2015-07-14 21:46:30 +01:00
BlockSapling.h Moved growing from cWorld / cChunk to cBlockHandler descendants. 2019-10-28 10:45:43 +01:00
BlockSeaLantern.h Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
BlockSideways.h Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
BlockSignPost.h Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
BlockSlab.h Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
BlockSlime.h Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
BlockSnow.h Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
BlockSponge.h Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
BlockStairs.h Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
BlockStems.h Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
BlockStone.h Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
BlockSugarcane.h Moved growing from cWorld / cChunk to cBlockHandler descendants. 2019-10-28 10:45:43 +01:00
BlockTNT.h cBlockHandler: take player by ref 2017-08-01 08:21:20 +02:00
BlockTallGrass.h Moved growing from cWorld / cChunk to cBlockHandler descendants. 2019-10-28 10:45:43 +01:00
BlockTorch.h Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
BlockTrapdoor.h Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
BlockTripwire.h Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
BlockTripwireHook.h Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
BlockVine.h Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
BlockWallSign.h Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
BlockWorkbench.h cBlockHandler: take player by ref 2017-08-01 08:21:20 +02:00
BroadcastInterface.h Force all headers other than "Globals.h" to be included with relative paths (#4269) 2018-08-29 01:51:25 +01:00
CMakeLists.txt Updated Bookshelves drop behaviour (#4567) 2020-03-28 12:20:14 +00:00
ChunkInterface.cpp Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
ChunkInterface.h Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
GetHandlerCompileTimeTemplate.h CheckBasicStyle: Check number of empty lines between functions (#4267) 2018-07-26 22:24:36 +01:00
Mixins.h Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
WorldInterface.h Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00