MegaGlest/source/glest_game/facilities/game_util.h

50 lines
1.3 KiB
C++

// ==============================================================
// This file is part of Glest (www.glest.org)
//
// Copyright (C) 2001-2008 Martio Figueroa
//
// You can redistribute this code and/or modify it under
// the terms of the GNU General Public License as published
// by the Free Software Foundation; either version 2 of the
// License, or (at your option) any later version
// ==============================================================
#ifndef _GLEST_GAME_GAMEUTIL_H_
#define _GLEST_GAME_GAMEUTIL_H_
#include <string>
#include <vector>
#include "util.h"
#include "leak_dumper.h"
using std::string;
using Shared::Util::sharedLibVersionString;
namespace Glest{ namespace Game{
extern const string mailString;
extern const string glestVersionString;
extern const string networkVersionString;
string getCrashDumpFileName();
string getPlatformNameString();
string getSVNRevisionString();
string getCompilerNameString();
string getNetworkVersionString();
string getNetworkVersionSVNString();
string getNetworkPlatformFreeVersionString();
string getAboutString1(int i);
string getAboutString2(int i);
string getTeammateName(int i);
string getTeammateRole(int i);
string getCompileDateTime();
string formatString(const string &str);
string getGameReadWritePath(string lookupKey="");
}}//end namespace
#endif