Game client codebase including: - CharacterActionControl: Character and creature management - GlobalScript: Network, items, skills, quests, utilities - RYLClient: Main client application with GUI and event handlers - Engine: 3D rendering engine (RYLGL) - MemoryManager: Custom memory allocation - Library: Third-party dependencies (DirectX, boost, etc.) - Tools: Development utilities 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
25 lines
708 B
C++
25 lines
708 B
C++
// LoadedObj.cpp: implementation of the CLoadedObj class.
|
|
//
|
|
//////////////////////////////////////////////////////////////////////
|
|
#pragma warning( disable : 4786 )
|
|
#include <include/Caldron.h>
|
|
#include "./CaldronByteDataObj.h"
|
|
#include "LoadedObj.h"
|
|
#include "GMMemory.h"
|
|
|
|
//////////////////////////////////////////////////////////////////////
|
|
// Construction/Destruction
|
|
//////////////////////////////////////////////////////////////////////
|
|
namespace Caldron { namespace Base {
|
|
CLoadedObj::CLoadedObj(const char *strFileName) : m_bLoaded(false),m_iReloadingCount(0),m_pByteDataObj(0)
|
|
{
|
|
strcpy(m_strName,strFileName);
|
|
}
|
|
CLoadedObj::~CLoadedObj()
|
|
{
|
|
SafeDelete(m_pByteDataObj);
|
|
m_pByteDataObj = 0;
|
|
}
|
|
|
|
|
|
}} |