From 95b5e136bdf6c5859cd672cb724cc3226f59c4cf Mon Sep 17 00:00:00 2001 From: GutPuncher Date: Sat, 23 Dec 2023 01:25:56 -0500 Subject: [PATCH] Updates --- Go.ZC | 3 --- Load.ZC | 35 ++++++++++++++++++++++++++--------- Load2.ZC | 21 --------------------- Run.ZC | 3 ++- 4 files changed, 28 insertions(+), 34 deletions(-) delete mode 100755 Go.ZC delete mode 100755 Load2.ZC diff --git a/Go.ZC b/Go.ZC deleted file mode 100755 index 8377926..0000000 --- a/Go.ZC +++ /dev/null @@ -1,3 +0,0 @@ - - -XTalkWait(Fs, "#include \"Load\";\n"); \ No newline at end of file diff --git a/Load.ZC b/Load.ZC index f7488f5..20f9c61 100755 --- a/Load.ZC +++ b/Load.ZC @@ -1,12 +1,29 @@ -#define include_noreindex #include -AutoComplete(OFF); +#include "::/3rdParty/Lib/AlecDebug"; +#include "::/3rdParty/Lib/TOSGame"; +#include "::/3rdParty/Lib/PatchRel"; +#include "::/3rdParty/Lib/LibC"; +#include "::/3rdParty/Lib/SDL2"; +#include "::/3rdParty/Lib/ELF64"; -include_noreindex "::/3rdParty/Lib/AlecDebug"; -include_noreindex "::/3rdParty/Lib/TOSGame"; -include_noreindex "::/3rdParty/Lib/PatchRel"; -include_noreindex "::/3rdParty/Lib/LibC"; -include_noreindex "::/3rdParty/Lib/SDL2"; -include_noreindex "::/3rdParty/Lib/ELF64"; +U0 LoadGame() +{ + AutoComplete(OFF); + DocMax; + WinMax; + //SingleUser(TRUE); + try + { + load_elf("chocolate-doom", "-mmap", "-nomouse", "-nosound", + "-nogui", "-iwad", "doom1.wad"); + } + catch + { + Fs->catch_except=TRUE; + SysLog(" LoadGame error\n"); + } + SingleUser(FALSE); + LFBFlush; +} -#include "Load2";; +LoadGame; diff --git a/Load2.ZC b/Load2.ZC deleted file mode 100755 index f432bfc..0000000 --- a/Load2.ZC +++ /dev/null @@ -1,21 +0,0 @@ - -U0 LoadGame() -{ - DocMax; - WinMax; - //SingleUser(TRUE); - try - { - load_elf("chocolate-doom", "-mmap", "-nomouse", "-nosound", - "-nogui", "-iwad", "DOOM2.WAD"); - } - catch - { - Fs->catch_except=TRUE; - SysLog(" Unexpected error ?\n"); - } - SingleUser(FALSE); - LFBFlush; -} - -LoadGame; \ No newline at end of file diff --git a/Run.ZC b/Run.ZC index 3aea2eb..1f47433 100755 --- a/Run.ZC +++ b/Run.ZC @@ -1,7 +1,8 @@ Cd(__DIR__); + In("Mount;\nB\n2*24*1024\n\n\n"); if (!FileFind("::/3rdParty/Lib")) In("#include \"Install\";;\n"); -In("#include \"Go\";;\n"); +XTalkWait(Fs, "#include \"Load\";\n");