mirror of
https://github.com/glest/glest-source.git
synced 2025-08-10 18:34:05 +02:00
Fixed the god-awful indentation
This commit is contained in:
@@ -20,32 +20,34 @@ using std::string;
|
||||
|
||||
using namespace Shared::Platform;
|
||||
|
||||
namespace Shared { namespace Util {
|
||||
namespace Shared {
|
||||
namespace Util {
|
||||
|
||||
bool strToBool(const string &s);
|
||||
int strToInt(const string &s);
|
||||
uint32 strToUInt(const string &s);
|
||||
float strToFloat(const string &s);
|
||||
bool strToBool(const string &s);
|
||||
int strToInt(const string &s);
|
||||
uint32 strToUInt(const string &s);
|
||||
float strToFloat(const string &s);
|
||||
|
||||
bool strToBool(const string &s, bool *b);
|
||||
bool strToInt(const string &s, int *i);
|
||||
bool strToUInt(const string &s, uint32 *i);
|
||||
bool strToFloat(const string &s, float *f);
|
||||
bool strToBool(const string &s, bool *b);
|
||||
bool strToInt(const string &s, int *i);
|
||||
bool strToUInt(const string &s, uint32 *i);
|
||||
bool strToFloat(const string &s, float *f);
|
||||
|
||||
string boolToStr(bool b);
|
||||
string uIntToStr(const uint64 value);
|
||||
string intToStr(const int64 value);
|
||||
string intToHex(int i);
|
||||
string floatToStr(float f,int precsion=2);
|
||||
string doubleToStr(double f,int precsion=2);
|
||||
string boolToStr(bool b);
|
||||
string uIntToStr(const uint64 value);
|
||||
string intToStr(const int64 value);
|
||||
string intToHex(int i);
|
||||
string floatToStr(float f, int precsion = 2);
|
||||
string doubleToStr(double f, int precsion = 2);
|
||||
|
||||
bool IsNumeric(const char *p, bool allowNegative=true);
|
||||
bool IsNumeric(const char *p, bool allowNegative = true);
|
||||
|
||||
string formatNumber(uint64 f);
|
||||
string formatNumber(uint64 f);
|
||||
|
||||
double getTimeDuationMinutes(int frames, int updateFps);
|
||||
string getTimeDuationString(int frames, int updateFps);
|
||||
double getTimeDuationMinutes(int frames, int updateFps);
|
||||
string getTimeDuationString(int frames, int updateFps);
|
||||
|
||||
}}//end namespace
|
||||
}
|
||||
}//end namespace
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user