Files
firestorm/Gameleap/code/mw4/Libraries/mlr/MLRCenterPointLight.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

72 lines
1.5 KiB
C++

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