[quake2] Mouse inverted

Brendan Burns brendanburns at comcast.net
Mon Sep 26 09:20:26 EDT 2005

Hmm, is it hard to understand?
(It's in C, btw)

I don't think its really that hard to understand, with two big caveats:
	I wouldn't try it if it were the first big application I was trying to
	Its really not written for understandability (quake3 might be a better
place to look) it was written to be fast and thus has some ugliness...

Btw, if you do try to look at the code, one of the weirdest things to
wrap your head around is the use of shared libraries, the functions from
the shared libraries get loaded into a data structure, and they those
functions get called from the main source...

If you do take a look and have any questions, feel free to post them to
the list...


On Mon, 2005-09-26 at 10:09 +0200, Michael Stather wrote:
> Cool, I´m looking forward to it :)
> Just for interest, is it hard to understand the source of Q2 (is it C or C++). 
> I thought about trying to understand the source code of one of those classic 
> games (like doom or quake) and I wonder which one is the best to start. Is 
> the source commented?
> regards
> Michael
> > The bug is fixed in the CVS version (As I recall it is only present when
> > DGA is enabled...)
> >
> > There is (semi) active development on this project...
> >
> > Which I suppose means that I should get another release together ;-P
> >
> > --brendan
> >
> > On Sun, 2005-09-25 at 16:14 +0200, Michael Stather wrote:
> > > I tried the latest 0.16.1 RPM on my laptop with an mobility radeon
> > > graphics card. Video worked, although sloppy with both glx and sdlgl (any
> > > ideas what could cause this). But both mouse axises were inverted, e.g.
> > > left was right and up was down. What can I do about this?
> > >
> > > regards and hanks for your help
> > >
> > > Michael Stather

More information about the quake2 mailing list