@paul quake2 source is a good read. it's a mess, but i learned a lot about engine architecture from it when it was first opensourced
this is where the cool kids live