mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-10 06:42:26 +00:00
hehe, qw-client-glx compiles (probably with lots of stuff missing) but doesn't link
This commit is contained in:
parent
64c8e8000d
commit
5928058c00
2 changed files with 1 additions and 34 deletions
|
@ -117,39 +117,6 @@ typedef struct surfcache_s
|
|||
} surfcache_t;
|
||||
|
||||
|
||||
typedef struct
|
||||
{
|
||||
pixel_t *surfdat; // destination for generated surface
|
||||
int rowbytes; // destination logical width in bytes
|
||||
msurface_t *surf; // description for surface to generate
|
||||
fixed8_t lightadj[MAXLIGHTMAPS];
|
||||
// adjust for lightmap levels for dynamic lighting
|
||||
texture_t *texture; // corrected for animating textures
|
||||
int surfmip; // mipmapped ratio of surface texels / world pixels
|
||||
int surfwidth; // in mipmapped texels
|
||||
int surfheight; // in mipmapped texels
|
||||
} drawsurf_t;
|
||||
|
||||
|
||||
typedef enum {
|
||||
pt_static, pt_grav, pt_slowgrav, pt_fire, pt_explode, pt_explode2, pt_blob, pt_blob2
|
||||
} ptype_t;
|
||||
|
||||
// !!! if this is changed, it must be changed in d_ifacea.h too !!!
|
||||
typedef struct particle_s
|
||||
{
|
||||
// driver-usable fields
|
||||
vec3_t org;
|
||||
float color;
|
||||
// drivers never touch the following fields
|
||||
struct particle_s *next;
|
||||
vec3_t vel;
|
||||
float ramp;
|
||||
float die;
|
||||
ptype_t type;
|
||||
} particle_t;
|
||||
|
||||
|
||||
//====================================================
|
||||
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ CL_GLX_libs=-lX11 -lXext -lGL
|
|||
DIRECTORIES=
|
||||
vpath %.a $(patsubst @%,%,$(DIRECTORIES)) /usr/lib
|
||||
|
||||
CPPFLAGS=-I . -I ../include -DELF -Did386=1 -MMD -Dstricmp=strcasecmp
|
||||
CPPFLAGS=-I . -I ../include -I /usr/X11R6/include -DELF -Did386=1 -MMD -Dstricmp=strcasecmp
|
||||
|
||||
gcc -I . -I ../include -DELF -Did386=1 -MMD -Dstricmp=strcasecmp -c -o gl_draw.o gl_draw.c
|
||||
|
||||
|
|
Loading…
Reference in a new issue