coastline 0.0.4
Loading...
Searching...
No Matches
coastline::MenuItem Struct Reference

An item of a menu screen. More...

#include <menuscreen.h>

Collaboration diagram for coastline::MenuItem:

Public Attributes

std::string name
u32 flags = 0
const RenderModel * model = nullptr
bool coin = false
bool emptyStage = false

Detailed Description

An item of a menu screen.

Member Data Documentation

◆ name

std::string coastline::MenuItem::name

The text of the item.

◆ flags

u32 coastline::MenuItem::flags = 0

The MENU_ITEM_ flags.

◆ model

const RenderModel* coastline::MenuItem::model = nullptr

The model of the item, or none to show its name.

◆ coin

bool coastline::MenuItem::coin = false

Draw a gold coin placeholder instead of a model.

◆ emptyStage

bool coastline::MenuItem::emptyStage = false

Omit fallback stage text when no preview model exists.


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