backport cont.
[dosdemo] / src / screen.h
index 9a449e8..325f434 100644 (file)
@@ -11,15 +11,23 @@ struct screen {
        void (*stop)(long trans_time);
 
        void (*draw)(void);
+
+       void (*keypress)(int key);
 };
 
+extern const char *dbg_curscr_name;
+extern int dbg_curscr_name_len, dbg_curscr_name_pos;
+
 int scr_init(void);
 void scr_shutdown(void);
 
 void scr_update(void);
 void scr_draw(void);
+void scr_keypress(int key);
 
 struct screen *scr_lookup(const char *name);
+struct screen *scr_screen(int idx);
+int scr_num_screens(void);
 int scr_change(struct screen *s, long trans_time);
 
 #endif /* SCREEN_H_ */