home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Moved low-level read/write-to-file functions into their own library.
[plomrogue]
/
roguelike.h
diff --git
a/roguelike.h
b/roguelike.h
index 26ca0a443d4b3da16943fe5283d91f051f6d347c..d82313e62d6aadcd81b7a3846651c9f78aaad95f 100644
(file)
--- a/
roguelike.h
+++ b/
roguelike.h
@@
-25,21
+25,16
@@
struct Monster {
uint16_t x; };
uint16_t rrand(char, uint32_t);
uint16_t x; };
uint16_t rrand(char, uint32_t);
-uint16_t read_uint16_bigendian(FILE * file);
-void write_uint16_bigendian(uint16_t x, FILE * file);
-uint32_t read_uint32_bigendian(FILE * file);
-void write_uint32_bigendian(uint32_t x, FILE * file);
-void load_game(struct World *);
void save_game(struct World *);
void toggle_window (struct WinMeta *, struct Win *);
void save_game(struct World *);
void toggle_window (struct WinMeta *, struct Win *);
+void scroll_pad (struct WinMeta *, char);
void growshrink_active_window (struct WinMeta *, char);
struct Map init_map ();
void map_scroll (struct Map *, char);
void next_turn (struct World *);
void update_log (struct World *, char *);
void growshrink_active_window (struct WinMeta *, char);
struct Map init_map ();
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);
+char is_passable (struct
Map
*, uint16_t, uint16_t);
void record_action (char);
void move_player (struct World *, char);
void player_wait(struct World *);
void record_action (char);
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 *);
unsigned char meta_keys(int, struct World *, struct WinMeta *, struct Win *, struct Win *, struct Win *, struct Win *);