2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-05-17 07:21:43 +00:00

Add CreationState to fill in lightdef lookup start.

This commit is contained in:
njohnson
2026-05-02 15:29:50 -04:00
committed by Jan Laupetin
parent 531b4811ca
commit e92681914f
6 changed files with 174 additions and 0 deletions
@@ -0,0 +1,21 @@
#pragma once
#include "Asset/IZoneAssetCreationState.h"
#include "Asset/AssetCreationContext.h"
#include "Game/IW5/IW5.h"
namespace IW5
{
constexpr auto MAX_LMAP_USAGE = 512;
class LightDefAssetCreationState : public IZoneAssetCreationState
{
public:
LightDefAssetCreationState();
void SetLightDefLookupStart(GfxLightDef* lightDef, AssetCreationContext& context);
private:
int m_lmap_pixels_used_for_falloff;
};
} // namespace light_def