The start menu, questions and text
The interface · Camp menus · Creating a party
In brief
The start menu, played once before the game loop, offers to load a game, create or transfer a party, watch the introduction or leave. The line menus, the yes-or-no questions, the messages and the text fields work the same way wherever they appear; a few other screens read input in their own way.
The start menu
The program runs the start menu once, before the game loop. The introduction
plays first, then the menu appears over the picture MENU.CPS, with the version
"V 1.1" printed on it:1
| Line | What it does | Afterwards |
|---|---|---|
| LOAD GAME IN PROGRESS | Opens the load menu | A loaded game starts; leaving the menu or a failed load shows the start menu again |
| START A NEW PARTY | Opens the party screen | The game starts with the new party |
| TRANSFER EOB I PARTY | Starts the transfer | The game starts with the party, or the start menu comes back |
| RUN INTRODUCTION | Plays the introduction | The start menu comes back |
| EXIT TO DOS | Ends the program | — |
Line menus
The start, race, class and alignment menus work alike. A press of either mouse button chooses the line under the pointer, and the keypad or grey arrows move a highlight: keypad 8 and 2 move it by one line, and moving past either end wraps; keypad 7 and 9 go to the first line, keypad 1 and 3 to the last. Enter, Space or keypad 5 chooses the highlighted line. In mouse control the highlight follows the pointer. The chosen line flashes. A press outside the menu and any other key are left to the screen that shows the menu; the class and alignment menus also have a button to go back a step.2
Questions and messages
The camp menu and the rest ask yes-or-no questions in a small box with a Yes and a No button: whether to exit the game, and the four questions of the rest. Yes is highlighted first. The Y and N keys answer directly; Enter, Space and keypad 5 take the highlighted button; keypad 4 and 6 move the highlight to the other button. In mouse control the highlight follows the pointer and a click on a button answers. The button is then shown pressed for a moment.3
Two questions outside the camp use a second routine that works the same way: whether to replace a saved game, and whether to load a game after a defeat. There the caller chooses which button is highlighted first, and keypad 5 and Escape do nothing.4
Messages, such as the refusals of the spell menus or "Game saved.", appear in the same box and stay until a key or a button is pressed, or for at most 120 screen refreshes, under two seconds. The message that a saved game needs a name is different: it has an OK button and stays until a press on that button or one of the keys Space, Enter and O.4
The length of the message wait assumes the 70 Hz refresh of the VGA 320 × 200 mode; the game counts vertical retraces, not ticks of its clock.
ANOMALY-90 — When a question is answered with the Y or N key while the
other button is highlighted, the highlighted button, not the chosen one, is
shown pressed; the answer itself follows the key. A faithful
reimplementation animates the highlighted button.3
Typing text
A character's name and the description of a saved game are typed in the same kind of field, with a blinking cursor and the pointer hidden:5
- a character from space to
~is turned into a capital and inserted at the cursor, the rest moving right; when the field is full, its last character is lost. A space is refused in the first position; - Backspace removes the character before the cursor, Delete the one under it;
- Left and Right move the cursor, not past the end of the text or the last position. With Num Lock on, the keypad and the grey cursor keys type digits and the full stop instead;
- Return ends the field. Escape also ends it, keeping what was typed, but the caller is told: a name is then accepted, and a description typed again.
ANOMALY-125 — The name step centres the new name under its box with the
value the text input returns, taken as the name's length. Escape also ends
the input, keeping what was typed, but returns −1: the name is then
accepted and drawn as if it were −1 characters long, 33 pixels to the right
of its centred place for the six-pixel font, so that a long name runs past
its field (inferred: not observed; it stays so until the box is drawn
again). A faithful reimplementation centres the name by its real
length.5
Other screens
Some screens read input in their own way, and are described with their subject:
- the party screen, with the portrait menu, and the modify screen;
- the transfer chooser;
- the memorize and pray menus;
- dialogue waits and answers;
- the protection check;
- skipping the introduction and the last picture of the ending.
Open questions
INTERFACE-01— What Caps Lock and Num Lock change in play. Whether a key gets Shift with them on depends on a register value, and which values occur is not established.
Sources
Locations refer to the game executable reference; comparative sources are listed in the technical references.