Abstract
Problem: How did a team of ~12 people build Arcanum's massive game world in the late 1990s with severe RAM constraints?
Approach: Tim Cain explains two key systems: a prototype-based object model that minimized memory usage through inheritance and bitfield deltas, and a rectangle-based structure editor that let artists rapidly build buildings, dungeons, and caves.
Findings: The prototype system meant hundreds of identical objects (e.g. knives) stored only their unique differences (location, current HP, parent), with everything else inherited from a shared prototype. The structure system used a top-down rectangle-drawing approach where walls, corners, doors, and windows were automatically generated along perimeters β then artists switched to isometric view to place props. Both systems dramatically reduced memory footprint and accelerated content creation.
Key insight: In memory-constrained environments, it's better to define a field on every prototype and never override it than to not have the field and need it later β the bitfield delta approach makes unused fields essentially free.
References
- Tim Cain. YouTube video. https://www.youtube.com/watch?v=IhaHPgZS1Fw