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
581 B
C++
30 lines
581 B
C++
// ObjectScene.cpp: implementation of the CObjectScene class.
|
|
//
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
#include "ObjectScene.h"
|
|
#include "SceneManager.h"
|
|
|
|
//////////////////////////////////////////////////////////////////////
|
|
// Construction/Destruction
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
CObjectScene::CObjectScene()
|
|
{
|
|
|
|
|
|
m_iCurrentLight = 0;
|
|
|
|
|
|
}
|
|
|
|
CObjectScene::~CObjectScene()
|
|
{
|
|
if(m_pObject)
|
|
{
|
|
CSceneManager::m_ObjectContainer.DeleteObject(m_strObjectName,m_isAlpha,m_isLight);
|
|
m_pObject=NULL;
|
|
}
|
|
|
|
}
|