- scriptified the video mode menu (only the part that extends the actual menu class, the entire thing is basically non-modifiable but this code would otherwise stand in the way of properly handling the rest of the menus.)
This commit is contained in:
parent
7d96f85fe8
commit
2b977f70e6
5 changed files with 137 additions and 55 deletions
|
|
@ -93,6 +93,8 @@ int BackbuttonTime;
|
|||
float BackbuttonAlpha;
|
||||
static bool MenuEnabled = true;
|
||||
|
||||
void M_InitVideoModes();
|
||||
|
||||
|
||||
#define KEY_REPEAT_DELAY (TICRATE*5/12)
|
||||
#define KEY_REPEAT_RATE (3)
|
||||
|
|
@ -568,6 +570,11 @@ void M_SetMenu(FName menu, int param)
|
|||
M_StartMessage (GStrings("SAVEDEAD"), 1);
|
||||
return;
|
||||
}
|
||||
|
||||
case NAME_VideoModeMenu:
|
||||
M_InitVideoModes();
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
// End of special checks
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue