game.bat 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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 -S -Wf-target=bytecode -Wf-g -I..\..\cgame -I..\..\game -I..\..\ui %1
  7. %cc% ../g_main.c
  8. @if errorlevel 1 goto quit
  9. %cc% ../g_syscalls.c
  10. @if errorlevel 1 goto quit
  11. %cc% ../bg_misc.c
  12. @if errorlevel 1 goto quit
  13. %cc% ../bg_lib.c
  14. @if errorlevel 1 goto quit
  15. %cc% ../bg_pmove.c
  16. @if errorlevel 1 goto quit
  17. %cc% ../bg_slidemove.c
  18. @if errorlevel 1 goto quit
  19. %cc% ../q_math.c
  20. @if errorlevel 1 goto quit
  21. %cc% ../q_shared.c
  22. @if errorlevel 1 goto quit
  23. %cc% ../ai_dmnet.c
  24. @if errorlevel 1 goto quit
  25. %cc% ../ai_dmq3.c
  26. @if errorlevel 1 goto quit
  27. %cc% ../ai_main.c
  28. @if errorlevel 1 goto quit
  29. %cc% ../ai_chat.c
  30. @if errorlevel 1 goto quit
  31. %cc% ../ai_cmd.c
  32. @if errorlevel 1 goto quit
  33. %cc% ../ai_team.c
  34. @if errorlevel 1 goto quit
  35. %cc% ../g_active.c
  36. @if errorlevel 1 goto quit
  37. %cc% ../g_arenas.c
  38. @if errorlevel 1 goto quit
  39. %cc% ../g_bot.c
  40. @if errorlevel 1 goto quit
  41. %cc% ../g_client.c
  42. @if errorlevel 1 goto quit
  43. %cc% ../g_cmds.c
  44. @if errorlevel 1 goto quit
  45. %cc% ../g_combat.c
  46. @if errorlevel 1 goto quit
  47. %cc% ../g_items.c
  48. @if errorlevel 1 goto quit
  49. %cc% ../g_mem.c
  50. @if errorlevel 1 goto quit
  51. %cc% ../g_misc.c
  52. @if errorlevel 1 goto quit
  53. %cc% ../g_missile.c
  54. @if errorlevel 1 goto quit
  55. %cc% ../g_mover.c
  56. @if errorlevel 1 goto quit
  57. %cc% ../g_session.c
  58. @if errorlevel 1 goto quit
  59. %cc% ../g_spawn.c
  60. @if errorlevel 1 goto quit
  61. %cc% ../g_svcmds.c
  62. @if errorlevel 1 goto quit
  63. %cc% ../g_target.c
  64. @if errorlevel 1 goto quit
  65. %cc% ../g_team.c
  66. @if errorlevel 1 goto quit
  67. %cc% ../g_trigger.c
  68. @if errorlevel 1 goto quit
  69. %cc% ../g_utils.c
  70. @if errorlevel 1 goto quit
  71. %cc% ../g_weapon.c
  72. @if errorlevel 1 goto quit
  73. %cc% ../ai_vcmd.c
  74. @if errorlevel 1 goto quit
  75. q3asm -f ../game
  76. :quit
  77. cd ..