aboutsummaryrefslogtreecommitdiffstats
path: root/code/game/game_ta.bat
diff options
context:
space:
mode:
Diffstat (limited to 'code/game/game_ta.bat')
-rwxr-xr-xcode/game/game_ta.bat86
1 files changed, 86 insertions, 0 deletions
diff --git a/code/game/game_ta.bat b/code/game/game_ta.bat
new file mode 100755
index 0000000..96db7eb
--- /dev/null
+++ b/code/game/game_ta.bat
@@ -0,0 +1,86 @@
+rem make sure we have a safe environement
+set LIBRARY=
+set INCLUDE=
+
+mkdir vm
+cd vm
+set cc=lcc -DQ3_VM -DMISSIONPACK -S -Wf-target=bytecode -Wf-g -I..\..\cgame -I..\..\game -I..\..\ui %1
+
+%cc% ../g_main.c
+@if errorlevel 1 goto quit
+
+%cc% ../g_syscalls.c
+@if errorlevel 1 goto quit
+
+%cc% ../bg_misc.c
+@if errorlevel 1 goto quit
+%cc% ../bg_lib.c
+@if errorlevel 1 goto quit
+%cc% ../bg_pmove.c
+@if errorlevel 1 goto quit
+%cc% ../bg_slidemove.c
+@if errorlevel 1 goto quit
+%cc% ../q_math.c
+@if errorlevel 1 goto quit
+%cc% ../q_shared.c
+@if errorlevel 1 goto quit
+
+%cc% ../ai_dmnet.c
+@if errorlevel 1 goto quit
+%cc% ../ai_dmq3.c
+@if errorlevel 1 goto quit
+%cc% ../ai_main.c
+@if errorlevel 1 goto quit
+%cc% ../ai_chat.c
+@if errorlevel 1 goto quit
+%cc% ../ai_cmd.c
+@if errorlevel 1 goto quit
+%cc% ../ai_team.c
+@if errorlevel 1 goto quit
+
+%cc% ../g_active.c
+@if errorlevel 1 goto quit
+%cc% ../g_arenas.c
+@if errorlevel 1 goto quit
+%cc% ../g_bot.c
+@if errorlevel 1 goto quit
+%cc% ../g_client.c
+@if errorlevel 1 goto quit
+%cc% ../g_cmds.c
+@if errorlevel 1 goto quit
+%cc% ../g_combat.c
+@if errorlevel 1 goto quit
+%cc% ../g_items.c
+@if errorlevel 1 goto quit
+%cc% ../g_mem.c
+@if errorlevel 1 goto quit
+%cc% ../g_misc.c
+@if errorlevel 1 goto quit
+%cc% ../g_missile.c
+@if errorlevel 1 goto quit
+%cc% ../g_mover.c
+@if errorlevel 1 goto quit
+%cc% ../g_session.c
+@if errorlevel 1 goto quit
+%cc% ../g_spawn.c
+@if errorlevel 1 goto quit
+%cc% ../g_svcmds.c
+@if errorlevel 1 goto quit
+%cc% ../g_target.c
+@if errorlevel 1 goto quit
+%cc% ../g_team.c
+@if errorlevel 1 goto quit
+%cc% ../g_trigger.c
+@if errorlevel 1 goto quit
+%cc% ../g_utils.c
+@if errorlevel 1 goto quit
+%cc% ../g_weapon.c
+@if errorlevel 1 goto quit
+%cc% ../ai_vcmd.c
+@if errorlevel 1 goto quit
+
+
+
+q3asm -f ../game_ta
+:quit
+cd ..