home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Read monster / item definitions from file "defs". File-reading repeats some code...
[plomrogue]
/
src
/
main.h
diff --git
a/src/main.h
b/src/main.h
index 9c04273959e8c5e197058494b3bd6c438d6e29f0..14287d044561705b2d625f2fb978bcdfcb783b6c 100644
(file)
--- a/
src/main.h
+++ b/
src/main.h
@@
-8,6
+8,8
@@
struct Win;
struct KeyBinding;
struct KeysWinData;
struct Map;
struct KeyBinding;
struct KeysWinData;
struct Map;
+struct ItemDef;
+struct MonsterDef;
struct World {
char interactive;
struct World {
char interactive;
@@
-17,7
+19,9
@@
struct World {
uint32_t turn;
char * log;
struct Map * map;
uint32_t turn;
char * log;
struct Map * map;
+ struct ItemDef * item_def;
struct Item * item;
struct Item * item;
+ struct MonsterDef * monster_def;
struct Monster * monster;
struct Player * player; };
struct Monster * monster;
struct Player * player; };