Initial commit: ROW Client source code
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>
This commit is contained in:
48
Engine/Zalla3D Scene Class/ObjectContainer.h
Normal file
48
Engine/Zalla3D Scene Class/ObjectContainer.h
Normal file
@@ -0,0 +1,48 @@
|
||||
// ObjectContainer.h: interface for the CObjectContainer class.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
#if !defined(AFX_OBJECTCONTAINER_H__0BA964B1_EE00_4AC8_AE46_07623AB11A0C__INCLUDED_)
|
||||
#define AFX_OBJECTCONTAINER_H__0BA964B1_EE00_4AC8_AE46_07623AB11A0C__INCLUDED_
|
||||
|
||||
#if _MSC_VER > 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER > 1000
|
||||
|
||||
#include <vector>
|
||||
#include "BaseDataDefine.h"
|
||||
#include "MeshObject.h"
|
||||
|
||||
|
||||
class CObjectContainer
|
||||
{
|
||||
class ObjectNode
|
||||
{
|
||||
public:
|
||||
long m_nUsed;
|
||||
char m_strObjectName[MAX_NAMEBUFFER];
|
||||
CMeshObject *m_pObject;
|
||||
bool m_isAlpha;
|
||||
bool m_isLight;
|
||||
ObjectNode(CMeshObject *pObject,char *strObjectName,bool isAlpha,bool isLight)
|
||||
{
|
||||
strcpy(m_strObjectName,strObjectName);
|
||||
strupr(m_strObjectName); // <20≯<EFBFBD><CCB8><EFBFBD><EFBFBD><EFBFBD> <20>빮<EFBFBD><EBB9AE>ȭ. <20><EFBFBD> <20>빮<EFBFBD>ڷ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>Ұ<EFBFBD>
|
||||
m_pObject=pObject;
|
||||
m_isAlpha=isAlpha;
|
||||
m_isLight=isLight;
|
||||
m_nUsed=1;
|
||||
}
|
||||
};
|
||||
std::vector<ObjectNode*> m_ObjectContainer;
|
||||
public:
|
||||
void DeleteAllObject();
|
||||
void DeleteObject(char *strObjectName,bool isAlpha,bool isLight);
|
||||
void Load(char *strObjectName,bool isAlpha,bool isLight);
|
||||
CMeshObject* GetObject(char *strObjectName,bool isAlpha,bool isLight);
|
||||
CObjectContainer();
|
||||
virtual ~CObjectContainer();
|
||||
|
||||
};
|
||||
|
||||
#endif // !defined(AFX_OBJECTCONTAINER_H__0BA964B1_EE00_4AC8_AE46_07623AB11A0C__INCLUDED_)
|
||||
Reference in New Issue
Block a user