diff --git a/plugins/ezscript/compile.bat b/plugins/ezscript/compile.bat new file mode 100644 index 000000000..872edc9e0 --- /dev/null +++ b/plugins/ezscript/compile.bat @@ -0,0 +1,15 @@ +@echo off +call ..\paths.bat + +del vm\*.asm +rmdir vm +mkdir vm +cd vm +lcc -DQ3_VM -S -Wf-target=bytecode -Wf-g ../ezscript.c +lcc -DQ3_VM -S -Wf-target=bytecode -Wf-g ../../plugin.c +lcc -DQ3_VM -S -Wf-target=bytecode -Wf-g ../../qvm_api.c +q3asm -f ../ezscript + +cd .. + +pause \ No newline at end of file diff --git a/plugins/ezscript/ezscript.q3asm b/plugins/ezscript/ezscript.q3asm new file mode 100644 index 000000000..e5252f65f --- /dev/null +++ b/plugins/ezscript/ezscript.q3asm @@ -0,0 +1,4 @@ +-o "ezscript" +plugin +qvm_api +ezscript diff --git a/plugins/ezscript/install.bat b/plugins/ezscript/install.bat new file mode 100644 index 000000000..0c3797a1c --- /dev/null +++ b/plugins/ezscript/install.bat @@ -0,0 +1,4 @@ +call ..\paths.bat +mkdir %PluginsDir% +copy vm\*.qvm %PluginsDir% +pause \ No newline at end of file