mirror of
https://github.com/glest/glest-source.git
synced 2025-02-24 11:42:31 +01:00
- 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 float normalMultiplier= 1.0f;
|
||||
static const float easyMultiplier= 0.8f;
|
||||
static const float ultraMultiplier= 3.0f;
|
||||
static const float megaMultiplier= 4.0f;
|
||||
// VC++ Chokes on init of non integral static types
|
||||
static const float normalMultiplier;
|
||||
static const float easyMultiplier;
|
||||
static const float ultraMultiplier;
|
||||
static const float megaMultiplier;
|
||||
//
|
||||
|
||||
};
|
||||
|
||||
|
@ -28,9 +28,14 @@ using namespace std;
|
||||
|
||||
namespace Glest{ namespace Game{
|
||||
|
||||
int GameConstants::networkFramePeriod = 20;
|
||||
int GameConstants::updateFps = 40;
|
||||
int GameConstants::cameraFps = 100;
|
||||
int GameConstants::networkFramePeriod = 20;
|
||||
int GameConstants::updateFps = 40;
|
||||
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_scenarios = "scenarios";
|
||||
|
Loading…
x
Reference in New Issue
Block a user