X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/%7B%7Bdeck_id%7D%7D/cards/%7B%7Bcard_id%7D%7D/form?a=blobdiff_plain;f=src%2Fmap_objects.h;h=2bd1bec775dafb89dae35060479374bb95fc381f;hb=76bcc7383e9b111e02e83c2d822633cf1be88aab;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