home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improved map generation algorithm.
[plomrogue]
/
roguelike.h
diff --git
a/roguelike.h
b/roguelike.h
index 0d0ce86ab385b91f8237397f099131681a995817..26ca0a443d4b3da16943fe5283d91f051f6d347c 100644
(file)
--- a/
roguelike.h
+++ b/
roguelike.h
@@
-1,4
+1,5
@@
struct World {
struct World {
+ char interactive;
struct KeyBinding * keybindings;
struct KeysWinData * keyswindata;
uint32_t seed;
struct KeyBinding * keybindings;
struct KeysWinData * keyswindata;
uint32_t seed;
@@
-37,5
+38,8
@@
void map_scroll (struct Map *, char);
void next_turn (struct World *);
void update_log (struct World *, char *);
char is_passable (struct World *, uint16_t, uint16_t);
void next_turn (struct World *);
void update_log (struct World *, char *);
char is_passable (struct World *, uint16_t, uint16_t);
+void record_action (char);
void move_player (struct World *, char);
void player_wait(struct World *);
void move_player (struct World *, char);
void player_wait(struct World *);
+void startpos(struct World *);
+unsigned char meta_keys(int, struct World *, struct WinMeta *, struct Win *, struct Win *, struct Win *, struct Win *);