isle-portable/LEGO1/realtime/realtimeview.h
Christian Semmler 9ebeda5c0e
Add Max LOD and Max Allowed Extras configs (#273)
* Add new config options

* Fix defaults

* Use global for `m_maxAllowedExtras`

* Revert
2025-06-10 01:08:13 +00:00

23 lines
462 B
C++

#ifndef REALTIMEVIEW_H
#define REALTIMEVIEW_H
#include "lego1_export.h"
extern float g_userMaxLodPower;
class RealtimeView {
public:
RealtimeView();
~RealtimeView();
static float GetPartsThreshold();
LEGO1_EXPORT static float GetUserMaxLOD();
static void SetPartsThreshold(float);
static void UpdateMaxLOD();
LEGO1_EXPORT static void SetUserMaxLOD(float);
static float GetUserMaxLodPower() { return g_userMaxLodPower; }
};
#endif // REALTIMEVIEW_H