home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Individual map objects are now identified by unique numbers stored in the savefiles...
[plomrogue]
/
src
/
map_objects.h
diff --git
a/src/map_objects.h
b/src/map_objects.h
index bddd5ffc5f96e655180bcb4ad1b0f9e0d8c42a29..2307fb51fe776bb09f52e816b7294be86554dd49 100644
(file)
--- a/
src/map_objects.h
+++ b/
src/map_objects.h
@@
-30,6
+30,7
@@
struct Player
struct MapObj
{
void * next;
+ uint8_t id; /* Unique identifier of individual map object. */
char type; /* Map object type identifier (see MapObjDef.id). */
struct yx_uint16 pos; /* Coordinate of object on map. */
};