How commercial-game-sources/rise_of_the_triad works
This repository contains the Rise of the Triad game, its DOS-era audio and communications support, and the RTS sound-resource maker. The principal workflow is player input through game simulation and rendering to audiovisual output; multiplayer, cinematics, level/resource handling, and sound authoring are separate capabilities. The README identifies the game but gives no subsystem wiring, and most source references are unsampled or absent from the index, so inferred runtime links are dashed rather than asserted as verified calls.
Main entry points: RT_GAME.C Game flow · FX_MAN.C Sound effects · MULTIVOC.C Voice mixer · RT_MAP.C Map handling
Components 28
Game runtime
- Game entry
rott/RT_MAIN.C - Input
rott/RT_IN.C - Game flow
rott/RT_GAME.C - Actors
rott/RT_ACTOR.C - Level build
rott/RT_TED.C - Map handling
rott/RT_MAP.C - Raycaster
rott/ENGINE.C - Scene drawing
rott/RT_DRAW.C - Video output
rott/RT_VID.C - Menus
rott/RT_MENU.C
Content and cinematics
- WAD resources
rott/W_WAD.C - Cinematics
rott/CIN_MAIN.C
Audio system
- Game sound
rott/RT_SOUND.C - Sound effects
audiolib/SOURCE/FX_MAN.C - Voice mixer
audiolib/SOURCE/MULTIVOC.C - Sound Blaster
audiolib/SOURCE/BLASTER.C - GUS playback
audiolib/SOURCE/GUSWAVE.C - MIDI music
audiolib/SOURCE/MIDI.C
Multiplayer
- IPX setup
rottcom/ROTTIPX/IPXSETUP.C - IPX transport
rottcom/ROTTIPX/IPXNET.C - Serial transport
rottcom/ROTTSER/SERCOM.C - Serial port
rottcom/ROTTSER/PORT.C - Game networking
rott/RT_NET.C
Sound authoring
- RTS maker
rtsmaker/RTSMAKER.C - Script commands
rtsmaker/CMDLIB.C
Other components
- Player
- Sound files
- Audio hardware
Connections 26
- Player → Game entry: starts
- Game entry → Input: reads input
- Input → Game flow: drives play
- Game flow → Actors: updates actors
- Game flow → Map handling: uses map
- Level build → Map handling: builds map
- Map handling → Raycaster: supplies tiles
- Raycaster → Scene drawing: produces posts
- Scene drawing → Video output: draws scene
- Menus → Game flow: selects play
- WAD resources → Level build: supplies content
- WAD resources → Cinematics: supplies content
- Game flow → Cinematics: plays sequences
- Game flow → Game sound: requests sound
- Game sound → Sound effects: uses effects
- Sound effects → Voice mixer: mixes voices
- Voice mixer → Sound Blaster: starts playback
- Voice mixer → GUS playback: starts playback
- Sound effects → Audio hardware: outputs audio
- Game flow → MIDI music: requests music
- IPX setup → IPX transport: uses transport
- Serial transport → Serial port: uses port
- Game networking → IPX transport: exchanges packets
- Game networking → Serial transport: exchanges data
- RTS maker → Script commands: processes commands
- Sound files → RTS maker: packages sounds