This commit is contained in:
parent
4905b42cdb
commit
dd84984526
@ -112,16 +112,6 @@ bool PseuInstance::Init(void) {
|
||||
return true;
|
||||
}
|
||||
|
||||
void PseuInstance::SetConfDir(std::string path)
|
||||
{
|
||||
_confdir=path;
|
||||
}
|
||||
|
||||
void PseuInstance::SetScpDir(std::string path)
|
||||
{
|
||||
_scpdir=path;
|
||||
}
|
||||
|
||||
void PseuInstance::Run(void)
|
||||
{
|
||||
if(!_initialized)
|
||||
|
||||
@ -53,9 +53,9 @@ class PseuInstance
|
||||
RealmSocket *GetRSession(void) { return _rsession; }
|
||||
PseuInstanceConf *GetConf(void) { return _conf; }
|
||||
DefScriptPackage *GetScripts(void) { return _scp; }
|
||||
void SetConfDir(std::string);
|
||||
void SetScpDir(std::string);
|
||||
void SetSessionKey(BigNumber);
|
||||
void SetConfDir(std::string dir) { _confdir = dir; }
|
||||
void SetScpDir(std::string dir) { _scpdir = dir; }
|
||||
void SetSessionKey(BigNumber key) { _sessionkey = key; }
|
||||
BigNumber GetSessionKey(void) { return _sessionkey; }
|
||||
|
||||
|
||||
|
||||
@ -47,7 +47,7 @@
|
||||
OutputFile="$(OutDir)/$(InputName).exe"
|
||||
LinkIncremental="1"
|
||||
SuppressStartupBanner="TRUE"
|
||||
AdditionalLibraryDirectories="./dep/lib/release/"
|
||||
AdditionalLibraryDirectories=""
|
||||
ProgramDatabaseFile="$(SolutionDir)/temp/$(ProjectName)/Release/PseuWoW.pdb"
|
||||
SubSystem="1"
|
||||
TargetMachine="1"/>
|
||||
@ -108,7 +108,7 @@
|
||||
OutputFile="$(OutDir)/$(InputName).exe"
|
||||
LinkIncremental="1"
|
||||
SuppressStartupBanner="TRUE"
|
||||
AdditionalLibraryDirectories="./deb/lib/"
|
||||
AdditionalLibraryDirectories=""
|
||||
GenerateDebugInformation="TRUE"
|
||||
ProgramDatabaseFile="$(SolutionDir)/temp/$(ProjectName)/PseuWoW.pdb"
|
||||
SubSystem="1"
|
||||
|
||||
@ -14,7 +14,6 @@
|
||||
#include <sstream>
|
||||
|
||||
#include <SDL/SDL.h>
|
||||
//#include "../zthread/ZThread.h"
|
||||
#include "zthread/FastMutex.h"
|
||||
#include "zthread/LockedQueue.h"
|
||||
#include "zthread/Runnable.h"
|
||||
|
||||
@ -177,8 +177,7 @@ std::string stringToUpper(std::string s)
|
||||
return s;
|
||||
}
|
||||
|
||||
template<class T>
|
||||
std::string toString(T num){
|
||||
std::string toString(uint64 num){
|
||||
std::stringstream ss;
|
||||
ss << num;
|
||||
return ss.str();
|
||||
|
||||
@ -23,8 +23,7 @@ void printchex(std::string,bool);
|
||||
// new functions
|
||||
std::string stringToUpper(std::string);
|
||||
std::string stringToLower(std::string);
|
||||
std::string toString(uint64 num);
|
||||
std::string toString(int64 num);
|
||||
std::string toString(uint64);
|
||||
std::string getDateString(void);
|
||||
|
||||
#endif
|
||||
Loading…
x
Reference in New Issue
Block a user