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
|
|
|
|
{
|
2015-02-14 20:53:06 -07:00
|
|
|
EMPTY = 0;
|
|
|
|
FLOOR = 1;
|
|
|
|
BOULDER = 2;
|
|
|
|
PEBBLES = 3;
|
|
|
|
WALL = 4;
|
|
|
|
FORTIFICATION = 5;
|
|
|
|
STAIR_UP = 6;
|
|
|
|
STAIR_DOWN = 7;
|
|
|
|
STAIR_UPDOWN = 8;
|
|
|
|
RAMP = 9;
|
|
|
|
RAMP_TOP = 10;
|
|
|
|
BROOK_BED = 11;
|
|
|
|
BROOK_TOP = 12;
|
|
|
|
TREE = 13;
|
|
|
|
SAPLING = 14;
|
|
|
|
SHRUB = 15;
|
|
|
|
ENDLESS_PIT = 16;
|
2012-01-27 18:32:52 -07:00
|
|
|
}
|
2012-01-29 00:55:42 -07:00
|
|
|
enum LiquidType
|
|
|
|
{
|
|
|
|
WATER = 0;
|
|
|
|
MAGMA = 1;
|
|
|
|
}
|
2012-02-12 19:39:43 -07:00
|
|
|
enum TileMaterialType
|
2012-01-30 22:12:35 -07:00
|
|
|
{
|
|
|
|
AIR = 0;
|
|
|
|
SOIL = 1;
|
|
|
|
STONE = 2;
|
2012-02-19 21:35:45 -07:00
|
|
|
FEATURE = 3;
|
|
|
|
LAVA_STONE = 4;
|
|
|
|
MINERAL = 5;
|
2012-02-20 20:32:58 -07:00
|
|
|
FROZEN_LIQUID = 6;
|
2012-02-19 21:35:45 -07:00
|
|
|
CONSTRUCTION = 7;
|
|
|
|
GRASS_LIGHT = 8;
|
|
|
|
GRASS_DARK = 9;
|
2012-01-30 22:12:35 -07:00
|
|
|
GRASS_DRY = 10;
|
2012-02-19 21:35:45 -07:00
|
|
|
GRASS_DEAD = 11;
|
2012-01-30 22:12:35 -07:00
|
|
|
HFS = 12;
|
2012-02-19 21:35:45 -07:00
|
|
|
CAMPFIRE = 13;
|
|
|
|
FIRE = 14;
|
|
|
|
ASHES = 15;
|
|
|
|
MAGMA_TYPE = 16;
|
|
|
|
DRIFTWOOD = 17;
|
|
|
|
POOL = 18;
|
2015-02-14 20:53:06 -07:00
|
|
|
BROOK = 19;
|
|
|
|
RIVER = 20;
|
2012-01-30 22:12:35 -07:00
|
|
|
}
|
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-02-12 19:39:43 -07:00
|
|
|
optional TileMaterialType tile_material = 4;
|
2012-02-04 14:05:41 -07:00
|
|
|
optional uint32 material_index = 5;
|
2012-02-12 19:39:43 -07:00
|
|
|
optional uint32 material_type = 6;
|
2012-02-04 14:05:41 -07:00
|
|
|
optional LiquidType liquid_type = 7;
|
|
|
|
optional uint32 flow_size = 8;
|
2012-01-20 12:21:29 -07:00
|
|
|
}
|