工程(S9类型闸正则修复): FUNC_DECL 认行尾冒号与 static 前缀两洞修复,存量 29 处补类型注解零行为变化,--code 域闸全绿(回执 domain=code)
This commit is contained in:
1 parent
ea9b366de6
commit
ccd31de9ce
15 files changed
+27
-27
No files matched your search
@@ -339,7 +339,7 @@ func _card_by_name(display_name: String) -> Node2D:
|
||||
|
||||
|
||||
# 跨区弹道目标坐标(结算演出链批——组合根传给 SettlementFxView 的全局锚点;壳层口径 C4)
|
||||
func enemy_standee_center(display_name: String):
|
||||
func enemy_standee_center(display_name: String) -> Variant:
|
||||
var card := _card_by_name(display_name)
|
||||
if card == null or not is_instance_valid(card):
|
||||
return null
|
||||
|
||||
@@ -995,7 +995,7 @@ static func _flip_tex(tex: Texture2D) -> Texture2D:
|
||||
# 地板瓦片明度归一(方向稿 _v3_darken_floors 同式移植):8×8 双线性重采样均值测光
|
||||
# (sRGB→线性域,Rec.709 系数),增益 k=(目标/实测)^(1/2.2) 钳 [0.6,1.8],逐通道 sRGB 域线性拉伸。
|
||||
# 输入恒为 freshly-loaded 原图(load_tex 每次盘读)——幂等可重入;32×32 五变体开销可忽略
|
||||
static func _normalize_floor_luma(tex: Texture2D, target_l: float = 0.10, lumas_out = null) -> Texture2D:
|
||||
static func _normalize_floor_luma(tex: Texture2D, target_l: float = 0.10, lumas_out: Variant = null) -> Texture2D:
|
||||
var img: Image = tex.get_image()
|
||||
if img.is_compressed():
|
||||
img.decompress()
|
||||
|
||||
Reference in new issue
Block a user