home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Let's see if this provides better pseudo-randomness.
[plomrogue]
/
src
/
map_objects.h
diff --git
a/src/map_objects.h
b/src/map_objects.h
index 015864812c03bc6241499e3c8bf14720b1dd340c..4804033d1002fe17499242046fdd5ff804d12f30 100644
(file)
--- a/
src/map_objects.h
+++ b/
src/map_objects.h
@@
-68,6
+68,7
@@
struct ItemDef
struct MonsterDef
{
struct MapObjDef map_obj_def;
struct MonsterDef
{
struct MapObjDef map_obj_def;
+ uint8_t corpse_id; /* ID of object type killed monster changes to. */
uint8_t hitpoints_start; /* Hitpoints each monster starts with. */
};
uint8_t hitpoints_start; /* Hitpoints each monster starts with. */
};
@@
-91,7
+92,8
@@
extern void * build_map_objects(struct World * world, void * start, char def_id,
*/
extern uint8_t write_map_objects(struct World * world, void * start,
FILE * file);
*/
extern uint8_t write_map_objects(struct World * world, void * start,
FILE * file);
-extern uint8_t read_map_objects(struct World * world, void * start, FILE * file);
+extern uint8_t read_map_objects(struct World * world, void * start,
+ FILE * file);