93 lines
2.7 KiB
C
93 lines
2.7 KiB
C
|
/****************************************************************************
|
|||
|
Copyright (c) 2011-2013,WebJet Business Division,CYOU
|
|||
|
|
|||
|
http://www.genesis-3d.com.cn
|
|||
|
|
|||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|||
|
of this software and associated documentation files (the "Software"), to deal
|
|||
|
in the Software without restriction, including without limitation the rights
|
|||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|||
|
copies of the Software, and to permit persons to whom the Software is
|
|||
|
furnished to do so, subject to the following conditions:
|
|||
|
|
|||
|
The above copyright notice and this permission notice shall be included in
|
|||
|
all copies or substantial portions of the Software.
|
|||
|
|
|||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|||
|
THE SOFTWARE.
|
|||
|
****************************************************************************/
|
|||
|
#ifndef _GENESISLOADERDATA_H_
|
|||
|
#define _GENESISLOADERDATA_H_
|
|||
|
|
|||
|
|
|||
|
#ifdef WIN32
|
|||
|
|
|||
|
|
|||
|
#include <Windows.h>
|
|||
|
|
|||
|
class GenesisLoaderData
|
|||
|
{
|
|||
|
public:
|
|||
|
GenesisLoaderData()
|
|||
|
{
|
|||
|
hWnd = NULL;
|
|||
|
SecureZeroMemory(sHomeDir, sizeof(sHomeDir));
|
|||
|
SecureZeroMemory(sSystemDir, sizeof(sSystemDir));
|
|||
|
SecureZeroMemory(sShaderDir, sizeof(sShaderDir));
|
|||
|
//SecureZeroMemory(sAssetName, sizeof(sAssetName));
|
|||
|
SecureZeroMemory(sResUrlBase, sizeof(sResUrlBase));
|
|||
|
SecureZeroMemory(sSceneName, sizeof(sSceneName));
|
|||
|
SecureZeroMemory(sFileServiceDir, sizeof(sFileServiceDir));
|
|||
|
SecureZeroMemory(sEngineDir, sizeof(sEngineDir));
|
|||
|
//bUseLocalRes = false;
|
|||
|
bSupportSctiptDebug = false;
|
|||
|
uGameWidth = 1024;
|
|||
|
uGameHeight = 768;
|
|||
|
bGui = true;
|
|||
|
bFileService = false;
|
|||
|
bUsePrecompilerShader = false;
|
|||
|
}
|
|||
|
|
|||
|
public:
|
|||
|
//<2F><><EFBFBD>ھ<EFBFBD><DABE><EFBFBD>
|
|||
|
HWND hWnd;
|
|||
|
//<2F><><EFBFBD><EFBFBD>Ϸ<EFBFBD><CFB7><EFBFBD><EFBFBD>Դ<EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
char sHomeDir[MAX_PATH];
|
|||
|
// System<65><6D>ԴĿ¼
|
|||
|
char sSystemDir[MAX_PATH];
|
|||
|
// Shader<65><72>ԴĿ¼
|
|||
|
char sShaderDir[MAX_PATH];
|
|||
|
//<2F><><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
char sSceneName[MAX_PATH];
|
|||
|
//<2F><>Դ<EFBFBD><D4B4><EFBFBD><EFBFBD>URL<52><4C><EFBFBD><EFBFBD>
|
|||
|
char sResUrlBase[MAX_PATH];
|
|||
|
//file service<63><65><EFBFBD>ڵ<EFBFBD>Ŀ¼
|
|||
|
char sFileServiceDir[MAX_PATH];
|
|||
|
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ŀ¼
|
|||
|
char sEngineDir[MAX_PATH];
|
|||
|
|
|||
|
//<2F><>Ϸ<EFBFBD>ֱ<EFBFBD><D6B1><EFBFBD>
|
|||
|
unsigned int uGameWidth;
|
|||
|
unsigned int uGameHeight;
|
|||
|
|
|||
|
//<2F>Ƿ<EFBFBD>֧<EFBFBD>ֽű<D6BD><C5B1><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
bool bSupportSctiptDebug;
|
|||
|
////<2F>Ƿ<EFBFBD>ֻʹ<D6BB>ñ<EFBFBD><C3B1><EFBFBD><EFBFBD><EFBFBD>Դ
|
|||
|
//bool bUseLocalRes;
|
|||
|
//<2F>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD><EFBFBD>ҳ<EFBFBD>汾
|
|||
|
bool bWebVersion;
|
|||
|
//<2F>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD><EFBFBD>GUIϵͳ<CFB5><CDB3>
|
|||
|
bool bGui;
|
|||
|
//<2F>Ƿ<EFBFBD>ʹ<EFBFBD><CAB9>file service
|
|||
|
bool bFileService;
|
|||
|
bool bUsePrecompilerShader;
|
|||
|
|
|||
|
};
|
|||
|
#endif // _GENESISLOADERDATA_H_
|
|||
|
|
|||
|
#endif
|