Files
Client/Engine/Zalla3D Scene Class/SkyScene.h
LGram16 e067522598 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>
2025-11-29 16:24:34 +09:00

49 lines
1.3 KiB
C++

// SkyScene.h: interface for the CSkyScene class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_SKYSCENE_H__B949810B_EC65_46A5_B49C_99EC7C2B3D05__INCLUDED_)
#define AFX_SKYSCENE_H__B949810B_EC65_46A5_B49C_99EC7C2B3D05__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "SceneNode.h"
#include "Texture.h"
#include <Vertex.h>
#include "SectorDefine.h"
#include "StateLog.h"
const float SKYSIZE=500000;
const long SKYDIVIDE=10;
const long SKYVERTEX=SKYDIVIDE+2;
const long STARVERTEX=200;
class CSkyScene : public CSceneNode
{
//D3DLVERTEX m_skymesh[SKYVERTEX];
CTexture m_SkyTexture[5];
LVertex m_SkyVertex[SKYVERTEX];
LVertex m_CloudVertex[MAX_CLOUD][SKYVERTEX];
LVertex m_StarVertex[STARVERTEX];
//LVertex m_SkyBoxVertex[
//color m_FogLayer[MAX_CLOUD];
float m_fFogLayerHeight[MAX_CLOUD];
public:
void RenderForGlare(LPDIRECT3DDEVICE8 pd3dDevice);
void Update(float fUpdate);
static CTexture m_CloudTexture;
void RenderCloud(LPDIRECT3DDEVICE8 pd3dDevice);
void RenderSkyBox(LPDIRECT3DDEVICE8 pd3dDevice);
void SetColor(DWORD dwColor,DWORD dwCenterColor,DWORD *dwLayerColor);
void Render(LPDIRECT3DDEVICE8 pd3dDevice);
void Create();
CSkyScene();
virtual ~CSkyScene();
};
#endif // !defined(AFX_SKYSCENE_H__B949810B_EC65_46A5_B49C_99EC7C2B3D05__INCLUDED_)