mirror of
https://github.com/glest/glest-source.git
synced 2025-08-16 13:23:59 +02:00
Added const strings for versions
This commit is contained in:
@@ -195,11 +195,6 @@ namespace Shared {
|
||||
void findAll(const string &path, vector<string> &results, bool cutExtension = false, bool errorOnNotFound = true);
|
||||
vector<string> getFolderTreeContentsListRecursively(const string &path, const string &filterFileExt, bool includeFolders = false, vector<string> *recursiveMap = NULL);
|
||||
|
||||
//string getGameVersion();
|
||||
//string getGameGITVersion();
|
||||
void setGameVersion(const string &version);
|
||||
void setGameGITVersion(const string &git);
|
||||
|
||||
string getCRCCacheFilePath();
|
||||
void setCRCCacheFilePath(const string &path);
|
||||
|
||||
|
@@ -12,14 +12,15 @@
|
||||
#ifndef _SHARED_PLATFORM_DEFINITIONS_H_
|
||||
#define _SHARED_PLATFORM_DEFINITIONS_H_
|
||||
|
||||
#include <string>
|
||||
#include "versions.h"
|
||||
#include "leak_dumper.h"
|
||||
|
||||
namespace Shared {
|
||||
namespace Platform {
|
||||
|
||||
|
||||
|
||||
}
|
||||
const std::string GameVersionString = GAME_VERSION;
|
||||
const std::string LastCompatibleVersionString = LAST_COMPATIBLE_VERSION;
|
||||
const std::string G3DViewerVersionString = G3D_VIEWER_VERSION;
|
||||
const std::string MapEditorVersionString = MAP_EDITOR_VERSION;
|
||||
}//end namespace
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user