1
0
Fork 0
forked from fte/fteqw

make it build on linux

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@539 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Hexum 2004-11-29 05:52:57 +00:00
parent 854f5340c1
commit 2d90a24fbc
4 changed files with 8 additions and 2 deletions

View file

@ -106,6 +106,7 @@ CLIENT_OBJS = \
$(OUT_DIR)/m_x.o \ $(OUT_DIR)/m_x.o \
$(OUT_DIR)/x_reqs.o \ $(OUT_DIR)/x_reqs.o \
$(OUT_DIR)/x_res.o \ $(OUT_DIR)/x_res.o \
$(OUT_DIR)/pr_menu.o \
#\ #\
# $(OUT_DIR)/sys_dosa.o # $(OUT_DIR)/sys_dosa.o
SOFTWARE_OBJS = \ SOFTWARE_OBJS = \
@ -658,6 +659,9 @@ $(OUT_DIR)/roq_read.o : $(CLIENT_DIR)/roq_read.c
$(OUT_DIR)/clq2_cin.o : $(CLIENT_DIR)/clq2_cin.c $(OUT_DIR)/clq2_cin.o : $(CLIENT_DIR)/clq2_cin.c
$(DO_CC) $(DO_CC)
$(OUT_DIR)/pr_menu.o : $(CLIENT_DIR)/pr_menu.c
$(DO_CC)
$(OUT_DIR)/m_options.o : $(CLIENT_DIR)/m_options.c $(OUT_DIR)/m_options.o : $(CLIENT_DIR)/m_options.c
$(DO_CC) $(DO_CC)

View file

@ -278,7 +278,7 @@ void R_Part_SkyTri(float *v1, float *v2, float *v3, struct msurface_s *surf);
void R_ClearParticles (void); void R_ClearParticles (void);
void R_Part_NewServer(void); void R_Part_NewServer(void);
int ParticleTypeForName(char *name); int ParticleTypeForName(char *name);
void R_SetRenderer(r_qrenderer_t wanted); void R_SetRenderer(int wanted);
void R_DrawParticles (void); void R_DrawParticles (void);
void R_InitParticles (void); void R_InitParticles (void);
void RQ_Init(void); void RQ_Init(void);

View file

@ -2595,7 +2595,7 @@ typedef struct {
void GL_LoadQ3Model(model_t *mod, void *buffer) void GL_LoadQ3Model(model_t *mod, void *buffer)
{ {
extern qboolean gl_bumpmappingpossible; extern int gl_bumpmappingpossible;
int hunkstart, hunkend, hunktotal; int hunkstart, hunkend, hunktotal;
// int version; // int version;
int s, i, j, d; int s, i, j, d;

View file

@ -893,3 +893,5 @@ void GLVID_LockBuffer() {}
int GLVID_ForceUnlockedAndReturnState (void) {return 0;} int GLVID_ForceUnlockedAndReturnState (void) {return 0;}
void GLVID_ForceLockState (int lk) {} void GLVID_ForceLockState (int lk) {}
void GLVID_HandlePause (qboolean pause) {} void GLVID_HandlePause (qboolean pause) {}
void GL_DoSwap(void) {}