|
nanoMMO 0.97.8
Building an MMO: The Engineering Series
|
#include <menu.h>
Public Types | |
| enum class | Choice { kNothing , kLogOut , kQuit } |
Public Member Functions | |
| bool | open () const |
| void | Toggle () |
| void | Close () |
| bool | settings_open () const |
| void | OpenSettings () |
| void | CloseSettings () |
| Choice | Build (Settings &settings, bool *reset_hotbar) |
| void | BuildButtons (bool *character, bool *bag, bool *quests, bool *guild, bool *map, bool *help) |
The game's menu, which Escape opens over the world when nothing else is open, and the settings it leads to, which O opens too: the interface, sound, graphics, and the keys. The sky is the server's, so there's nothing of it to set, except to turn the weather, or the day and the night, off.
|
strong |
| Menu::Choice nanommo::Menu::Build | ( | Settings & | settings, |
| bool * | reset_hotbar ) |
| void nanommo::Menu::BuildButtons | ( | bool * | character, |
| bool * | bag, | ||
| bool * | quests, | ||
| bool * | guild, | ||
| bool * | map, | ||
| bool * | help ) |