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.
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-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
| Menu | Button | Key | What it does |
|---|---|---|---|
| Camp | Rest Party | R | Starts a rest |
| Memorize Spells | M | Asks for a character, then opens the spell menu | |
| Pray for Spells | P | The same | |
| Scribe Scrolls | S | Copies scrolls | |
| Preferences | — | Opens the menu below | |
| Game Options | G | Opens the menu below | |
| Exit | E, Escape | Closes the camp | |
| Game Options | Load Game | L | Opens the load menu |
| Save Game | S | Opens the save menu | |
| Drop Character | D | Drops a character | |
| Quit Game | Q | Asks before ending the program | |
| Exit | E | Back to the camp menu | |
| Preferences | Sounds are ON or OFF | S | Switches the "Sounds" option |
| Bar Graphs are ON or OFF | B | Switches the "Bar Graphs" option | |
| Exit | E | Back 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.