Remove Win32API calls & upgrade to modern Ruby (#96)

* Win32API removal + Ruby 3 updates
* Update binaries to match mkxp-z 2.1
This commit is contained in:
Roza
2021-02-25 17:09:59 -05:00
committed by GitHub
parent 87285a2a1f
commit 1f2309c4d2
36 changed files with 445 additions and 2224 deletions

View File

@@ -1,8 +1,4 @@
$MKXP = !!defined?(System)
def mkxp?
return $MKXP
end
$VERBOSE = nil
def pbSetWindowText(string)
System.set_window_title(string || System.game_title)
@@ -29,4 +25,4 @@ def pbSetResizeFactor(factor)
Graphics.scale = (factor + 1) * 0.5
Graphics.center
end
end
end