fixed warnings
[dosdemo] / src / screen.h
index 9a449e8..c2e4974 100644 (file)
@@ -11,6 +11,8 @@ struct screen {
        void (*stop)(long trans_time);
 
        void (*draw)(void);
+
+       void (*keypress)(int key);
 };
 
 int scr_init(void);
@@ -18,8 +20,11 @@ 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_ */