Leaked Turok Source Code Highlights
Source code discovery announcement:
The game's review:
Turok competed with Quake at the time. And the character models look far better than the ones in Quake. Guess the game can serve as a nice student practice project for porting to modern PC hardware, learning stuff in the process.
ai.c: // it's okay to act stupid if nobody's looking
romstruc.c: // A lot of these letters are from a diagram that I erased off
// my whiteboard ages ago. Oops. Give me a ring and we'll figure it out.
audiomgr.c: // if you don't have one, you're fucked
audio.c: // something has been allocated, stop it and use dummy channel to gather info on dummy channel
map.c: // rotate the fucker so movements on x and z will be not dependant on the direction you're facing
audio.c: // This is a crap sound system!!
onscrn.c: // dampen the acceleration to stop it looking crap
tengine.c:// removed because it looks crap & also screws up the game over
trex.c: // Make TRex avoid center hole in arena
trex.c:* Description: Checks to see if turok has entered a hole in the arena
trex.c:* Also activates crushes if turok is in a hole for too long
trex.c:* Outputs: TRUE if turok is in a hole, else FALSE
trex.c: // If turok is on a brige then he can't be in a hole (which are under bridges!)
trex.c: // In hole?
romstruc.c: // hack to rotate minigun and auto-shotgun's barrels
turret.c: // Turrets can olnmy attack player!
Now somebody needs to leak Mario 64 code, together with all the rude swearing comments in Japanese.