Return To Castle Wolfenstein Source Code Released
geefau writes with news that id Software has released the source code to Return To Castle Wolfenstein (single player and multiplayer), along with Wolfenstein – Enemy Territory, under the GPL. The linked article notes that "these only include the game source code, not the graphics. You need the full games for those."
Perhaps ET-GPL.zip, RTCW-SP-GPL.zip and RTCW-MP-GPL.zip are of interest?
True confidence comes not from realising you are as good as your peers, but that your peers are as bad as you are.