Scet
Member

Posts: 451
Registered: 05-06 |
After reading the "quake ports" threads and seeing that there was no "Chocolate Quake", I thought it would be a good idea to find an SDL based port and build one. Unfortunately I didn't find anything other than this, which I had more trouble trying to build than the WinQuake source.
So I've built mine own version based off the link above and WinQuake. The only Windows reliant code is the OpenGL and WinSock stuff. I've never used SDL_Net and didn't want to mess anything up, so I left it alone.
I don't plan to keep working on this, which is why I'm posting it here. The Quake code is so awful looking, it makes the Doom code look good.
Download
Note that this is a VC2008 project, which means I'll probably get bitched at. Also there is a bug in PF_VarString. Initially I thought it was a buffer overflow caused by strcat, but it's not. Some of the pr_globals don't seem to be initialized, causing negative pointer arithmetic in the the G_STRING macro.
|