1
0
forked from 0ad/0ad
0ad/source/ps/GameSetup/Config.h
janwas 2452e29f0d remove key- and mouse-state-clear code (previously called after alt+tab out). wsdl now takes care of this: by maintaining its own key array+sending up events for all currently down keys; and by capturing the mouse on each click.
-- this fixes "cursor keys require ctrl" bug reported by jason
wdbg_sym: fix warning
wsdl: as above and also better SDL_ACTIVEEVENT handling
mmgr: 500µs -> 500s -> 500us :)

This was SVN commit r3065.
2005-10-31 01:15:49 +00:00

31 lines
867 B
C

#include "CStr.h"
// flag to disable extended GL extensions until fix found - specifically, crashes
// using VBOs on laptop Radeon cards
extern bool g_NoGLVBO;
// flag to switch on shadows
extern bool g_Shadows;
// flag to switch off pbuffers
extern bool g_NoPBuffer;
// flag to switch on fixed frame timing (RC: I'm using this for profiling purposes)
extern bool g_FixedFrameTiming;
extern bool g_VSync;
extern float g_LodBias;
extern float g_Gamma;
extern bool g_EntGraph;
// name of configured render path (depending on OpenGL extensions, this may not be
// the render path that is actually in use right now)
extern CStr g_RenderPath;
extern int g_xres, g_yres;
extern int g_bpp;
extern int g_freq;
extern bool g_Quickstart;
extern CStr g_AutostartMap;
extern CStr g_CursorName;
extern void CONFIG_Init(int argc, char* argv[]);