mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-06-06 22:53:35 +00:00
26 lines
739 B
C++
26 lines
739 B
C++
#ifndef CPOINTOFINTERESTEXTRA_H
|
|
#define CPOINTOFINTERESTEXTRA_H
|
|
|
|
#include "CScriptExtra.h"
|
|
#include "Core/Resource/Scan/CScan.h"
|
|
#include <Common/CColor.h>
|
|
|
|
class CPointOfInterestExtra : public CScriptExtra
|
|
{
|
|
// Tint POI billboard orange/red depending on scan importance
|
|
CAssetRef mScanProperty;
|
|
TResPtr<CScan> mpScanData;
|
|
CBoolRef mScanIsCritical;
|
|
|
|
public:
|
|
explicit CPointOfInterestExtra(CScriptObject *pInstance, CScene *pScene, CScriptNode *pParent = 0);
|
|
void PropertyModified(IProperty* pProperty);
|
|
void ModifyTintColor(CColor& Color);
|
|
CScan* GetScan() const { return mpScanData; }
|
|
|
|
static const CColor skRegularColor;
|
|
static const CColor skImportantColor;
|
|
};
|
|
|
|
#endif // CPOINTOFINTERESTEXTRA_H
|