home · contact · privacy
Map scrolling is only possible within map size now.
[plomrogue] / src / roguelike.h
index a72b7cada8a82ff0c0a3b6387740a2cd531504d4..bcffe73956e6502a3c23a3eacfad8147157c2f95 100644 (file)
@@ -26,16 +26,11 @@ struct Map {
   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 void map_scroll (struct Map *, char);
+extern void map_scroll (struct Map *, char, struct yx_uint16);
 
 extern void turn_over (struct World *, char);
 extern void save_game(struct World *);