diff --git a/source/lib/zdll.lib b/source/lib/zdll.lib new file mode 100644 index 00000000..01f4e10e Binary files /dev/null and b/source/lib/zdll.lib differ diff --git a/source/src/main.cpp b/source/src/main.cpp index e1f54677..6136e740 100644 --- a/source/src/main.cpp +++ b/source/src/main.cpp @@ -122,6 +122,10 @@ void show_out_of_renderloop_progress(float bar1, const char *text1, float bar2, SDL_Surface *screen = NULL; +extern void setfullscreen(bool enable); + +VARF(fullscreen, 0, 0, 1, setfullscreen(fullscreen!=0)); + void setfullscreen(bool enable) { if(enable == !(screen->flags&SDL_FULLSCREEN)) @@ -151,8 +155,6 @@ void screenres(int *w, int *h, int *bpp = 0) #endif }; -VARF(fullscreen, 0, 0, 1, setfullscreen(fullscreen!=0)); - COMMAND(screenres, ARG_3INT); VAR(maxfps, 5, 200, 500);