Files
goldeneye-pc-port/port/include/frontoptions.h
T
James Dansereau fd82dda717 D343 M2: GE-styled options panel on file select; D344 docs
The file-select Options label opens a panel drawn in the same hook:
sections as tabs, rows from the F10 overlay's table via an exported row
API, the game's crosshair as pointer (input.c passes the stick, hands the
buttons to the panel). Quit to desktop now goes through videoRequestQuit.
Also repairs two escaped-newline typos in the D343 docs.
2026-09-27 10:38:16 -04:00

31 lines
835 B
C

#ifndef PORT_FRONTOPTIONS_H
#define PORT_FRONTOPTIONS_H
/*
* D343: PC options on the file-select screen (port/src/frontoptions.c).
*
* Hooks:
* front.c constructor_menu05_fileselect : optionsFileSelectLabel() draws the
* "Options" label, or the options panel while it is open
* input.c inputComputePad(0) : while open on file select, the
* buttons go to frontOptionsFeedPad() and the game gets 0 (the
* stick still moves the game's crosshair)
*/
#include <PR/ultratypes.h>
#include <PR/gbi.h>
#ifdef __cplusplus
extern "C" {
#endif
Gfx *optionsFileSelectLabel(Gfx *gdl); /* game thread */
int frontOptionsIsOpen(void); /* any thread */
void frontOptionsFeedPad(unsigned held); /* input thread */
#ifdef __cplusplus
}
#endif
#endif /* PORT_FRONTOPTIONS_H */