66 lines
1.6 KiB
C
66 lines
1.6 KiB
C
|
|
#pragma once
|
|||
|
|
|
|||
|
|
#include "Timer.h"
|
|||
|
|
#include "Singleton.h"
|
|||
|
|
|
|||
|
|
class CInputDevice;
|
|||
|
|
class CTaskManager;
|
|||
|
|
class CDnTableDB;
|
|||
|
|
class CTask;
|
|||
|
|
class CEtSoundEngine;
|
|||
|
|
class CClientSessionManager;
|
|||
|
|
class CDnActionBase;
|
|||
|
|
class CDnWorldImp;
|
|||
|
|
class CEtResourceMng;
|
|||
|
|
|
|||
|
|
class CDnMainFrame : public CSingleton<CDnMainFrame> {
|
|||
|
|
public:
|
|||
|
|
CDnMainFrame();
|
|||
|
|
~CDnMainFrame();
|
|||
|
|
|
|||
|
|
// Window <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>Ұ͵<D2B0> Hacking tool <20><><EFBFBD><EFBFBD> üũ<C3BC><C5A9><EFBFBD><EFBFBD>..
|
|||
|
|
bool PreInitialize();
|
|||
|
|
|
|||
|
|
// Engine <20><><EFBFBD><EFBFBD>
|
|||
|
|
bool InitializeDevice();
|
|||
|
|
bool FinalizeDevice();
|
|||
|
|
|
|||
|
|
bool PreloadResource();
|
|||
|
|
|
|||
|
|
// <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
|||
|
|
bool Initialize();
|
|||
|
|
bool Finalize();
|
|||
|
|
|
|||
|
|
//SetMultiCommmon
|
|||
|
|
void InitializeMultiCommon(int iCnt, std::vector <unsigned int> * vList); //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ϰ<EFBFBD> ID<49><44> <20><><EFBFBD><EFBFBD><EFBFBD>̳ʿ<CCB3> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȣ~
|
|||
|
|
void SetMultiThreadID(unsigned int iID); //
|
|||
|
|
|
|||
|
|
// Kernel <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
|||
|
|
|
|||
|
|
protected:
|
|||
|
|
CDnTableDB *m_pTableDB;
|
|||
|
|
CEtResourceMng *m_pResMng;
|
|||
|
|
CEtUIXML *m_pUIXML;
|
|||
|
|
#ifdef PRE_ADD_EXCEPTIONAL_MAKESTRING
|
|||
|
|
CEtExceptionalUIXML* m_pExceptionalUIXML;
|
|||
|
|
#endif // PRE_ADD_EXCEPTIONAL_MAKESTRING
|
|||
|
|
|
|||
|
|
std::map<int, std::string> m_mapCodePageString;
|
|||
|
|
|
|||
|
|
std::vector<EtResourceHandle> m_hVecEngineResList;
|
|||
|
|
std::vector<CDnActionBase *> m_pVecActionList;
|
|||
|
|
std::vector<CDnWorldImp *> m_pVecWorldList;
|
|||
|
|
|
|||
|
|
protected:
|
|||
|
|
void InitializeLocalize();
|
|||
|
|
void PreloadSkinFile( int nTableID, char *szLable );
|
|||
|
|
void PreloadAniFile( int nTableID, char *szLable );
|
|||
|
|
void PreloadActFile( int nTableID, char *szLable );
|
|||
|
|
void FinalizePreloadFile();
|
|||
|
|
|
|||
|
|
void PreloadSkinFile( const char *szFileName );
|
|||
|
|
void PreloadAniFile( const char *szFileName );
|
|||
|
|
void PreloadActFile( const char *szFileName );
|
|||
|
|
|
|||
|
|
protected:
|
|||
|
|
};
|