X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=vrtris;a=blobdiff_plain;f=src%2Fscreen.h;h=95cf4df303cef809dcec4d022c78a5419fde02cd;hp=33897dc4dfb614db4c13b9cd648a907a058d05ba;hb=6ad6cf2cb2e82d8dcc1535a031a38eb991d2b396;hpb=49fdb2457dbb7705501264d519e840dd3ca60919 diff --git a/src/screen.h b/src/screen.h index 33897dc..95cf4df 100644 --- a/src/screen.h +++ b/src/screen.h @@ -15,13 +15,12 @@ struct game_screen { void (*update)(float dt); void (*draw)(void); + void (*reshape)(int, int); - /* these functions return 1 if they handled the event, or 0 - * if it should propagate to the next screen in the stack */ - int (*keyboard)(int, int); - int (*mouse)(int, int, int, int); - int (*motion)(int, int); - int (*wheel)(int dir); + void (*keyboard)(int, int); + void (*mouse)(int, int, int, int); + void (*motion)(int, int); + void (*wheel)(int dir); }; /* this always points to the top screen on the stack