Files
firestorm/Gameleap/code/mw4/Libraries/mlr/MLRPointLight.hpp
T
Cyd 2b8ca921cb Initial full mirror of c:\VWE (source + assets + toolchain + outputs) via Git LFS
Complete disaster-recovery snapshot: engine/game source, game data assets,
VC6 toolchain + DX SDKs, build outputs, deployed game, and _UNUSED archive.
Large binaries in Git LFS; text preserved byte-for-byte (core.autocrlf=false,
no eol attributes). See RECOVERY.md for the one-clone rebuild procedure.
2026-06-24 21:28:16 -05:00

71 lines
1.4 KiB
C++

#pragma once
#define MLR_MLRPOINTLIGHT_HPP
#include "MLR.hpp"
#include "MLRInfiniteLightWithFalloff.hpp"
namespace MidLevelRenderer {
//##########################################################################
//###################### MLRPointLight ###############################
//##########################################################################
class MLRPointLight:
public MLRInfiniteLightWithFalloff
{
public:
static void
InitializeClass();
static void
TerminateClass();
MLRPointLight();
MLRPointLight(
Stuff::MemoryStream *stream,
int version
);
MLRPointLight(Stuff::Page *page);
~MLRPointLight();
void
Save(Stuff::MemoryStream *stream);
void
Write(Stuff::Page *page);
virtual void
LightVertex(const MLRVertexData&);
virtual void
LightCenter(Stuff::RGBAColor&);
virtual LightType
GetLightType()
{ Check_Object(this); return PointLight; }
void
SetLightMap(MLRLightMap *light_map);
virtual MLRLightMap *
GetLightMap()
{Check_Object(this); return lightMap; }
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Class Data Support
//
public:
static ClassData
*DefaultData;
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Testing
//
public:
void
TestInstance();
protected:
MLRLightMap *lightMap;
};
}