|
| static void | opt_close (unsigned int wid, const char *name) |
| | Closes the options screen without saving.
|
| static void | opt_needRestart (void) |
| | Marks that needs restart.
|
| static char ** | lang_list (int *n) |
| static void | opt_gameplay (unsigned int wid) |
| | Opens the gameplay menu.
|
| static void | opt_setMapOverlayOpacity (unsigned int wid, const char *str) |
| | Callback to set autonav abort threshold.
|
| static void | opt_OK (unsigned int wid, const char *str) |
| | Saves all options and closes the options screen.
|
| static int | opt_gameplaySave (unsigned int wid, const char *str) |
| | Saves the gameplay options.
|
| static void | opt_gameplayDefaults (unsigned int wid, const char *str) |
| | Sets the default gameplay options.
|
| static void | opt_gameplayUpdate (unsigned int wid, const char *str) |
| | Updates the gameplay options.
|
| static void | opt_accessibility (unsigned int wid) |
| | Initializes the accessibility window.
|
| static int | opt_accessibilitySave (unsigned int wid, const char *str) |
| static void | opt_accessibilityDefaults (unsigned int wid, const char *str) |
| | Sets video defaults.
|
| static void | opt_setBGBrightness (unsigned int wid, const char *str) |
| | Callback to set the background brightness.
|
| static void | opt_setNebuNonuniformity (unsigned int wid, const char *str) |
| | Callback to set the nebula non-uniformity parameter.
|
| static void | opt_setSaturation (unsigned int wid, const char *str) |
| static void | opt_setJumpBrightness (unsigned int wid, const char *str) |
| | Callback to set the background brightness.
|
| static void | opt_setColourblindCorrect (unsigned int wid, const char *str) |
| | Handles the colourblind correction.
|
| static void | opt_setColourblindSimulate (unsigned int wid, const char *str) |
| | Handles the colourblind correction.
|
| static void | opt_listColourblind (unsigned int wid, const char *str) |
| | Handles the colourblind mode change.
|
| static void | opt_setGameSpeed (unsigned int wid, const char *str) |
| static void | opt_video (unsigned int wid) |
| | Initializes the video window.
|
| static void | opt_videoRes (unsigned int wid, const char *str) |
| | Callback when resolution changes.
|
| static int | opt_videoSave (unsigned int wid, const char *str) |
| | Saves the video settings.
|
| static void | opt_videoDefaults (unsigned int wid, const char *str) |
| | Sets video defaults.
|
| static void | opt_getVideoMode (int *w, int *h, int *fullscreen) |
| | Detects the video-mode options corresponding to the gl_screen we have set up.
|
| static void | opt_setGammaCorrection (unsigned int wid, const char *str) |
| | Callback to set the gamma correction value (reciprocal of exponent).
|
| static void | opt_setScalefactor (unsigned int wid, const char *str) |
| | Callback to set the scaling factor.
|
| static void | opt_setZoomFar (unsigned int wid, const char *str) |
| | Callback to set the far zoom.
|
| static void | opt_setZoomNear (unsigned int wid, const char *str) |
| | Callback to set the far zoom.
|
| static void | opt_checkHealth (unsigned int wid, const char *str) |
| | Handles the health bar checkbox.
|
| static void | opt_checkRestart (unsigned int wid, const char *str) |
| | Basically flags for needing a restart.
|
| static void | opt_audio (unsigned int wid) |
| | Opens the audio settings menu.
|
| static int | opt_audioSave (unsigned int wid, const char *str) |
| | Saves the audio stuff.
|
| static void | opt_audioDefaults (unsigned int wid, const char *str) |
| | Sets the audio defaults.
|
| static void | opt_audioUpdate (unsigned int wid) |
| | Updates the gameplay options.
|
| static void | opt_audioLevelStr (char *buf, int max, int type, double pos) |
| | Sets the sound or music volume string based on level.
|
| static void | opt_setAudioLevel (unsigned int wid, const char *str) |
| | Callback to set the sound or music level.
|
| static void | opt_setEngineLevel (unsigned int wid, const char *str) |
| static void | opt_beep (unsigned int wid, const char *str) |
| static void | opt_keybinds (unsigned int wid) |
| | Opens the keybindings menu.
|
| static void | menuKeybinds_getDim (unsigned int wid, int *w, int *h, int *lw, int *lh, int *bw, int *bh) |
| | Gets the keybind menu dimensions.
|
| static void | menuKeybinds_genList (unsigned int wid) |
| | Generates the keybindings list.
|
| static void | menuKeybinds_update (unsigned int wid, const char *name) |
| | Updates the keybindings menu.
|
| static void | opt_keyDefaults (unsigned int wid, const char *str) |
| | Restores the key defaults.
|
| static int | opt_setKeyEvent (unsigned int wid, SDL_Event *event) |
| | Tries to set the key from an event.
|
| static void | opt_setKey (unsigned int wid, const char *str) |
| | Rebinds a key.
|
| static void | opt_unsetKey (unsigned int wid, const char *str) |
| | Unsets the key.
|
| static void | opt_plugins (unsigned int wid) |
| | Opens the keybindings menu.
|
| static void | opt_plugins_regenList (unsigned int wid) |
| static void | opt_plugins_add (unsigned int wid, const char *name) |
| static void | opt_plugins_update (unsigned int wid, const char *name) |
| void | opt_menu (void) |
| | Creates the options menu thingy.
|
| void | opt_resize (void) |
| | Handles resize events for the options menu.
|
| int | opt_setVideoMode (int w, int h, int fullscreen, int confirm) |
| | Applies new video-mode options.
|
| static void | opt_plugins_add_callback (void *userdata, const char *const *filelist, int filter) |
Options menu.
Definition in file options.c.