X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=src%2Fmap_objects.h;h=2bd1bec775dafb89dae35060479374bb95fc381f;hb=8f60274cc94ea4b2d3a0bb71169e50b0d06ae629;hp=6342f4b1db39a8f87558838d556b7a86de94d626;hpb=350ef2e2d17e8122e2991466f76a9a083a6303e7;p=plomrogue diff --git a/src/map_objects.h b/src/map_objects.h index 6342f4b..2bd1bec 100644 --- a/src/map_objects.h +++ b/src/map_objects.h @@ -21,6 +21,9 @@ struct MapObj uint8_t type; /* ID of appropriate map object definition */ uint8_t lifepoints; /* 0: object is inanimate; >0: hitpoints */ struct yx_uint16 pos; /* coordinate on map */ + uint8_t command; /* command map object tries to realize now*/ + uint8_t arg; /* optional field for command argument */ + uint8_t progress; /* turns already passed to realize .command */ }; struct MapObjDef