X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Flibgame%2Fsystem.h;h=3b51f91df0b2cb32f5ac5aa35f7fb2000d7bb9f2;hp=641010948cfa93dea18e4d2a62f6d3824de9a115;hb=bf9e47bb97f16c998644758a383209fa4d4fc87b;hpb=689f2d77f8684374e0c70c9842db4f131a61f1e8 diff --git a/src/libgame/system.h b/src/libgame/system.h index 64101094..3b51f91d 100644 --- a/src/libgame/system.h +++ b/src/libgame/system.h @@ -723,14 +723,6 @@ } -/* type definitions */ -#if defined(TARGET_SDL2) -typedef int (*EventFilter)(void *, Event *); -#else -typedef int (*EventFilter)(const Event *); -#endif - - /* structure definitions */ struct ProgramInfo @@ -796,6 +788,9 @@ struct VideoSystemInfo int default_depth; int width, height, depth; int window_width, window_height; + int display_width, display_height; + int screen_width, screen_height; + int screen_xoffset, screen_yoffset; boolean fullscreen_available; boolean fullscreen_enabled; @@ -1494,7 +1489,6 @@ void OpenAudio(void); void CloseAudio(void); void SetAudioMode(boolean); -void InitEventFilter(EventFilter); boolean PendingEvent(void); void NextEvent(Event *event); void PeekEvent(Event *event);