X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FGameDraw.cpp;h=5acb9472fbe72f6ef50b40a58975fe7c5c1ed98c;hb=707e773f788ccd861264b29b7802efdf9e92024e;hp=015a4d55f2f63c5e1185143c46f899b17216023f;hpb=612415ff494c29cf2fc7ea560da9908eaff7d847;p=lugaru.git diff --git a/Source/GameDraw.cpp b/Source/GameDraw.cpp index 015a4d5..5acb947 100644 --- a/Source/GameDraw.cpp +++ b/Source/GameDraw.cpp @@ -2240,10 +2240,10 @@ int Game::DrawGLScene(void) } if(mainmenu){ -#if USE_SDL + // !!! FIXME: hack: clamp framerate in menu so text input works correctly on fast systems. SDL_Delay(15); -#endif + glDrawBuffer(GL_BACK); glReadBuffer(GL_BACK); glTexEnvi( GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE ); @@ -2506,7 +2506,7 @@ int Game::DrawGLScene(void) movex[10]=0; movey[10]=0; - sprintf (menustring[11], "Volume: %d%", (int)(volume*100)); + sprintf (menustring[11], "Volume: %d%%", (int)(volume*100)); startx[11]=10+60; starty[11]=155; endx[11]=startx[11]+strlen(menustring[11])*10; @@ -2688,7 +2688,7 @@ int Game::DrawGLScene(void) if(accountcampaignchoicesmade[accountactive]) for(i=0;i0) for(i=accountcampaignchoicesmade[accountactive];i