- updated to allow dynamic changing of updatefps and camerafps

This commit is contained in:
Mark Vejvoda
2010-08-25 18:26:17 +00:00
parent 014165de69
commit 5e20ab5808
7 changed files with 28 additions and 4 deletions

View File

@@ -10,6 +10,7 @@
#include "xml_parser.h"
#include <iostream>
#include <wx/event.h>
#include "game_constants.h"
using namespace Shared::Platform;
using namespace Shared::PlatformCommon;
@@ -19,6 +20,7 @@ using namespace Shared::Util;
using namespace Shared::Xml;
using namespace std;
using namespace Glest::Game;
#ifdef _WIN32
const char *folderDelimiter = "\\";
@@ -26,6 +28,9 @@ const char *folderDelimiter = "\\";
const char *folderDelimiter = "/";
#endif
int GameConstants::updateFps= 20;
int GameConstants::cameraFps= 50;
namespace Shared{ namespace G3dViewer{
// ===============================================