2012-01-19 23:15:51 -07:00
|
|
|
package dfproto;
|
2012-01-27 18:32:52 -07:00
|
|
|
option optimize_for = LITE_RUNTIME;
|
2012-01-19 23:15:51 -07:00
|
|
|
|
|
|
|
message Tile
|
|
|
|
{
|
2012-01-27 18:32:52 -07:00
|
|
|
enum TileType
|
|
|
|
{
|
|
|
|
EMPTY = 0;
|
|
|
|
WALL = 1;
|
|
|
|
PILLAR = 2;
|
|
|
|
BROOK_BED = 3;
|
|
|
|
FORTIFICATION = 4;
|
|
|
|
STAIR_UP = 5;
|
|
|
|
STAIR_DOWN = 6;
|
|
|
|
STAIR_UPDOWN = 7;
|
|
|
|
RAMP = 8;
|
|
|
|
RAMP_TOP = 9;
|
|
|
|
FLOOR = 10;
|
|
|
|
BROOK_TOP = 11;
|
|
|
|
RIVER_BED = 12;
|
|
|
|
POOL = 13;
|
|
|
|
TREE_DEAD = 14;
|
|
|
|
TREE_OK = 15;
|
|
|
|
SAPLING_DEAD = 16;
|
|
|
|
SAPLING_OK = 17;
|
|
|
|
SHRUB_DEAD = 18;
|
|
|
|
SHRUB_OK = 19;
|
|
|
|
BOULDER = 20;
|
|
|
|
PEBLLES = 21;
|
|
|
|
ENDLESS_PIT = 22;
|
|
|
|
}
|
2012-01-29 00:55:42 -07:00
|
|
|
enum LiquidType
|
|
|
|
{
|
|
|
|
WATER = 0;
|
|
|
|
MAGMA = 1;
|
|
|
|
}
|
2012-01-30 22:12:35 -07:00
|
|
|
enum MaterialType
|
|
|
|
{
|
|
|
|
AIR = 0;
|
|
|
|
SOIL = 1;
|
|
|
|
STONE = 2;
|
|
|
|
FEATSTONE = 3;
|
|
|
|
OBSIDIAN = 4;
|
|
|
|
VEIN = 5;
|
|
|
|
ICE = 6;
|
|
|
|
GRASS = 7;
|
|
|
|
GRASS2 = 8;
|
|
|
|
GRASS_DEAD = 9;
|
|
|
|
GRASS_DRY = 10;
|
|
|
|
DRIFTWOOD = 11;
|
|
|
|
HFS = 12;
|
|
|
|
MAGMA_TYPE = 13;
|
|
|
|
CAMPFIRE = 14;
|
|
|
|
FIRE = 15;
|
|
|
|
ASHES = 16;
|
|
|
|
CONSTRUCTED = 17;
|
|
|
|
CYAN_GLOW = 18;
|
|
|
|
}
|
2012-01-19 23:15:51 -07:00
|
|
|
required uint32 x = 1;
|
|
|
|
required uint32 y = 2;
|
2012-01-27 18:32:52 -07:00
|
|
|
required TileType type = 3;
|
2012-01-30 22:12:35 -07:00
|
|
|
optional MaterialType material_type = 4;
|
2012-02-04 14:05:41 -07:00
|
|
|
optional uint32 material_index = 5;
|
|
|
|
optional uint32 material = 6;
|
|
|
|
optional LiquidType liquid_type = 7;
|
|
|
|
optional uint32 flow_size = 8;
|
2012-01-20 12:21:29 -07:00
|
|
|
}
|