mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-07-21 23:40:34 +00:00
Add CreationState to fill in lightdef lookup start.
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
|
||||
#include "Asset/IZoneAssetCreationState.h"
|
||||
#include "Asset/AssetCreationContext.h"
|
||||
#include "Game/IW4/IW4.h"
|
||||
|
||||
namespace IW4
|
||||
{
|
||||
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
|
||||
Reference in New Issue
Block a user