1:1 source port of the engine and game code; Windows build and system layer; docs. No game files or SDK headers.

This commit is contained in:
CRTkafa 2026-10-22 16:30:40 +08:00
parent c3b032a45a
commit 0ecb47e9cb
3871 changed files with 91080 additions and 1640063 deletions

3
tools/parity/wins.swift Normal file
View file

@ -0,0 +1,3 @@
import CoreGraphics
let l = CGWindowListCopyWindowInfo([.optionAll], kCGNullWindowID) as! [[String: Any]]
for w in l { let o = w["kCGWindowOwnerName"] as? String ?? ""; if o.lowercased().contains("wine") || o.lowercased().contains("choco") { let b = w["kCGWindowBounds"] as! [String: Any]; print(w["kCGWindowNumber"]!, o, w["kCGWindowName"] ?? "-", b["X"]!, b["Y"]!, b["Width"]!, b["Height"]!, "layer", w["kCGWindowLayer"]!, "onscreen", w["kCGWindowIsOnscreen"] ?? 0) } }