no message

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@490 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2006-11-06 13:46:50 +00:00
parent 22aff6107e
commit b131706f87
2 changed files with 4 additions and 2 deletions
+4 -2
View File
@@ -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);