| 1 |
cd .. |
| 2 |
mkdir windows |
| 3 |
mkdir windows\build |
| 4 |
mkdir windows\missionpack |
| 5 |
mkdir windows\missionpack\vm |
| 6 |
mkdir windows\build\game |
| 7 |
copy windows_scripts\lcc.exe windows\build\game\ |
| 8 |
copy windows_scripts\q3cpp.exe windows\build\game\ |
| 9 |
copy windows_scripts\q3rcc.exe windows\build\game\ |
| 10 |
copy windows_scripts\q3asm.exe windows\build\game\ |
| 11 |
copy windows_scripts\game_mp.q3asm windows\build\game.q3asm |
| 12 |
|
| 13 |
set LIBRARY= |
| 14 |
set INCLUDE= |
| 15 |
|
| 16 |
set cc=lcc -DQ3_VM -DMISSIONPACK -S -Wf-target=bytecode -Wf-g -I..\..\..\code\game -I..\..\..\code\qcommon %1 |
| 17 |
|
| 18 |
cd windows\build\game |
| 19 |
|
| 20 |
%cc% ../../../code/game/ai_chat.c |
| 21 |
%cc% ../../../code/game/ai_cmd.c |
| 22 |
%cc% ../../../code/game/ai_dmnet.c |
| 23 |
%cc% ../../../code/game/ai_dmq3.c |
| 24 |
%cc% ../../../code/game/ai_main.c |
| 25 |
%cc% ../../../code/game/ai_team.c |
| 26 |
%cc% ../../../code/game/ai_vcmd.c |
| 27 |
%cc% ../../../code/game/bg_lib.c |
| 28 |
%cc% ../../../code/game/bg_misc.c |
| 29 |
%cc% ../../../code/game/bg_pmove.c |
| 30 |
%cc% ../../../code/game/bg_slidemove.c |
| 31 |
%cc% ../../../code/game/g_active.c |
| 32 |
%cc% ../../../code/game/g_admin.c |
| 33 |
%cc% ../../../code/game/g_arenas.c |
| 34 |
%cc% ../../../code/game/g_bot.c |
| 35 |
%cc% ../../../code/game/g_client.c |
| 36 |
%cc% ../../../code/game/g_cmds.c |
| 37 |
%cc% ../../../code/game/g_cmds_ext.c |
| 38 |
%cc% ../../../code/game/g_combat.c |
| 39 |
%cc% ../../../code/game/g_items.c |
| 40 |
%cc% ../../../code/game/g_main.c |
| 41 |
%cc% ../../../code/game/bg_alloc.c |
| 42 |
%cc% ../../../code/game/g_fileops.c |
| 43 |
%cc% ../../../code/game/g_killspree.c |
| 44 |
%cc% ../../../code/game/g_misc.c |
| 45 |
%cc% ../../../code/game/g_missile.c |
| 46 |
%cc% ../../../code/game/g_mover.c |
| 47 |
%cc% ../../../code/game/g_playerstore.c |
| 48 |
rem %cc% ../../../code/game/g_rankings.c |
| 49 |
%cc% ../../../code/game/g_session.c |
| 50 |
%cc% ../../../code/game/g_spawn.c |
| 51 |
%cc% ../../../code/game/g_svcmds.c |
| 52 |
%cc% ../../../code/game/g_svcmds_ext.c |
| 53 |
rem %cc% ../../../code/game/g_syscalls.c |
| 54 |
copy ..\..\..\code\game\g_syscalls.asm .. |
| 55 |
%cc% ../../../code/game/g_target.c |
| 56 |
%cc% ../../../code/game/g_team.c |
| 57 |
%cc% ../../../code/game/g_trigger.c |
| 58 |
%cc% ../../../code/game/g_unlagged.c |
| 59 |
%cc% ../../../code/game/g_utils.c |
| 60 |
%cc% ../../../code/game/g_vote.c |
| 61 |
%cc% ../../../code/game/g_weapon.c |
| 62 |
|
| 63 |
%cc% ../../../code/qcommon/q_math.c |
| 64 |
%cc% ../../../code/qcommon/q_shared.c |
| 65 |
|
| 66 |
q3asm -f ../game |
| 67 |
|
| 68 |
cd ..\..\.. |
| 69 |
pause |