Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

src/options.c File Reference


Detailed Description

Player-configurable options menu.

Definition in file options.c.

#include "crogue.h"
#include "export.h"

Go to the source code of this file.

Data Structures

struct  option
 A configuration option. More...


Typedefs

typedef option option
 A configuration option.


Functions

void cb_options_menu (int n, char *buf)
void init_options (void)
void options_menu (void)

Variables

const char * choices_yesnoprompt []
const option options [NUM_OPTIONS]


Typedef Documentation

typedef struct option option
 

A configuration option.


Function Documentation

void cb_options_menu int  n,
char *  buf
[static]
 

Definition at line 88 of file options.c.

References world::options, options, and w.

Referenced by options_menu().

void init_options void   ) 
 

Definition at line 95 of file options.c.

References option::default_value, NUM_OPTIONS, options, world::options, and w.

Referenced by initialize().

void options_menu void   ) 
 

Definition at line 103 of file options.c.

References cb_options_menu(), full_redraw(), world::level, option::num_choices, NUM_OPTIONS, OPTION_GRAY_ON, OPTION_GRAYSCALE, options, world::options, options_menu_tabs, options_rect, setTabStops(), UI_Menu_Pick(), UI_Menu_Set_Persist(), and w.

Referenced by main_menu(), and plr_move().


Variable Documentation

const char* choices_yesnoprompt[] [static]
 

Initial value:

 {
    gettext("Yes"),
    gettext("No"),
    gettext("Prompt") }

Definition at line 35 of file options.c.

const option options[NUM_OPTIONS] [static]
 

Definition at line 50 of file options.c.

Referenced by cb_options_menu(), init_options(), and options_menu().


Generated on Thu May 20 13:12:13 2004 for CalcRogue by doxygen 1.3.6