fix(tools): load login flags for Quirrel compilation
Verified full GUI compilation on both supported game versions and confirmed that a deliberate unknown binding fails.
This commit is contained in:
1 parent
1e3843b7e9
commit
223f1ef638
1 file changed
+5
@@ -64,6 +64,7 @@ let typeMap = {
|
||||
Float = types.Float
|
||||
Bool = types.Bool
|
||||
CtrlsInGui = __CONTROL_MASKS__
|
||||
LOGIN_STATE = __LOGIN_MASKS__
|
||||
QUEUE_TYPE_BIT = __QUEUE_MASKS__
|
||||
}
|
||||
function readText(p) {
|
||||
@@ -182,6 +183,10 @@ def verify_gui_patches(
|
||||
"__CONTROL_MASKS__",
|
||||
_integer_table_literal(stock_archive, "globalscripts/sharedenums.nut", r"\benum\s+CtrlsInGui"),
|
||||
)
|
||||
harness_source = harness_source.replace(
|
||||
"__LOGIN_MASKS__",
|
||||
_integer_table_literal(stock_archive, "globals/login/loginconsts.nut", r"\benum\s+LOGIN_STATE"),
|
||||
)
|
||||
harness_source = harness_source.replace(
|
||||
"__QUEUE_MASKS__",
|
||||
_integer_table_literal(stock_archive, "scripts/queue/queuetypebit.nut", r"\breturn\s+freeze\("),
|
||||
|
||||
Reference in new issue
Block a user