*** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@903 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -166,6 +166,16 @@ void screenres(int w, int h, int bpp = 0)
|
||||
|
||||
COMMAND(screenres, ARG_3INT);
|
||||
|
||||
VARFP(gamma, 30, 100, 300,
|
||||
{
|
||||
float f = gamma/100.0f;
|
||||
if(SDL_SetGamma(f,f,f)==-1)
|
||||
{
|
||||
conoutf("Could not set gamma (card/driver doesn't support it?)");
|
||||
conoutf("sdl: %s", SDL_GetError());
|
||||
}
|
||||
});
|
||||
|
||||
VARP(maxfps, 5, 200, 500);
|
||||
|
||||
void limitfps(int &millis, int curmillis)
|
||||
|
||||
Reference in New Issue
Block a user