Debian Codegraph @

windows_scripts/windows_compile_cgame_missionpack.bat

raw
1 cd ..
2 mkdir windows
3 mkdir windows\build
4 mkdir windows\missionpack
5 mkdir windows\missionpack\vm
6 mkdir windows\build\cgame
7 copy windows_scripts\lcc.exe windows\build\cgame\
8 copy windows_scripts\q3cpp.exe windows\build\cgame\
9 copy windows_scripts\q3rcc.exe windows\build\cgame\
10 copy windows_scripts\q3asm.exe windows\build\cgame\
11 copy windows_scripts\cgame_mp.q3asm windows\build\cgame.q3asm
12
13 set LIBRARY=
14 set INCLUDE=
15
16 set cc=lcc -DMISSIONPACK -DQ3_VM -S -Wf-target=bytecode -Wf-g -I..\..\..\code\cgame -I..\..\..\code\ui -I..\..\..\code\qcommon %1
17
18 cd windows\build\cgame
19
20 %cc% ../../../code/cgame/cg_challenges.c
21 %cc% ../../../code/cgame/cg_consolecmds.c
22 %cc% ../../../code/cgame/cg_draw.c
23 %cc% ../../../code/cgame/cg_drawtools.c
24 %cc% ../../../code/cgame/cg_effects.c
25 %cc% ../../../code/cgame/cg_ents.c
26 %cc% ../../../code/cgame/cg_event.c
27 %cc% ../../../code/cgame/cg_info.c
28 %cc% ../../../code/cgame/cg_localents.c
29 %cc% ../../../code/cgame/cg_main.c
30 %cc% ../../../code/cgame/cg_marks.c
31 %cc% ../../../code/cgame/cg_newdraw.c
32 %cc% ../../../code/cgame/cg_particles.c
33 %cc% ../../../code/cgame/cg_players.c
34 %cc% ../../../code/cgame/cg_playerstate.c
35 %cc% ../../../code/cgame/cg_predict.c
36 %cc% ../../../code/cgame/cg_scoreboard.c
37 %cc% ../../../code/cgame/cg_servercmds.c
38 %cc% ../../../code/cgame/cg_snapshot.c
39 %cc% ../../../code/cgame/cg_unlagged.c
40 %cc% ../../../code/cgame/cg_view.c
41 %cc% ../../../code/cgame/cg_weapons.c
42
43 %cc% ../../../code/game/bg_lib.c
44 %cc% ../../../code/game/bg_misc.c
45 %cc% ../../../code/game/bg_pmove.c
46 %cc% ../../../code/game/bg_slidemove.c
47
48 copy ..\..\..\code\cgame\cg_syscalls.asm ..
49
50 %cc% ../../../code/qcommon/q_math.c
51 %cc% ../../../code/qcommon/q_shared.c
52
53 %cc% ../../../code/ui/ui_shared.c
54
55 q3asm -f ../cgame
56
57 cd ..\..\..
58 pause