home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added primitive inventory system. Any objects may now own/contain/carry other objects.
[plomrogue]
/
src
/
misc.h
diff --git
a/src/misc.h
b/src/misc.h
index 782a6fab0512a23a775515a6b4080f55d3b24669..c823af6223c590fddf9a41efbdbbfdba2dc0659f 100644
(file)
--- a/
src/misc.h
+++ b/
src/misc.h
@@
-37,6
+37,13
@@
extern void check_files_xor(char * p1, char * p2, struct World * w);
+/* Save / load / unload (free) interface configuration data. */
+extern void save_interface_conf(struct World * world);
+extern void load_interface_conf(struct World * world);
+extern void unload_interface_conf(struct World * world);
+
+
+
/* Update game log by appending "text", or by appending a "." if "text" is the
* same as the last one passed.
*/
/* Update game log by appending "text", or by appending a "." if "text" is the
* same as the last one passed.
*/
@@
-59,8
+66,9
@@
extern void turn_over(struct World * world, char action);
-/* Save
current game data to
file "savefile". */
+/* Save
or load current game data to / from
file "savefile". */
extern void save_game(struct World * world);
extern void save_game(struct World * world);
+extern void load_game(struct World * world);
@@
-71,4
+79,11
@@
extern struct yx_uint16 find_passable_pos(struct Map * map);
+/* Navigate (as far as possible) up (dir=='u') or (else) down in player's
+ * inventory selection.
+ */
+extern void nav_inventory(struct World * world, char dir);
+
+
+
#endif
#endif