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:
50
Engine/Zalla3D Scene Class/InstanceObjectManager.h
Normal file
50
Engine/Zalla3D Scene Class/InstanceObjectManager.h
Normal file
@@ -0,0 +1,50 @@
|
||||
// InstanceObjectManager.h: interface for the CInstanceObjectManager class.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
#if !defined(AFX_INSTANCEOBJECTMANAGER_H__6B3FA12E_A24E_49BC_8887_79BD0D6F0C70__INCLUDED_)
|
||||
#define AFX_INSTANCEOBJECTMANAGER_H__6B3FA12E_A24E_49BC_8887_79BD0D6F0C70__INCLUDED_
|
||||
|
||||
#if _MSC_VER > 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER > 1000
|
||||
|
||||
#include "3DMath.h"
|
||||
#include <vector>
|
||||
#include "MeshObject.h"
|
||||
|
||||
class CInstanceObjectManager
|
||||
{
|
||||
class InstanceObjectNode
|
||||
{
|
||||
public:
|
||||
CMeshObject *m_pMeshObject;
|
||||
vector3 m_vecPosition;
|
||||
POINT m_ptMousePick;
|
||||
char m_strMeshName[256];
|
||||
int m_ID;
|
||||
color m_Color;
|
||||
float m_fAngle;
|
||||
};
|
||||
DWORD m_ObjectRenderStateBlock;
|
||||
public:
|
||||
void SetAllObjectColor(color Color);
|
||||
void SetInstanceObjectColor(int ID,color Color);
|
||||
int MouseOnCheckInstanceObject(int px,int py);
|
||||
void Create(LPDIRECT3DDEVICE8 pd3dDevice);
|
||||
void Render(LPDIRECT3DDEVICE8 pd3dDevice);
|
||||
long m_TotalInstanceObjectID;
|
||||
std::vector<InstanceObjectNode> m_InstanceObjectList;
|
||||
void DeleteInstanceObject(int InstanceObjectID);
|
||||
int AddInstanceObject(char *strObjectName,vector3 vecPos, float fAngle = 0.0f);
|
||||
|
||||
///// Minotaurs <20>߰<EFBFBD>
|
||||
void DeleteAllObject();
|
||||
void InstanceObjectRotation(int InstanceObjectID,float fDist = 0.0f);
|
||||
|
||||
CInstanceObjectManager();
|
||||
virtual ~CInstanceObjectManager();
|
||||
|
||||
};
|
||||
|
||||
#endif // !defined(AFX_INSTANCEOBJECTMANAGER_H__6B3FA12E_A24E_49BC_8887_79BD0D6F0C70__INCLUDED_)
|
||||
Reference in New Issue
Block a user