MxVariable subclass for fsmovie setting (#147)

* LegoFullScreenMovie variable and related

* Changes after review
- Reduce scope on global strings
- Size assert for LegoGameState (based on the constructor references only)
- 1 -> TRUE for EnableFullScreenMovie
This commit is contained in:
MS
2023-09-29 16:38:08 -04:00
committed by GitHub
parent b77cd067d3
commit 0dc8dd641a
11 changed files with 103 additions and 5 deletions

View File

@@ -1,8 +1,12 @@
#ifndef LEGOGAMESTATE_H
#define LEGOGAMESTATE_H
#include "decomp.h"
#include "mxtypes.h"
#include "legobackgroundcolor.h"
#include "legofullscreenmovie.h"
// SIZE 0x430 (at least)
class LegoGameState
{
public:
@@ -15,7 +19,12 @@ public:
__declspec(dllexport) void SetSavePath(char *p);
private:
char *m_savePath;
char *m_savePath; // 0x0
undefined m_unk04[20];
LegoBackgroundColor *m_backgroundColor; // 0x18
LegoBackgroundColor *m_tempBackgroundColor; // 0x1c
LegoFullScreenMovie *m_fullScreenMovie; // 0x20
undefined m_unk24[1036];
};
#endif // LEGOGAMESTATE_H