1
0
cuberite-2a/src/Items
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
..
CMakeLists.txt Force all headers other than "Globals.h" to be included with relative paths (#4269) 2018-08-29 01:51:25 +01:00
ItemArmor.h Replace buckets to the selected hotbar slot, rather than the first available. (#4580) 2020-04-02 12:42:15 +00:00
ItemAxe.h Deal with covered switches consistently (#4161) 2018-02-04 23:07:12 +00:00
ItemBed.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
ItemBigFlower.h Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
ItemBoat.h Don't spawn boats in ground 2020-03-05 16:05:30 +02:00
ItemBottle.h Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
ItemBow.h Item durability loss now depends on the item used. (#4123) 2018-01-05 11:28:06 +00:00
ItemBrewingStand.h Basic style fixes. 2014-07-17 22:50:58 +02:00
ItemBucket.h Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
ItemCake.h Basic style fixes. 2014-07-17 22:50:58 +02:00
ItemCauldron.h Basic style fixes. 2014-07-17 22:50:58 +02:00
ItemChest.h Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
ItemCloth.h Moved source to src 2013-11-24 14:19:41 +00:00
ItemComparator.h Basic style fixes. 2014-07-17 22:50:58 +02:00
ItemDoor.h Add a formatting function for Vector3 (#4282) 2018-09-24 21:33:39 +01:00
ItemDye.h Bonemeal cannot be used on cactus and sugar cane 2020-03-21 19:46:57 +02:00
ItemEmptyMap.h Item durability loss now depends on the item used. (#4123) 2018-01-05 11:28:06 +00:00
ItemEyeOfEnder.h Create Ender Portal with Eyes of Ender (#4126) 2019-05-11 20:43:26 +01:00
ItemFishingRod.h Fix typo in fish meta 2020-03-22 14:43:12 +02:00
ItemFlowerPot.h Basic style fixes. 2014-07-17 22:50:58 +02:00
ItemFood.h Don't remove items twice (#4524) 2020-03-22 12:17:04 +02:00
ItemGoldenApple.h Golden Apple Fixes (#4130) 2018-01-06 00:39:23 +00:00
ItemHandler.cpp Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
ItemHandler.h Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
ItemHoe.h Deal with covered switches consistently (#4161) 2018-02-04 23:07:12 +00:00
ItemItemFrame.h Refactored more of Entities and BlockEntities to use Vector3. (#4403) 2019-09-29 14:59:24 +02:00
ItemLeaves.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
ItemLighter.h TNT position fixes (#4519) 2020-03-22 17:33:36 +02:00
ItemLilypad.h Item durability loss now depends on the item used. (#4123) 2018-01-05 11:28:06 +00:00
ItemMap.h Item durability loss now depends on the item used. (#4123) 2018-01-05 11:28:06 +00:00
ItemMilk.h Don't remove items twice (#4524) 2020-03-22 12:17:04 +02:00
ItemMinecart.h Item durability loss now depends on the item used. (#4123) 2018-01-05 11:28:06 +00:00
ItemMobHead.h BroadcastBlockBreakAnimation and BroadcastBlockEntity use vectors (#4038) 2017-09-25 18:17:45 +02:00
ItemNetherWart.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
ItemPainting.h Refactored more of Entities and BlockEntities to use Vector3. (#4403) 2019-09-29 14:59:24 +02:00
ItemPickaxe.h Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
ItemPotion.h Replace buckets to the selected hotbar slot, rather than the first available. (#4580) 2020-04-02 12:42:15 +00:00
ItemPumpkin.h Item durability loss now depends on the item used. (#4123) 2018-01-05 11:28:06 +00:00
ItemRedstoneDust.h Improved maps 2015-07-14 21:46:30 +01:00
ItemRedstoneRepeater.h Basic style fixes. 2014-07-17 22:50:58 +02:00
ItemSapling.h Basic style fixes. 2014-07-17 22:50:58 +02:00
ItemSeeds.h Consolidated food effects into EatItem, added all fish type FoodInfos. (#3875) 2017-07-30 18:53:21 +01:00
ItemShears.h Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
ItemShovel.h Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
ItemSign.h BigFlower fixes (#3826) 2017-07-07 16:37:53 +02:00
ItemSlab.h Item durability loss now depends on the item used. (#4123) 2018-01-05 11:28:06 +00:00
ItemSpawnEgg.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
ItemString.h Implemented tripwire(s) (hooks) 2014-06-28 20:44:34 +01:00
ItemSugarcane.h Basic style fixes. 2014-07-17 22:50:58 +02:00
ItemSword.h Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
ItemThrowable.h Increase speed of splash potion and expbottle (#4513) 2020-03-22 17:44:24 +02:00