Skip to main content

Camp menus

The interface · Resting · Saving and restoring

In brief​

The camp button stops the clock and opens the camp menu over the view: rest, memorize or pray, scribe scrolls, preferences and game options, from which the player loads, saves, drops a character or quits. The menus share their keys and highlight. Several actions first ask for a character, and the save and load menus show six slots.

The camp menu and the two menus it opens, with the key of each button. Camp: Rest Party (R), Memorize Spells (M), Pray for Spells (P), Scribe Scrolls (S), Preferences, Game Options (G), Exit (E, Escape). Game Options: Load Game (L), Save Game (S), Drop Character (D), Quit Game (Q), Exit (E). Preferences: Sounds, Bar Graphs, Exit. Escape acts as the camp’s Exit in all three menus.
Two menus open from the camp; Escape acts as its Exit everywhere.

How the camp menus work​

The menus of the camp are built from tables of the game: a window with a title and a list of buttons, each with its label, position, size and key. These buttons answer to either mouse button. A highlighted label is drawn in colour 6, the others in colour 15.1

In the camp, game options and preferences menus:

  • a press on a button or its key chooses the button, which is then shown pressed for a moment, five screen refreshes;
  • Enter, Space and keypad 5 choose the highlighted button, the first one when the menu opens;
  • keypad 8 and 2 move the highlight, wrapping; keypad 7 and 9 go to the first button;
  • in mouse control the highlight follows the pointer.

Anomaly

ANOMALY-159 — Keypad 1 and 3 do not reach the last button of these menus. The game first aims at it, then runs the code of keypad 8 from the highlighted button, which replaces that aim: the highlight moves up one button, and reaches the last one only from the first. A faithful reimplementation moves it up one button.1

The camp menu​

The camp menu opens in the area of the dungeon view and the strip below it; it saves that strip when it opens and puts it back when it closes. Its buttons lead to the other menus:2

MenuButtonKeyWhat it does
CampRest PartyRStarts a rest
Memorize SpellsMAsks for a character, then opens the spell menu
Pray for SpellsPThe same
Scribe ScrollsSCopies scrolls
Preferences—Opens the menu below
Game OptionsGOpens the menu below
ExitE, EscapeCloses the camp
Game OptionsLoad GameLOpens the load menu
Save GameSOpens the save menu
Drop CharacterDDrops a character
Quit GameQAsks before ending the program
ExitEBack to the camp menu
PreferencesSounds are ON or OFFSSwitches the "Sounds" option
Bar Graphs are ON or OFFBSwitches the "Bar Graphs" option
ExitEBack to the camp menu
  • Saving shows "Game saved." when the save menu reports a save, and stays in the camp; a game loaded from it closes the camp.
  • Quit Game asks "Are you sure you wish to exit the game?"; yes ends the program, see how the game ends.
  • Preferences shows two options. "Sounds" decides whether sound effects play, and "Bar Graphs" whether hit points are shown as a bar. The game also prepares the lines "Tunes are" and "Mouse is", but no button shows them: the tunes change only with Alt+M, and the mouse only through the setup program.
  • Escape acts as the camp's Exit in all three menus. In the game options and preferences it goes back to the camp menu, like their own Exit buttons.
  • Leaving with the camp's Exit or with Escape shows "Your party needs to rest to gain spells." when a spell menu has written a copy that is not ready since the last rest; the Exit buttons of the game options and preferences do not show it. This is a flag, not a test of the slots: a rest that does not close the camp clears it, however little it recovered, even one declined at the poison question or stopped at once by a key. A rest refused or ended by monsters or a defeat closes the camp without the message and keeps the flag.

The clock is stopped while the camp is open; see pauses.

Choosing a character​

Memorizing, praying, scribing and dropping first ask for a character. The menu shows a prompt and an Exit button (key E), and the six portrait boxes become buttons of 64 × 48 pixels, at x 184 and 256, y 0, 56 and 112. Which characters qualify depends on the action; when only one does, the menu is skipped.3

  • A click on a box or F1 to F6 chooses a character who qualifies; any other is ignored.
  • Enter or keypad 5 chooses the highlighted character. W, A, keypad 4 and 8 move the highlight back, and S, Z, keypad 2 and 6 forward, over the characters who qualify, wrapping. In keyboard control it starts on the first of them; in mouse control there is none until such a key is pressed.
  • Exit or Escape leaves without a choice.

Saving and loading​

The save menu is opened from the camp menu; the load menu also from the start menu and after a defeat. Both show a window titled Save Game or Load Game with six slot buttons, each labelled with its saved game's description or Empty Slot, and a Cancel button. Before showing it, the game looks for each EOBDATA<n>.SAV file and reads its 20-byte description.4

Keypad 8 and 2 move the selection through the seven buttons, wrapping around; Enter or Space chooses it. In mouse control the selection follows the pointer and a left click chooses the button under it; in keyboard control the pointer and clicks are ignored. Escape and the right button do nothing: only Cancel leaves the menu. The selected label is drawn in colour 6, the others in colour 15, and the chosen button is shown pressed for a moment.4

In the save menu, Cancel saves nothing. Choosing a slot that already holds a game first asks whether to replace it, Yes being selected; No goes back to the slots. The player then types the description in place of the slot's label, up to 19 characters, in capitals, in the slot's own description field, a text field; Escape does not leave it but starts the typing again. An empty description is refused with a message that the saved game needs a name, and the typing starts again. The game then writes the saved game; loading, failures and the end of the game says what happens when a load or a save fails.5

Sources​

Locations refer to the game executable reference; comparative sources are listed in the technical references.

Footnotes​

  1. Build and show a menu with the menu tables, draw a menu button and the input loop of the camp menu, whose range contains the keypad code. The key names come from the key numbers. Comparative source: REF-SCUMM-014, GUI_EoB::initMenu. ↩ ↩2

  2. Camp menu with the menu tables, build and show a menu, message box, save and restore the strip below the view and the on/off label; the menu definitions and button definitions, which give the keys; the option settings, with the hit-point display for the bar graphs; the message wait counts screen refreshes; the spell reminder flag. Comparative source: REF-SCUMM-014, GUI_EoB::runCampMenu. ↩

  3. Choose a spellcaster with the button definitions. ↩

  4. Choose a slot, refresh the slot list, draw a slot button and find the slot button under a point, called by the load menu and the save menu; the slot descriptions, the mouse state, the input queue and the key numbers. ↩ ↩2

  5. Save menu, with the two-choice question and the message with one button. ↩