- bugfix for new CPU multiplier constants for VC++ compiler
This commit is contained in:
parent
8a14e826d5
commit
8f579e735f
|
@ -114,10 +114,12 @@ public:
|
||||||
|
|
||||||
static const char *application_name;
|
static const char *application_name;
|
||||||
|
|
||||||
static const float normalMultiplier= 1.0f;
|
// VC++ Chokes on init of non integral static types
|
||||||
static const float easyMultiplier= 0.8f;
|
static const float normalMultiplier;
|
||||||
static const float ultraMultiplier= 3.0f;
|
static const float easyMultiplier;
|
||||||
static const float megaMultiplier= 4.0f;
|
static const float ultraMultiplier;
|
||||||
|
static const float megaMultiplier;
|
||||||
|
//
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -32,6 +32,11 @@ int GameConstants::networkFramePeriod = 20;
|
||||||
int GameConstants::updateFps = 40;
|
int GameConstants::updateFps = 40;
|
||||||
int GameConstants::cameraFps = 100;
|
int GameConstants::cameraFps = 100;
|
||||||
|
|
||||||
|
const float GameConstants::normalMultiplier = 1.0f;
|
||||||
|
const float GameConstants::easyMultiplier = 0.8f;
|
||||||
|
const float GameConstants::ultraMultiplier = 3.0f;
|
||||||
|
const float GameConstants::megaMultiplier = 4.0f;
|
||||||
|
|
||||||
const char *GameConstants::folder_path_maps = "maps";
|
const char *GameConstants::folder_path_maps = "maps";
|
||||||
const char *GameConstants::folder_path_scenarios = "scenarios";
|
const char *GameConstants::folder_path_scenarios = "scenarios";
|
||||||
const char *GameConstants::folder_path_techs = "techs";
|
const char *GameConstants::folder_path_techs = "techs";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user