Forum

Quake Engine Programming

Discuss programming topics for the various GPL'd game engine sources.

Moderator: InsideQC Admins

Quake Engine Programming

Postby Error » Mon Jul 12, 2010 4:24 am

Many years ago, when they first released the quake engine source, I got visual studio and began learning, after a few months of tinkering, I came up with some pretty cool stuff. Then my pc died. I gave up pretty much on learning C.

I'm looking to learn again. So I'm basically wanting to know what's a good 'not-too-complex' engine, with a bunch of bug fixes to learn C/OpenGL programming.

Not Darkplaces or FTE. Something good but simple.

Thoughts?
User avatar
Error
InsideQC Staff
 
Posts: 865
Joined: Fri Nov 05, 2004 5:15 am
Location: VA, USA

Postby mh » Mon Jul 12, 2010 4:40 am

I'd recommend FitzQuake or JoeQuake. FitzQuake has the benefit of more modern thinking behind it, so it's going to be a more solid base to tinker around with, whereas JoeQuake has some nicer OpenGL features like it's particle system, but is still reasonably simple and straightforward.

I can do a conversion of both sources to Visual C++ 2008 Express for you, which might save you a LOT of pain and suffering in getting started. :D
We had the power, we had the space, we had a sense of time and place
We knew the words, we knew the score, we knew what we were fighting for
User avatar
mh
 
Posts: 2292
Joined: Sat Jan 12, 2008 1:38 am

Postby r00k » Mon Jul 12, 2010 4:55 am

What ever happened to the QIP engine? It seemeed like it was a community project then errrrrk, stopped :(
r00k
 
Posts: 1110
Joined: Sat Nov 13, 2004 10:39 pm

Postby leileilol » Mon Jul 12, 2010 7:05 am

maddes got maddes with real life and was so maddes he couldn't find the time to work on it anymore. // by maddes
i should not be here
leileilol
 
Posts: 2783
Joined: Fri Oct 15, 2004 3:23 am

Postby Baker » Mon Jul 12, 2010 11:51 am

Enhanced GLQuake would be a really engine to target for modding.

There are a lot of easy modifications that it could use (a freelook cvar, ALT-TAB fix, video mode switch, overbrights, fullbrights, dynamic lights, QC extensions) and the rendering code is close to GLQuake.

Engines like FitzQuake and JoeQuake have heavily re-written renderers with FitzQuake having an entire rewritten one. JoeQuake has a truckload of added features that are easily ported to other engines.

FTEQW is amazing with great code and Spike's use of #ifdefs make it generally easy to follow. Despite being a highly advanced engine, the code is not hard to read at all.

HOWEVER ... FitzQuake 0.85 had the assembly stripped out making it very easy to compile (VC C++ Express without hardly any fuss with ml.exe or gas2masm tedium). Definitely worth consideration to mod, but the heavily re-written renderer makes most tutorials that deal with rendering entirely incompatible or a major headache to adapt.
The night is young. How else can I annoy the world before sunsrise? 8) Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
User avatar
Baker
 
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Postby Spike » Mon Jul 12, 2010 6:48 pm

"The basic rule of thumb is that code is twice as hard to maintain as it is to write. If you're writing code you consider clever you are, by definition, not qualified to maintain it."

ifdefs are evil though, and in fte they're rarely correct or complete.

Error, If you just want to learn C, I can give you a copy of my csqc engine and get you to finish it off and tutorialize it. :P
There's some opengl changes in that too :)
Spike
 
Posts: 2892
Joined: Fri Nov 05, 2004 3:12 am
Location: UK


Return to Engine Programming

Who is online

Users browsing this forum: No registered users and 1 guest