mirror of
https://github.com/jkdansereau/goldeneye-pc-port.git
synced 2026-10-23 15:52:42 +02:00
Replaces the M2 panel. Built like the Cheat Options screen: open dossier (tabs + blank CLASSIFIED page), black Zurich ink via frontPrintText, GE's highlight box, PREVIOUS tab as back, the game's crosshair. Page 0 is a numbered section list; each section lists the F10 overlay's rows with a value column (ON in the cheat red) and slider bars. Game code (Rule 2, user sign-off 2026-09-27): MENU_PC_OPTIONS enum value and five one-line dispatch cases, all #ifdef PORT. The file-select label now enters the screen via frontChangeMenu. The M2 button hand-off in input.c is gone; F10/Select don't open the overlay on this screen.
36 lines
982 B
C
36 lines
982 B
C
#ifndef PORT_FRONTOPTIONS_H
|
|
#define PORT_FRONTOPTIONS_H
|
|
|
|
/*
|
|
* D343: PC options as a GE front-end screen, MENU_PC_OPTIONS
|
|
* (port/src/frontoptions.c).
|
|
*
|
|
* Hooks:
|
|
* front.c the five MENU_* dispatch sites : frontOptionsMenu{Init,Update,
|
|
* Interface,Draw} and the debug name (all #ifdef PORT)
|
|
* front.c constructor_menu05_fileselect : optionsFileSelectLabel() draws the
|
|
* file-select entry label and enters MENU_PC_OPTIONS on a click
|
|
* video.c / input.c : F10 / Select don't open the overlay on this screen
|
|
*/
|
|
|
|
#include <PR/ultratypes.h>
|
|
#include <PR/gbi.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
void frontOptionsMenuInit(void);
|
|
void frontOptionsMenuUpdate(void);
|
|
void frontOptionsMenuInterface(void);
|
|
Gfx *frontOptionsMenuDraw(Gfx *DL);
|
|
|
|
Gfx *optionsFileSelectLabel(Gfx *gdl); /* file-select hook */
|
|
int frontOptionsBlocksOverlay(void); /* 1 while MENU_PC_OPTIONS is up */
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* PORT_FRONTOPTIONS_H */
|