Skip to main content

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 five lines of the start menu, shown once after the introduction: LOAD GAME IN PROGRESS opens the load menu and starts the loaded game; START A NEW PARTY opens the party screen; TRANSFER EOB I PARTY starts the transfer; RUN INTRODUCTION plays the introduction and comes back; EXIT TO DOS ends the program. Leaving the load menu or a failed load shows the menu again.
Only exit ends the program; the introduction comes back to the menu.

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

LineWhat it doesAfterwards
LOAD GAME IN PROGRESSOpens the load menuA loaded game starts; leaving the menu or a failed load shows the start menu again
START A NEW PARTYOpens the party screenThe game starts with the new party
TRANSFER EOB I PARTYStarts the transferThe game starts with the party, or the start menu comes back
RUN INTRODUCTIONPlays the introductionThe start menu comes back
EXIT TO DOSEnds 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

Inferred

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

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

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:

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.

Footnotes​

  1. Start menu with its items and its screen. Comparative source: REF-SCUMM-017, the start loop of EoBCoreEngine::go. ↩

  2. Menus, with the race, class and alignment menus and the start menu. ↩

  3. Yes/no question, which proves ANOMALY-90, with draw a menu button, the mouse state and the key numbers; its callers are the camp menu and the rest. Comparative source: REF-SCUMM-014, GUI_EoB::confirmDialogue. ↩ ↩2

  4. Ask a two-choice question, message with one button and the save menu, which gives its keys, and the message box. ↩ ↩2

  5. Edit a text field, called by create a character and the save menu. ↩ ↩2