home · contact · privacy
Map scrolling is only possible within map size now.
[plomrogue] / src / roguelike.h
index 5041caf34bb3f20bdf063c471fb8340246d78d2e..bcffe73956e6502a3c23a3eacfad8147157c2f95 100644 (file)
@@ -26,17 +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 struct yx_uint16 find_passable_pos (struct 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 *);