PDA

View Full Version : nxQuake



BlackAura
August 11th, 2004, 05:22
I've working on getting hardware acceleration going in this. So far, I've not had much luck.

There were quite a lot of problems even getting the thing to compile. I had to strip out most of the lightmap rendering code, and replace most of the texture loading code, along with a few other modifications to get it working with KGL. And I had to make some changes to KGL as well.

However, I can't really get any further. It seems to be locking up somewhere (before it's initialised the video apparently) and I don't have access to any debugging tools at the moment, like a serial cable or a BBA.

Anyway, if anyone wants to have a go at it, it would be very useful.

http://files.frashii.com/~sp00nz/Doom/files/BlackAura/quake/nxquake.elf.gz
http://files.frashii.com/~sp00nz/Doom/files/BlackAura/quake/nxquake-test.tar.bz2

It's compiled against an SVN version of KOS just before it switched over to newlib. I don't know if it'll work on 1.2.0 or later SVN versions, but the only bit that's likely to cause trouble is the modified version of KGL. Basically, I tried to add support for triangle fans.

Oh yeah - you need this version of KGL. Just copy the headers over the old version, and replace the main drawing file with this one.

http://files.frashii.com/~sp00nz/Doom/files/BlackAura/quake/kgl-mod.tar.bz2