FTEQW
Documentation of the FTE engine source tree.
m_options.c File Reference

Enumerations

enum  { ASPECT3D_DESKTOP = ASPECT_RATIOS , ASPECT3D_CUSTOM }
 
enum  { ASPECT2D_AUTO = ASPECT_RATIOS , ASPECT2D_HEIGHT , ASPECT2D_SCALED , ASPECT2D_CUSTOM }
 

Functions

void VidMode_Clear (void)
 
void VidMode_Add (int w, int h)
 
qboolean M_Vid_GetMode (qboolean forfullscreen, int num, int *w, int *h)
 
emenu_tM_Options_Title (int *y, int infosize)
 
void M_Menu_Options_f (void)
 
qboolean M_Audio_Key (struct emenu_s *menu, int key, unsigned int unicode)
 
void M_Audio_StartSound (struct emenu_s *menu)
 
void M_Menu_Audio_Speakers_f (void)
 
void M_Menu_Audio_Remove (emenu_t *menu)
 
struct audiomenuinfo * M_Menu_Audio_Setup (emenu_t *menu)
 
void M_Menu_Audio_f (void)
 
void M_Menu_Particles_f (void)
 
void M_Menu_Preset_f (void)
 
void FPS_Preset_f (void)
 
void FPS_Preset_c (int argn, const char *partial, struct xcommandargcompletioncb_s *ctx)
 
void M_Menu_FPS_f (void)
 
void M_Menu_Render_f (void)
 
void M_Menu_Textures_f (void)
 
qboolean M_VideoApplyShadowLighting (union menuoption_s *op, struct emenu_s *menu, int key)
 
void M_Menu_Lighting_f (void)
 
qboolean M_Apply_SP_Cheats (union menuoption_s *op, struct emenu_s *menu, int key)
 
void M_Menu_Singleplayer_Cheats_Quake (void)
 
qboolean M_Apply_SP_Cheats_Q2 (union menuoption_s *op, struct emenu_s *menu, int key)
 
void M_Menu_Singleplayer_Cheats_Quake2 (void)
 
qboolean M_Apply_SP_Cheats_H2 (union menuoption_s *op, struct emenu_s *menu, int key)
 
void M_Menu_Singleplayer_Cheats_Hexen2 (void)
 
void M_Menu_Singleplayer_Cheats_f (void)
 
void CheckCustomMode (struct emenu_s *menu)
 
qboolean M_VideoApply (union menuoption_s *op, struct emenu_s *menu, int key)
 
void M_Menu_Video_f (void)
 
void M_Modelviewer_Reset (struct menu_s *cmenu)
 
void M_Menu_ModelViewer_f (void)
 
void M_Menu_ModelViewer_c (int argn, const char *partial, struct xcommandargcompletioncb_s *ctx)
 
void M_Menu_Mods_f (void)
 
void FS_CreateBasedir (const char *path)
 
void M_Menu_Installer (void)
 

Variables

qboolean forcesaveprompt
 
cvar_t pr_debugger
 
const char * presetname []
 
const char * presetexec []
 
struct {
   const char *   name
 
   qboolean   dorestart
 
   const char *   desc
 
