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-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-19 23:15:51 -07:00
|
|
|
optional uint32 material = 4;
|
2012-01-20 12:21:29 -07:00
|
|
|
}
|