[quake2] Ideas

Johnny Mnemonic johnny at themnemonic.org
Mon Mar 3 20:45:36 EST 2003


On Sunday 02 March 2003 20:27, Brian Hook wrote:
> 1.  For a "learning" code base, I really do think prefixing functions
> helps a lot.  A function like FindItemByClassname() to me is a bit
> easier to identify when it's called something like
> Q2_FindItemByClassName().  This way when you see SetDeviceGammaRamp()
> you don't have to wonder "is that an API call or is that a Q2
> internal call?!".  That's the point of the R_*, VID_*, etc. but not
> everything was done that way, specifically a lot of the game code.
> I'm willing to change this stuff over as it gets done.

Please note that such changes would make more difficult merging with other 
forks. I personally enjoy importing best improvements from Q2ACE for 
example...

-- 
Johnny




More information about the quake2 mailing list