forked from 0ad/0ad
janwas
dc027002c0
- input.cpp allows feeding in events from the outside (will be used by main.cpp and Atlas msg loop) - most of main.cpp split into ps/GameSetup.* - main.cpp is now a "controller" that drives the game via SDL events (Atlas is another such controller that can override main.cpp). it calls GameSetup functions to set up and processes messages. - add functions to import AtlasUI.dll automatically also, the usual refactoring ;) This was SVN commit r2622.
28 lines
695 B
C
28 lines
695 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;
|
|
|
|
|
|
extern int g_xres, g_yres;
|
|
extern int g_bpp;
|
|
extern int g_freq;
|
|
extern bool g_active;
|
|
extern bool g_Quickstart;
|
|
|
|
extern CStr g_CursorName;
|
|
|
|
|
|
extern void CONFIG_Init(int argc, char* argv[]);
|