fixed up qvm compilation .bat files, q_math.c const, qvms should now work fine and compile right again, yay!

This commit is contained in:
Andrew Prosnik 2009-07-04 20:52:04 +00:00
parent 1d0f0196c3
commit 7a2a213ef2
5 changed files with 7 additions and 6 deletions

View file

@ -24,7 +24,7 @@ REM ***Makro - bg_materials.c needed for the new surfaceparm system
%cc% ../../game/q_math.c
@if errorlevel 1 goto quit
%cc% ../../game/q_shared.c
%cc% ../../qcommon/q_shared.c
@if errorlevel 1 goto quit
%cc% ../cg_atmospheric.c

View file

@ -30,7 +30,7 @@ REM *** Makro - bg_materials.c needed for the new surfaceparm system
%cc% ../q_math.c
@if errorlevel 1 goto quit
%cc% ../q_shared.c
%cc% ../../qcommon/q_shared.c
@if errorlevel 1 goto quit
%cc% ../ai_dmnet.c

View file

@ -1779,7 +1779,7 @@ int ReflectVectorByte(vec3_t dir, vec3_t plane)
CreateRotationMatrix
================
*/
void CreateRotationMatrix(vec3_t angles, vec3_t matrix[3])
void CreateRotationMatrix(const vec3_t angles, vec3_t matrix[3])
{
AngleVectors(angles, matrix[0], matrix[1], matrix[2]);
VectorInverse(matrix[1]);

View file

@ -18,13 +18,15 @@ echo *** Running Q3LCC for UI...
@if errorlevel 1 goto quit
%cc% ../../game/q_math.c
@if errorlevel 1 goto quit
%cc% ../../game/q_shared.c
%cc% ../../qcommon/q_shared.c
@if errorlevel 1 goto quit
%cc% ../ui_atoms.c
@if errorlevel 1 goto quit
%cc% ../ui_players.c
@if errorlevel 1 goto quit
%cc% ../ui_util.c
REM ***%cc% ../ui_util.c
REM ***../ui_util.c:21: warning: empty input file
REM ***ALSO REMOVED FROM UI.Q3ASM
@if errorlevel 1 goto quit
%cc% ../ui_shared.c
@if errorlevel 1 goto quit

View file

@ -2,7 +2,6 @@ ui_main
..\ui_syscalls
ui_atoms
ui_players
ui_util
ui_shared
ui_gameinfo
bg_misc