Working on scripts
This commit is contained in:
1 parent
c086fe1ef0
commit
4044acefb2
35 files changed
+107190
-185
No files matched your search
+18
@@ -47,9 +47,16 @@ namespace ZL {
|
||||
|
||||
bool navigationEditorMode = false;
|
||||
|
||||
// Global darklands state — persists across location transitions.
|
||||
bool isDarklands = false;
|
||||
// Returns false if a transition is already in progress.
|
||||
bool startDarklandsTransition();
|
||||
|
||||
Inventory inventory;
|
||||
InteractiveObject* pickedUpObject = nullptr;
|
||||
|
||||
std::unordered_map<std::string, int> globalInts;
|
||||
|
||||
MenuManager menuManager;
|
||||
|
||||
void activateSlowMoEffect();
|
||||
@@ -105,6 +112,17 @@ namespace ZL {
|
||||
static void onResourcesZipError(const char* filename);
|
||||
#endif
|
||||
|
||||
// White-flash transition state
|
||||
float darklandsFlashAlpha = 0.0f;
|
||||
bool darklandsFlashActive = false;
|
||||
bool darklandsFlashFadingIn = true;
|
||||
VertexRenderStruct darklandsFlashQuad;
|
||||
float darklandsFlashQuadW = -1.0f;
|
||||
float darklandsFlashQuadH = -1.0f;
|
||||
|
||||
void updateDarklandsFlash(int64_t deltaMs);
|
||||
void drawDarklandsFlash();
|
||||
|
||||
int64_t newTickCount;
|
||||
int64_t lastTickCount;
|
||||
|
||||
|
||||
Reference in new issue
Block a user