From: Philip B. <ph...@bo...> - 2002-02-26 10:03:30
|
Yes, even more stuff done! :-) There are now exactly THREE FILES that are OS-specific: cd_$(OSNAME).c q_$(OSNAME).c snd_$(OSNAME).c a 'make' in the top-level directory will automatically build them from the 'correct' place. The first two files have teeny tiny differences between solaris and linux. I'm almost embarrassed to have them be still separate. The biggie is of course sound handling. But for 'porting' to a new OS, you could just link to ../null/snddma_null.c and you can ignore the trickiest part! So, you now have a very cross-platform source base to play with, for Quake-on-GLX. It should be trivial to add in irix, BSD, HPUX, possibly even MacOS X. And as I mention in the README file, it would theoretically be possible to wedge in another compile target, for the "softx" rendering, etc. But why bother. again: ftp://ftp.bolthole.com/pub/quake2-glx.tar.gz FYI: I found the 'bug' in the solaris keyboard input routines: Id had stripped out keyboard handling, since solaris was going to be a 'server-only' release. Ha. With this release, I hope to take a rest from quake2 code fiddling, and concentrate on actually getting OpenGL performance on my box to be better ;-) |