mirror of
https://github.com/glest/glest-source.git
synced 2025-08-22 07:52:51 +02:00
- updated to allow dynamic changing of updatefps and camerafps
This commit is contained in:
@@ -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{
|
||||
|
||||
// ===============================================
|
||||
|
Reference in New Issue
Block a user