nanoMMO 0.97.8
Building an MMO: The Engineering Series
Loading...
Searching...
No Matches
nanommo::InterfaceSettings Struct Reference

How the interface looks, as the player sets it. More...

#include <settings.h>

Public Member Functions

bool operator== (const InterfaceSettings &) const =default

Public Attributes

float scale = 1.0f
bool minimap = true
bool minimap_turns = false
std::vector< uint32_t > hotbar
NameplateSettings nameplates
std::string language

Detailed Description

How the interface looks, as the player sets it.

Definition at line 33 of file settings.h.

Member Function Documentation

◆ operator==()

bool nanommo::InterfaceSettings::operator== ( const InterfaceSettings & ) const
default

Member Data Documentation

◆ hotbar

std::vector<uint32_t> nanommo::InterfaceSettings::hotbar

The hotbar's skills after the swing, by their ids, in the order the player dragged them into: none, for the order of their levels.

Definition at line 44 of file settings.h.

◆ language

std::string nanommo::InterfaceSettings::language

The language the interface is in, by its code, as translations.h's kLanguages has it: none for English.

Definition at line 48 of file settings.h.

◆ minimap

bool nanommo::InterfaceSettings::minimap = true

Whether the minimap's in the top right, and whether it turns with the camera, so that what's ahead is up, rather than north. The map's on M either way.

Definition at line 40 of file settings.h.

◆ minimap_turns

bool nanommo::InterfaceSettings::minimap_turns = false

Definition at line 41 of file settings.h.

◆ nameplates

NameplateSettings nanommo::InterfaceSettings::nameplates

Definition at line 45 of file settings.h.

◆ scale

float nanommo::InterfaceSettings::scale = 1.0f

How much bigger or smaller than its size for the screen the interface is drawn, from half to twice.

Definition at line 36 of file settings.h.


The documentation for this struct was generated from the following file: