X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=dosdemo;a=blobdiff_plain;f=src%2Fscreen.h;h=c2e4974f6ff196c396310c87ecccae0ca4918ded;hp=efb43f721fcf52267919e16190447c51cc3ee8d4;hb=77e0277af0c00dae78c7a739b2ca70cc19fd041a;hpb=77e0a84543a31aecceabc0e4b18a0d37ad92c89b diff --git a/src/screen.h b/src/screen.h index efb43f7..c2e4974 100644 --- a/src/screen.h +++ b/src/screen.h @@ -11,6 +11,8 @@ struct screen { void (*stop)(long trans_time); void (*draw)(void); + + void (*keypress)(int key); }; int scr_init(void); @@ -18,6 +20,7 @@ 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);