HUD overhaul.

This commit is contained in:
2026-05-03 04:14:03 -04:00
parent 1895386fdf
commit 73868e47db
27 changed files with 397 additions and 178 deletions
+17 -3
View File
@@ -1,6 +1,20 @@
declare function import {
parameter import_path.
copyPath("0:/" + import_path, "1:/" + import_path).
runOncePath(import_path).
parameter p, compileImport is true.
if status = "PRELAUNCH" {
if compileImport {
hudtext("Compiling " + p + " to ksm...", 5, 3, 21, yellow, false).
compile "0:/" + p + ".ks" to "0:/" + p + ".ksm".
SET ks TO archive:OPEN(p + ".ks").
SET ksm TO archive:OPEN(p + ".ksm").
if ks:size > ksm:size {
copyPath("0:/" + p + ".ksm", "1:/" + p).
} else{
copyPath("0:/" + p + ".ks", "1:/" + p).
}
} else{
copyPath("0:/" + p + ".ks", "1:/" + p).
}
}
runOncePath(p).
}