⑦T2: 输入锁死防护+P2甲角标迁宿主+T3当局数据只读区块(三件互锁一批落码)——modal_stack 增 has_open_excluding_any 多排除式查询(has_open_excluding 委托零语义变);main.gd 输入锁/暂停角标置灰/暂停守卫判据全改排除式排除调试浮窗(审计🔴S1+防线:DS_DEBUG默认开×遮挡复活×has_open=棋盘锁死破局)+开冒险/续玩路径显式关浮窗+_show_debug_overlay 门禁改向对局中可开(C6 单口保持)+_start_debug_levels/_on_tune_simulate 对局中守卫(长程异步模拟与活跃结算并存态不开放)+DS_DEBUG=1 启动即开(P3甲)+当局数据六项只读投影 _debug_run_data/_current_master_seed 单点(:1174 诊断种子重算冒充病灶同批改向)+模态开合单口挂 _sync_debug_overlay;P2甲:战斗屏 HUD 角标对(HBox 并排锚角距16px)+地图屏顶栏调试角标(17卡③同形制 DS_DEBUG 门控)+开始层 dbgbtn 退役(ui_assembler 返回键集换代);T3:debug_overlay 当局数据只读区块(种子/关卡/节点/HP/GP/钥石六项标签喂入制零信号连接零动效)+is_running 语义拆分(模拟在跑≠对局禁用)+set_context_locked 对局中两钮禁用+desc 文案换代;冒烟 811/0

This commit is contained in:
DKChan committed 2026-10-07 06:43:50 +08:00
1 parent 40fb4a5c1b
commit dd2c57c4cf
6 files changed
+190 -42

No files matched your search

+9 -1
View File
@@ -47,8 +47,16 @@ func has_open() -> bool:
#(关卡地图屏系登记册模态成员=常态屏态,其上的地图屏角标必须可点;其余任一层开着=角标置灰)。
# 只读查询零副作用——登记序/开合记账语义零改动。
func has_open_excluding(skip: Control) -> bool:
return has_open_excluding_any([skip])
# 多排除式开态查询(迭代 18 卡⑦ T2 防护——调试浮窗对局中可开后,棋盘输入锁与暂停角标置灰
# 判据须同时排除调试浮窗自身〔否则 DS_DEBUG 默认开×遮挡复活×has_open 组合=棋盘永久锁死——
# 审计🔴 S1+ 停机点防线〕;地图屏场景=地图屏+调试浮窗双排除)。语义同 has_open_excluding,
# skip 集参数化;只读查询零副作用,登记序/开合记账语义零改动。
func has_open_excluding_any(skips: Array) -> bool:
for m in _list:
if m == skip:
if skips.has(m):
continue
if is_instance_valid(m) and m.visible:
return true