Quake source code: www.idsoftware.com/business/techdownloads/
From a graphics and game engine perspective, it was very informative to go through pieces of of the source - I was mainly interested in the client/server and collision detection areas of the code.