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>
30 lines
634 B
C++
30 lines
634 B
C++
// SectorHeightMap.cpp: implementation of the CSectorHeightMap class.
|
|
//
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
#include "SectorHeightMap.h"
|
|
#include <memory.h>
|
|
#include <stdio.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;
|
|
}
|
|
}
|
|
}
|