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>
31 lines
656 B
C++
31 lines
656 B
C++
// SectorHeightMap.cpp: implementation of the CSectorHeightMap class.
|
|
//
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
#include "SectorHeightMap.h"
|
|
#include <memory.h>
|
|
#include <stdio.h>
|
|
#include "GMMemory.h"
|
|
|
|
//////////////////////////////////////////////////////////////////////
|
|
// Construction/Destruction
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
CSectorHeightMap::CSectorHeightMap()
|
|
{
|
|
//memset(m_pHeightData,0,sizeof(m_pHeightData));
|
|
m_pHeightData=NULL;
|
|
m_FilePos=0;
|
|
}
|
|
|
|
CSectorHeightMap::~CSectorHeightMap()
|
|
{
|
|
if(m_FilePos==0)
|
|
{
|
|
if(m_pHeightData)
|
|
{
|
|
delete [] m_pHeightData;
|
|
}
|
|
}
|
|
}
|