cgame_ta.bat 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. rem make sure we have a safe environement
  2. set LIBRARY=
  3. set INCLUDE=
  4. mkdir vm
  5. cd vm
  6. set cc=lcc -DQ3_VM -DMISSIONPACK -DCGAME -S -Wf-target=bytecode -Wf-g -I..\..\cgame -I..\..\game -I..\..\ui %1
  7. %cc% ../../game/bg_misc.c
  8. @if errorlevel 1 goto quit
  9. %cc% ../../game/bg_pmove.c
  10. @if errorlevel 1 goto quit
  11. %cc% ../../game/bg_slidemove.c
  12. @if errorlevel 1 goto quit
  13. %cc% ../../game/bg_lib.c
  14. @if errorlevel 1 goto quit
  15. %cc% ../../game/q_math.c
  16. @if errorlevel 1 goto quit
  17. %cc% ../../game/q_shared.c
  18. @if errorlevel 1 goto quit
  19. %cc% ../cg_consolecmds.c
  20. @if errorlevel 1 goto quit
  21. %cc% ../cg_draw.c
  22. @if errorlevel 1 goto quit
  23. %cc% ../cg_drawtools.c
  24. @if errorlevel 1 goto quit
  25. %cc% ../cg_effects.c
  26. @if errorlevel 1 goto quit
  27. %cc% ../cg_ents.c
  28. @if errorlevel 1 goto quit
  29. %cc% ../cg_event.c
  30. @if errorlevel 1 goto quit
  31. %cc% ../cg_info.c
  32. @if errorlevel 1 goto quit
  33. %cc% ../cg_localents.c
  34. @if errorlevel 1 goto quit
  35. %cc% ../cg_main.c
  36. @if errorlevel 1 goto quit
  37. %cc% ../cg_marks.c
  38. @if errorlevel 1 goto quit
  39. %cc% ../cg_players.c
  40. @if errorlevel 1 goto quit
  41. %cc% ../cg_playerstate.c
  42. @if errorlevel 1 goto quit
  43. %cc% ../cg_predict.c
  44. @if errorlevel 1 goto quit
  45. %cc% ../cg_scoreboard.c
  46. @if errorlevel 1 goto quit
  47. %cc% ../cg_servercmds.c
  48. @if errorlevel 1 goto quit
  49. %cc% ../cg_snapshot.c
  50. @if errorlevel 1 goto quit
  51. %cc% ../cg_view.c
  52. @if errorlevel 1 goto quit
  53. %cc% ../cg_weapons.c
  54. @if errorlevel 1 goto quit
  55. %cc% ../../ui/ui_shared.c
  56. @if errorlevel 1 goto quit
  57. %cc% ../cg_newdraw.c
  58. @if errorlevel 1 goto quit
  59. q3asm -f ../cgame_ta
  60. :quit
  61. cd ..