Move git root from Client/ to src/ to track all source code: - Client: Game client source (moved to Client/Client/) - Server: Game server source - GameTools: Development tools - CryptoSource: Encryption utilities - database: Database scripts - Script: Game scripts - rylCoder_16.02.2008_src: Legacy coder tools - GMFont, Game: Additional resources 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
55 lines
1.2 KiB
C++
55 lines
1.2 KiB
C++
// Z3DCharacterModel.cpp: implementation of the CZ3DCharacterModel class.
|
|
//
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
#include "Z3DCharacterModel.h"
|
|
|
|
//////////////////////////////////////////////////////////////////////
|
|
// Construction/Destruction
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
#include "SimpleParser.h"
|
|
|
|
|
|
// static members
|
|
std::list<CZ3DCharacterModel*> CZ3DCharacterModel::ms_list_pModel;
|
|
SimpleString CZ3DCharacterModel::ms_strDataPath;
|
|
|
|
|
|
bool CZ3DCharacterModel::_Init( const char* szDataPath )
|
|
{
|
|
//_ASSERT( pStub );
|
|
//ms_rpStub = pStub;
|
|
int l = strlen( szDataPath );
|
|
|
|
if( '\\' == szDataPath[l-1] || '/' == szDataPath[l-1] )
|
|
{
|
|
ms_strDataPath( szDataPath );
|
|
}
|
|
else
|
|
{
|
|
ms_strDataPath( szDataPath, "/" );
|
|
}
|
|
|
|
/*g_ContOutfitTable.SetFilePath( szDataPath );
|
|
g_ContWeaponTable.SetFilePath( szDataPath );
|
|
|
|
// preloading desired outfit tables
|
|
H3DOutfitTableTag tagTmp;
|
|
if( false == g_ContOutfitTable.GetObject( tagTmp, "PC_MAN.outfit" ) )
|
|
{
|
|
return false;
|
|
}
|
|
if( false == g_ContOutfitTable.GetObject( tagTmp, "PC_WOMAN.outfit" ) )
|
|
{
|
|
return false;
|
|
}*/
|
|
|
|
return true;
|
|
}
|
|
|
|
//void CZ3DCharacterModel::Close();
|
|
|
|
|
|
|