386d58b586
git-svn-id: http://mc-server.googlecode.com/svn/trunk@3 0a769ca7-a7f5-676a-18bf-c427514a06d6
151 lines
3.3 KiB
C
151 lines
3.3 KiB
C
#pragma once
|
|
|
|
//tolua_begin
|
|
enum ENUM_BLOCK_ID
|
|
{
|
|
E_BLOCK_AIR = 0,
|
|
E_BLOCK_STONE = 1,
|
|
E_BLOCK_GRASS = 2,
|
|
E_BLOCK_DIRT = 3,
|
|
E_BLOCK_COBBLESTONE = 4,
|
|
E_BLOCK_WOOD = 5,
|
|
E_BLOCK_SAPLING = 6,
|
|
E_BLOCK_BEDROCK = 7,
|
|
E_BLOCK_WATER = 8,
|
|
E_BLOCK_STATIONARY_WATER = 9,
|
|
E_BLOCK_LAVA = 10,
|
|
E_BLOCK_STATIONARY_LAVA = 11,
|
|
E_BLOCK_SAND = 12,
|
|
E_BLOCK_GRAVEL = 13,
|
|
E_BLOCK_GOLD_ORE = 14,
|
|
E_BLOCK_IRON_ORE = 15,
|
|
E_BLOCK_COAL_ORE = 16,
|
|
E_BLOCK_LOG = 17,
|
|
E_BLOCK_LEAVES = 18,
|
|
E_BLOCK_SPONGE = 19,
|
|
E_BLOCK_GLASS = 20,
|
|
E_BLOCK_WHITE_CLOTH = 35,
|
|
E_BLOCK_YELLOW_FLOWER = 37,
|
|
E_BLOCK_RED_ROSE = 38,
|
|
E_BLOCK_BROWN_MUSHROOM = 39,
|
|
E_BLOCK_RED_MUSHROOM = 40,
|
|
E_BLOCK_GOLD_BLOCK = 41,
|
|
E_BLOCK_IRON_BLOCK = 42,
|
|
E_BLOCK_DOUBLE_STEP = 43,
|
|
E_BLOCK_STEP = 44,
|
|
E_BLOCK_BRICK = 45,
|
|
E_BLOCK_TNT = 46,
|
|
E_BLOCK_BOOKCASE = 47,
|
|
E_BLOCK_MOSSY_COBBLESTONE = 48,
|
|
E_BLOCK_OBSIDIAN = 49,
|
|
E_BLOCK_TORCH = 50,
|
|
E_BLOCK_FIRE = 51,
|
|
E_BLOCK_MOB_SPAWNER = 52,
|
|
E_BLOCK_WOODEN_STAIRS = 53,
|
|
E_BLOCK_CHEST = 54,
|
|
E_BLOCK_REDSTONE_WIRE = 55,
|
|
E_BLOCK_DIAMOND_ORE = 56,
|
|
E_BLOCK_DIAMOND_BLOCK = 57,
|
|
E_BLOCK_WORKBENCH = 58,
|
|
E_BLOCK_CROPS = 59,
|
|
E_BLOCK_SOIL = 60,
|
|
E_BLOCK_FURNACE = 61,
|
|
E_BLOCK_BURNING_FURNACE = 62,
|
|
E_BLOCK_SIGN_POST = 63,
|
|
E_BLOCK_WOODEN_DOOR = 64,
|
|
E_BLOCK_LADDER = 65,
|
|
E_BLOCK_MINECART_TRACKS = 66,
|
|
E_BLOCK_COBBLESTONE_STAIRS = 67,
|
|
E_BLOCK_WALLSIGN = 68,
|
|
E_BLOCK_LEVER = 69,
|
|
E_BLOCK_STONE_PRESSURE_PLATE = 70,
|
|
E_BLOCK_IRON_DOOR = 71,
|
|
E_BLOCK_WOODEN_PRESSURE_PLATE = 72,
|
|
E_BLOCK_REDSTONE_ORE = 73,
|
|
E_BLOCK_REDSTONE_ORE_GLOWING = 74,
|
|
E_BLOCK_REDSTONE_TORCH_ON = 75,
|
|
E_BLOCK_REDSTONE_TORCH_OFF = 76,
|
|
|
|
E_BLOCK_SNOW = 78,
|
|
E_BLOCK_ICE = 79,
|
|
E_BLOCK_SNOW_BLOCK = 80,
|
|
E_BLOCK_CACTUS = 81,
|
|
E_BLOCK_CLAY = 82,
|
|
E_BLOCK_REEDS = 83,
|
|
|
|
E_BLOCK_BLOODSTONE = 87,
|
|
E_BLOCK_SOULSAND = 88,
|
|
E_BLOCK_GLOWSTONE = 89,
|
|
E_BLOCK_PORT = 90,
|
|
E_BLOCK_JACK_O_LANTERN = 91,
|
|
E_BLOCK_CAKE = 92,
|
|
E_BLOCK_REDSTONE_REPEATER_OFF = 93,
|
|
E_BLOCK_REDSTONE_REPEATER_ON = 94,
|
|
E_BLOCK_LOCKED_CHEST = 95,
|
|
E_BLOCK_TRAPDOOR = 96,
|
|
};
|
|
//tolua_end
|
|
|
|
//tolua_begin
|
|
enum ENUM_ITEM_ID
|
|
{
|
|
E_ITEM_EMPTY = -1,
|
|
E_ITEM_STONE = 1,
|
|
E_ITEM_GRASS = 2,
|
|
E_ITEM_DIRT = 3,
|
|
E_ITEM_COBBLESTONE = 4,
|
|
E_ITEM_WOOD = 5,
|
|
E_ITEM_SAPLING = 6,
|
|
E_ITEM_BEDROCK = 7,
|
|
E_ITEM_WATER = 8,
|
|
E_ITEM_STATIONARY_WATER = 9,
|
|
E_ITEM_LAVA = 10,
|
|
E_ITEM_STATIONARY_LAVA = 11,
|
|
E_ITEM_SAND = 12,
|
|
E_ITEM_GRAVEL = 13,
|
|
E_ITEM_GOLD_ORE = 14,
|
|
E_ITEM_IRON_ORE = 15,
|
|
E_ITEM_COAL_ORE = 16,
|
|
E_ITEM_LOG = 17,
|
|
E_ITEM_LEAVES = 18,
|
|
E_ITEM_GOLD_BLOCK = 41,
|
|
E_ITEM_IRON_BLOCK = 42,
|
|
E_ITEM_DIAMOND_BLOCK = 57,
|
|
E_ITEM_FLINT_AND_STEEL = 259,
|
|
E_ITEM_APPLE = 260,
|
|
E_ITEM_BOW = 261,
|
|
E_ITEM_ARROW = 262,
|
|
E_ITEM_COAL = 263,
|
|
E_ITEM_DIAMOND = 264,
|
|
E_ITEM_IRON = 265,
|
|
E_ITEM_GOLD = 266,
|
|
|
|
E_ITEM_MUSHROOM_SOUP = 282,
|
|
E_ITEM_GOLD_SWORD = 283,
|
|
E_ITEM_GOLD_SHOVEL = 284,
|
|
E_ITEM_GOLD_PICKAXE = 285,
|
|
E_ITEM_GOLD_AXE = 286,
|
|
E_ITEM_STRING = 287,
|
|
E_ITEM_FEATHER = 288,
|
|
|
|
E_ITEM_BREAD = 297,
|
|
|
|
E_ITEM_RAW_MEAT = 319,
|
|
E_ITEM_COOKED_MEAT = 320,
|
|
|
|
E_ITEM_GOLDEN_APPLE = 322,
|
|
E_ITEM_SIGN = 323,
|
|
|
|
E_ITEM_MILK = 335,
|
|
|
|
E_ITEM_EGG = 344,
|
|
E_ITEM_COMPASS = 345,
|
|
E_ITEM_FISHING_ROD = 346,
|
|
E_ITEM_CLOCK = 347,
|
|
E_ITEM_GLOWSTONE_DUST = 348,
|
|
E_ITEM_RAW_FISH = 349,
|
|
E_ITEM_COOKED_FISH = 350,
|
|
|
|
E_ITEM_CAKE = 354,
|
|
};
|
|
//tolua_end
|