mirror of
https://github.com/GabsPuNs/Project-Zenith-Main.git
synced 2026-07-09 21:18:08 +00:00
94 lines
4.4 KiB
C++
94 lines
4.4 KiB
C++
#ifdef __GNUC__
|
|
#include "Item.h"
|
|
#include "Tile.h"
|
|
#include "AddEntityPacket.h"
|
|
#include "SkullTileEntity.h"
|
|
|
|
// GCC -O3 optimizes out "const int Class::member;" definitions when
|
|
// the member is not ODR-used within the same TU. Other TUs take their
|
|
// address, so we force emission here.
|
|
|
|
__attribute__((used)) const int Item::minecart_Id;
|
|
__attribute__((used)) const int Item::fish_raw_Id;
|
|
__attribute__((used)) const int Item::fishingRod_Id;
|
|
__attribute__((used)) const int Item::boat_Id;
|
|
__attribute__((used)) const int Item::arrow_Id;
|
|
__attribute__((used)) const int Item::chicken_cooked_Id;
|
|
__attribute__((used)) const int Item::beef_cooked_Id;
|
|
__attribute__((used)) const int Item::porkChop_cooked_Id;
|
|
__attribute__((used)) const int Item::clock_Id;
|
|
__attribute__((used)) const int Item::compass_Id;
|
|
__attribute__((used)) const int Item::redStone_Id;
|
|
__attribute__((used)) const int Item::expBottle_Id;
|
|
__attribute__((used)) const int Item::saddle_Id;
|
|
__attribute__((used)) const int Item::leggings_leather_Id;
|
|
__attribute__((used)) const int Item::helmet_leather_Id;
|
|
__attribute__((used)) const int Item::boots_leather_Id;
|
|
__attribute__((used)) const int Item::chestplate_leather_Id;
|
|
__attribute__((used)) const int Item::cookie_Id;
|
|
__attribute__((used)) const int Item::apple_Id;
|
|
__attribute__((used)) const int Item::melon_Id;
|
|
__attribute__((used)) const int Item::bread_Id;
|
|
__attribute__((used)) const int Item::leggings_chain_Id;
|
|
__attribute__((used)) const int Item::chestplate_chain_Id;
|
|
__attribute__((used)) const int Item::helmet_chain_Id;
|
|
__attribute__((used)) const int Item::boots_chain_Id;
|
|
__attribute__((used)) const int Item::leggings_diamond_Id;
|
|
__attribute__((used)) const int Item::leggings_iron_Id;
|
|
__attribute__((used)) const int Item::chestplate_diamond_Id;
|
|
__attribute__((used)) const int Item::chestplate_iron_Id;
|
|
__attribute__((used)) const int Item::helmet_diamond_Id;
|
|
__attribute__((used)) const int Item::helmet_iron_Id;
|
|
__attribute__((used)) const int Item::boots_diamond_Id;
|
|
__attribute__((used)) const int Item::boots_iron_Id;
|
|
__attribute__((used)) const int Item::hoe_diamond_Id;
|
|
__attribute__((used)) const int Item::hoe_iron_Id;
|
|
__attribute__((used)) const int Item::shovel_diamond_Id;
|
|
__attribute__((used)) const int Item::shovel_iron_Id;
|
|
__attribute__((used)) const int Item::pickAxe_diamond_Id;
|
|
__attribute__((used)) const int Item::pickAxe_iron_Id;
|
|
__attribute__((used)) const int Item::hatchet_diamond_Id;
|
|
__attribute__((used)) const int Item::hatchet_iron_Id;
|
|
__attribute__((used)) const int Item::sword_diamond_Id;
|
|
__attribute__((used)) const int Item::sword_iron_Id;
|
|
__attribute__((used)) const int Item::shears_Id;
|
|
__attribute__((used)) const int Item::flintAndSteel_Id;
|
|
__attribute__((used)) const int Item::rotten_flesh_Id;
|
|
__attribute__((used)) const int Item::wheat_Id;
|
|
__attribute__((used)) const int Item::seeds_pumpkin_Id;
|
|
__attribute__((used)) const int Item::seeds_melon_Id;
|
|
__attribute__((used)) const int Item::seeds_wheat_Id;
|
|
__attribute__((used)) const int Item::fish_cooked_Id;
|
|
__attribute__((used)) const int Item::chicken_raw_Id;
|
|
__attribute__((used)) const int Item::beef_raw_Id;
|
|
__attribute__((used)) const int Item::porkChop_raw_Id;
|
|
__attribute__((used)) const int Item::eyeOfEnder_Id;
|
|
__attribute__((used)) const int Item::enderPearl_Id;
|
|
__attribute__((used)) const int Item::book_Id;
|
|
__attribute__((used)) const int Item::paper_Id;
|
|
__attribute__((used)) const int Item::diamond_Id;
|
|
__attribute__((used)) const int Item::goldIngot_Id;
|
|
__attribute__((used)) const int Item::ironIngot_Id;
|
|
__attribute__((used)) const int Item::coal_Id;
|
|
__attribute__((used)) const int Item::bucket_lava_Id;
|
|
__attribute__((used)) const int Item::bucket_water_Id;
|
|
__attribute__((used)) const int Item::skull_Id;
|
|
|
|
__attribute__((used)) const int Tile::stone_Id;
|
|
__attribute__((used)) const int Tile::goldenRail_Id;
|
|
__attribute__((used)) const int Tile::rail_Id;
|
|
__attribute__((used)) const int Tile::torch_Id;
|
|
__attribute__((used)) const int Tile::furnace_Id;
|
|
__attribute__((used)) const int Tile::glowstone_Id;
|
|
__attribute__((used)) const int Tile::wool_Id;
|
|
__attribute__((used)) const int Tile::bookshelf_Id;
|
|
__attribute__((used)) const int Tile::glass_Id;
|
|
|
|
__attribute__((used)) const int AddEntityPacket::LEASH_KNOT;
|
|
__attribute__((used)) const int AddEntityPacket::ENDER_CRYSTAL;
|
|
__attribute__((used)) const int AddEntityPacket::PRIMED_TNT;
|
|
__attribute__((used)) const int AddEntityPacket::EGG;
|
|
|
|
__attribute__((used)) const int SkullTileEntity::TYPE_WITHER;
|
|
#endif
|