diff options
author | F1F7Y <64418963+F1F7Y@users.noreply.github.com> | 2024-09-02 17:50:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-02 17:50:37 +0200 |
commit | ce21abe9c4c58d7c7d986fb01824ab107081ad2f (patch) | |
tree | d723f3ddab3994adfd0391eed5d53faf8db26e65 /primedev/vscript/languages/squirrel_re/squirrel/sqcompiler.h | |
parent | 79fbb9b9a751d6c3a863b1fed95cd8480a1586ab (diff) | |
download | NorthstarLauncher-ce21abe9c4c58d7c7d986fb01824ab107081ad2f.tar.gz NorthstarLauncher-ce21abe9c4c58d7c7d986fb01824ab107081ad2f.zip |
vscript: Move squirrel types to their respective files (#788)v1.27.6-rc4v1.27.6
Refactor logic to move Squirrel types to their own respective files and extend existing layouts in the process where applicable.
Contains additional smaller fixes.
Diffstat (limited to 'primedev/vscript/languages/squirrel_re/squirrel/sqcompiler.h')
-rw-r--r-- | primedev/vscript/languages/squirrel_re/squirrel/sqcompiler.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/primedev/vscript/languages/squirrel_re/squirrel/sqcompiler.h b/primedev/vscript/languages/squirrel_re/squirrel/sqcompiler.h new file mode 100644 index 00000000..5a54751c --- /dev/null +++ b/primedev/vscript/languages/squirrel_re/squirrel/sqcompiler.h @@ -0,0 +1,26 @@ +#pragma once
+
+#include "vscript/languages/squirrel_re/include/squirrel.h"
+#include "vscript/languages/squirrel_re/squirrel/sqlexer.h"
+
+struct SQCompiler
+{
+ BYTE gap0[4];
+ int _token;
+ BYTE gap_8[8];
+ SQObject object_10;
+ SQLexer lexer;
+ int64_t qword90;
+ int64_t qword98;
+ BYTE gapA0[280];
+ bool bFatalError;
+ BYTE gap1B9[143];
+ int64_t qword248;
+ int64_t qword250;
+ int64_t qword258;
+ int64_t qword260;
+ BYTE gap268[280];
+ HSQUIRRELVM pSQVM;
+ unsigned char gap_288[8];
+};
+static_assert(sizeof(SQCompiler) == 0x390);
|