Rendering Problem w/o Q2Max, AA Compilation

Matthew Arnold marnold at ez-net.com
Mon Sep 2 19:59:42 EDT 2002


So I could play the game without the "sparks of death," I decided to 
compile the source with BUILD_QMAX=NO in the Makefile. When I did that, 
some of the explosion effects are gone. I get the particles, but I don't 
get the mini-nuclear-blast-mushroom-cloud effect (for example, when I 
shoot one of the barrels right at the beginning of the game). This was 
with the current CVS and the 0.13.1 tarball.

To make sure it was a problem with the newer source, I tried the 0.9 
source. When I compiled and ran that, everything worked fine. This is 
with the GLX renderer.

Also, the ASCII renderer won't compile for me. Here's the error I get:
gcc -Wall -pipe -Dstricmp=strcasecmp -O2 -ffast-math -funroll-loops 
-malign-loops=2 -malign-jumps=2 -malign-functions=2 -g 
-DLINUX_VERSION='"3.21+rCVS"' -fPIC -o releasei386/ref_soft/rw_aa.o -c 
src/linux/rw_aa.c
src/linux/rw_aa.c:66:19: aalib.h: No such file or directory
src/linux/rw_aa.c:128: parse error before `*'
src/linux/rw_aa.c:128: warning: type defaults to `int' in declaration of 
`aac'
src/linux/rw_aa.c:128: warning: data definition has no type or storage class
src/linux/rw_aa.c:130: parse error before `mypalette'
src/linux/rw_aa.c:130: warning: type defaults to `int' in declaration of 
`mypalette'
src/linux/rw_aa.c:130: warning: data definition has no type or storage class
src/linux/rw_aa.c: In function `SWimp_InitGraphics':
src/linux/rw_aa.c:167: warning: implicit declaration of function 
`aa_parseoptions'
src/linux/rw_aa.c:168: `aa_defparams' undeclared (first use in this 
function)
src/linux/rw_aa.c:168: (Each undeclared identifier is reported only once
src/linux/rw_aa.c:168: for each function it appears in.)
src/linux/rw_aa.c:168: `AA_DIM_MASK' undeclared (first use in this function)
src/linux/rw_aa.c:168: `AA_BOLD_MASK' undeclared (first use in this 
function)
src/linux/rw_aa.c:169: `AA_NORMAL_MASK' undeclared (first use in this 
function)
src/linux/rw_aa.c:169: `AA_EXTENDED' undeclared (first use in this function)
src/linux/rw_aa.c:170: warning: implicit declaration of function 
`aa_autoinit'
src/linux/rw_aa.c:170: warning: assignment makes pointer from integer 
without a cast
src/linux/rw_aa.c:171: `aa_defrenderparams' undeclared (first use in 
this function)
src/linux/rw_aa.c:172: `AA_FLOYD_S' undeclared (first use in this function)
src/linux/rw_aa.c:178: warning: implicit declaration of function `aa_image'
src/linux/rw_aa.c:181: request for member `driver' in something not a 
structure or union
src/linux/rw_aa.c:182: warning: implicit declaration of function 
`aa_imgwidth'
src/linux/rw_aa.c:182: warning: implicit declaration of function 
`aa_imgheight'
src/linux/rw_aa.c:188: warning: implicit declaration of function 
`aa_resizehandler'
src/linux/rw_aa.c:188: `aa_resize' undeclared (first use in this function)
src/linux/rw_aa.c: In function `SWimp_EndFrame':
src/linux/rw_aa.c:202: warning: passing arg 2 of `fastscale' makes 
pointer from integer without a cast
src/linux/rw_aa.c:203: warning: implicit declaration of function 
`aa_renderpalette'
src/linux/rw_aa.c:203: `aa_defrenderparams' undeclared (first use in 
this function)
src/linux/rw_aa.c:203: warning: implicit declaration of function 
`aa_scrwidth'
src/linux/rw_aa.c:203: warning: implicit declaration of function 
`aa_scrheight'
src/linux/rw_aa.c:204: warning: implicit declaration of function `aa_flush'
src/linux/rw_aa.c: In function `SWimp_SetPalette':
src/linux/rw_aa.c:254: warning: implicit declaration of function 
`aa_setpalette'
src/linux/rw_aa.c:243: warning: unused variable `tmppal'
src/linux/rw_aa.c: In function `SWimp_Shutdown':
src/linux/rw_aa.c:272: warning: implicit declaration of function `aa_close'
src/linux/rw_aa.c: In function `Sys_MakeCodeWriteable':
src/linux/rw_aa.c:295: warning: implicit declaration of function 
`getpagesize'
make[1]: *** [releasei386/ref_soft/rw_aa.o] Error 1
make[1]: Leaving directory `/usr/src/quake2-r0.13.1'
make: *** [build_release] Error 2

Looks like there's a header file missing. I can't find aalib.h anywhere. 
Is that in some development package I don't have installed or should it 
be included in the quake2 source tarball?

Pertinent system stats: fully patched Red Hat 7.3, GeForce3 Ti200 with 
the 1.0-2960 drivers.

Thoughts?
   Matt




More information about the quake2 mailing list