   const char *   settings
 
builtinpresets []
 
ftemanifest_tfs_manifest
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
ASPECT3D_DESKTOP 
ASPECT3D_CUSTOM 

◆ anonymous enum

anonymous enum
Enumerator
ASPECT2D_AUTO 
ASPECT2D_HEIGHT 
ASPECT2D_SCALED 
ASPECT2D_CUSTOM 

Function Documentation

◆ CheckCustomMode()

void CheckCustomMode ( struct emenu_s menu)

◆ FPS_Preset_c()

void FPS_Preset_c ( int  argn,
const char *  partial,
struct xcommandargcompletioncb_s ctx 
)

◆ FPS_Preset_f()

void FPS_Preset_f ( void  )

◆ FS_CreateBasedir()

void FS_CreateBasedir ( const char *  path)

◆ M_Apply_SP_Cheats()

qboolean M_Apply_SP_Cheats ( union menuoption_s op,
struct emenu_s menu,
int  key 
)

◆ M_Apply_SP_Cheats_H2()

qboolean M_Apply_SP_Cheats_H2 ( union menuoption_s op,
struct emenu_s menu,
int  key 
)

◆ M_Apply_SP_Cheats_Q2()

qboolean M_Apply_SP_Cheats_Q2 ( union menuoption_s op,
struct emenu_s menu,
int  key 
)

◆ M_Audio_Key()

qboolean M_Audio_Key ( struct emenu_s menu,
int  key,
unsigned int  unicode 
)

◆ M_Audio_StartSound()

void M_Audio_StartSound ( struct emenu_s menu)

◆ M_Menu_Audio_f()

void M_Menu_Audio_f ( void  )

◆ M_Menu_Audio_Remove()

void M_Menu_Audio_Remove ( emenu_t menu)

◆ M_Menu_Audio_Setup()

struct audiomenuinfo * M_Menu_Audio_Setup ( emenu_t menu)

◆ M_Menu_Audio_Speakers_f()

void M_Menu_Audio_Speakers_f ( void  )

◆ M_Menu_FPS_f()

void M_Menu_FPS_f ( void  )

◆ M_Menu_Installer()

void M_Menu_Installer ( void  )

◆ M_Menu_Lighting_f()

void M_Menu_Lighting_f ( void  )

◆ M_Menu_ModelViewer_c()

void M_Menu_ModelViewer_c ( int  argn,
const char *  partial,
struct xcommandargcompletioncb_s ctx 
)

◆ M_Menu_ModelViewer_f()

void M_Menu_ModelViewer_f ( void  )

◆ M_Menu_Mods_f()

void M_Menu_Mods_f ( void  )

◆ M_Menu_Options_f()

void M_Menu_Options_f ( void  )

◆ M_Menu_Particles_f()

void M_Menu_Particles_f ( void  )

◆ M_Menu_Preset_f()

void M_Menu_Preset_f ( void  )

◆ M_Menu_Render_f()

void M_Menu_Render_f ( void  )

◆ M_Menu_Singleplayer_Cheats_f()

void M_Menu_Singleplayer_Cheats_f ( void  )

◆ M_Menu_Singleplayer_Cheats_Hexen2()

void M_Menu_Singleplayer_Cheats_Hexen2 ( void  )

◆ M_Menu_Singleplayer_Cheats_Quake()

void M_Menu_Singleplayer_Cheats_Quake ( void  )

◆ M_Menu_Singleplayer_Cheats_Quake2()

void M_Menu_Singleplayer_Cheats_Quake2 ( void  )

◆ M_Menu_Textures_f()

void M_Menu_Textures_f ( void  )

◆ M_Menu_Video_f()

void M_Menu_Video_f ( void  )

◆ M_Modelviewer_Reset()

void M_Modelviewer_Reset ( struct menu_s cmenu)

◆ M_Options_Title()

emenu_t * M_Options_Title ( int y,
int  infosize 
)

◆ M_Vid_GetMode()

qboolean M_Vid_GetMode ( qboolean  forfullscreen,
int  num,
int w,
int h 
)

◆ M_VideoApply()

qboolean M_VideoApply ( union menuoption_s op,
struct emenu_s menu,
int  key 
)

◆ M_VideoApplyShadowLighting()

qboolean M_VideoApplyShadowLighting ( union menuoption_s op,
struct emenu_s menu,
int  key 
)

◆ VidMode_Add()

void VidMode_Add ( int  w,
int  h 
)

◆ VidMode_Clear()

void VidMode_Clear ( void  )

Variable Documentation

◆ 

struct { ... } builtinpresets[]

◆ desc

const char* desc

◆ dorestart

qboolean dorestart

◆ forcesaveprompt

qboolean forcesaveprompt
extern

◆ fs_manifest

ftemanifest_t* fs_manifest
extern

◆ name

const char* name

◆ pr_debugger

cvar_t pr_debugger
extern

◆ presetexec

const char* presetexec[]

◆ presetname

const char* presetname[]
Initial value:
=
{
"286",
"Fast",
"Spasm",
"Vanilla",
"Normal",
"Nice",
"Realtime",
NULL
}

◆ settings

const char* settings