home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed unused code in readwrite library.
[plomrogue]
/
src
/
map_objects.h
diff --git
a/src/map_objects.h
b/src/map_objects.h
index 6342f4b1db39a8f87558838d556b7a86de94d626..2bd1bec775dafb89dae35060479374bb95fc381f 100644
(file)
--- 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 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
};
struct MapObjDef