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 command to focus map on player.
[plomrogue]
/
src
/
roguelike.h
diff --git
a/src/roguelike.h
b/src/roguelike.h
index a72b7cada8a82ff0c0a3b6387740a2cd531504d4..8bf538017bb39f27155c955a99baff8f438785a8 100644
(file)
--- a/
src/roguelike.h
+++ b/
src/roguelike.h
@@
-26,16
+26,12
@@
struct Map {
struct yx_uint16 offset;
char * cells; };
struct yx_uint16 offset;
char * cells; };
-struct Item {
- struct Item * next;
- char name;
- struct yx_uint16 pos; };
-
extern uint16_t rrand(char, uint32_t);
extern void update_log (struct World *, char *);
extern struct Map init_map ();
extern uint16_t rrand(char, uint32_t);
extern void update_log (struct World *, char *);
extern struct Map init_map ();
-extern void map_scroll (struct Map *, char);
+extern void map_scroll (struct Map *, char, struct yx_uint16);
+extern void map_center_player (struct Map *, struct Player *, struct yx_uint16);
extern void turn_over (struct World *, char);
extern void save_game(struct World *);
extern void turn_over (struct World *, char);
extern void save_game(struct World *);