[quake3] Re: Questions about compile options (ioq3 on Solaris).

vincent at cojot.name vincent at cojot.name
Fri Oct 28 11:20:06 EDT 2005


One more question:

ioq2 for Solaris uses SDL for sound but native OpenGL for graphics and I 
guess the same should be true for ioq3..

However, with ioq3 it is not currently possible to do this because:

- if USE_SDL is true, I get sdl_glimp.c and sdl_snd.c in Q3OBJS but no 
linux_glimp.c (#if !USE_SDL avoids the use of its code).

- if USE_SDL is false, I do get linux_glimp.c and linux_snd.c but not 
sdl_snd.c.

How could we change that so that ioq3 gets SDL sound and native OpenGL 
under Solaris? I guess we have the following possibilities:

1) patch the #ifdef's in linux_glimp.c, sdl_glimp.c, sdl_snd.c, 
linux_snd.c (Ugly).
2) split USE_SDL to USE_SDL_VIDEO and USE_SDL_SOUND..? (semi-Ugly)
3) Create a solaris_snd.c that'd be Solaris-specific (not a bad idea) and 
disable USE_SDL for Solaris..

What option do you guys/gals like better?

Thanks for reading,

-- 
,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,
Vincent S. Cojot, Computer Engineering. STEP project. _.,-*~'`^`'~*-,._.,-*~
Ecole Polytechnique de Montreal, Comite Micro-Informatique. _.,-*~'`^`'~*-,.
Linux Xview/OpenLook resources page _.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'
http://step.polymtl.ca/~coyote  _.,-*~'`^`'~*-,._ coyote at NOSPAM4cojot.name

They cannot scare me with their empty spaces
Between stars - on stars where no human race is
I have it in me so much nearer home
To scare myself with my own desert places.       - Robert Frost





More information about the quake3 mailing list