mirror of
https://github.com/jkdansereau/goldeneye-pc-port.git
synced 2026-10-23 15:52:42 +02:00
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.
31 lines
835 B
C
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 */
|