Jeffrey M. Barber

Tombstone

ZenConsoleProc

Jun 2001 – Jul 2001 · age 19

What it was

A two-week prototype of the in-game console Jeff wanted for a future engine, built as a plain Win32 console program in C++. A processor class held two fixed tables: commands, each a name and a function pointer, and variables, each a name, pointers aimed at live engine values, and an optional callback that fired on change. After registration both tables were quicksorted by name and searched with a home-made jump search. Typing a name ran the command or echoed the variable; typing a name and a value assigned it and fired the callback. Underneath sat a wrapping buffer of 80 lines, meant to be drawn in OpenGL someday. The demo registered two commands and two variables, one of them sv_gravity, and looped until Escape. It never met an engine.

Wins, for the age

What it taught

Genealogy

Ancestors: none on record. The first data-driven command surface. Descendants: Adama Tooling: a devbox REPL poking at live state, twenty-odd years on.

Epitaph

Here lies ZenConsoleProc, which sorted four names so it could find them faster, and knew how to change gravity in a game that did not exist.