Restructure repository to include all source folders
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>
This commit is contained in:
42
GameTools/Zallad3D SceneClass/LightContainer.h
Normal file
42
GameTools/Zallad3D SceneClass/LightContainer.h
Normal file
@@ -0,0 +1,42 @@
|
||||
// LightContainer.h: interface for the CLightContainer class.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
#if !defined(AFX_LIGHTCONTAINER_H__0471965C_61AD_4869_89DB_11720B5E2361__INCLUDED_)
|
||||
#define AFX_LIGHTCONTAINER_H__0471965C_61AD_4869_89DB_11720B5E2361__INCLUDED_
|
||||
|
||||
#if _MSC_VER > 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER > 1000
|
||||
|
||||
#include "LightObject.h"
|
||||
#include "BaseDataDefine.h"
|
||||
#include <List.h>
|
||||
|
||||
|
||||
class CLightContainer
|
||||
{
|
||||
class LightObjectNode
|
||||
{
|
||||
public:
|
||||
long m_nUsed;
|
||||
char m_strLightName[MAX_NAMEBUFFER];
|
||||
CLightObject *m_pLightObject;
|
||||
LightObjectNode(CLightObject *pLightObject,char *strLightName)
|
||||
{
|
||||
strcpy(m_strLightName,strLightName);
|
||||
m_pLightObject=pLightObject;
|
||||
m_nUsed=1;
|
||||
}
|
||||
};
|
||||
List<LightObjectNode*> m_LightContainer;
|
||||
public:
|
||||
void DeleteAllObject();
|
||||
void DeleteLightObject(char *strLightObjectName,float fLightRange,color LightColor);
|
||||
void Load(char *strLightObjectName,float fLightRange,color LightColor);
|
||||
CLightObject * GetLightObject(char *strLightObjectName,float fLightRange,color LightColor);
|
||||
CLightContainer();
|
||||
virtual ~CLightContainer();
|
||||
};
|
||||
|
||||
#endif // !defined(AFX_LIGHTCONTAINER_H__0471965C_61AD_4869_89DB_11720B5E2361__INCLUDED_)
|
||||
Reference in New Issue
Block a user