Add defaultgov and desiredgov config settings

Allows users to choose which governor settings they want.

	Should provide some future compatibility for other governor settings.
This commit is contained in:
Marc Di Luzio
2018-05-15 17:04:31 +01:00
parent 79f620e013
commit fa19055648
4 changed files with 32 additions and 2 deletions

View File

@@ -93,3 +93,13 @@ void config_get_gamemode_start_scripts(GameModeConfig *self,
*/
void config_get_gamemode_end_scripts(GameModeConfig *self,
char scripts[CONFIG_LIST_MAX][CONFIG_VALUE_MAX]);
/*
* Get the chosen default governor
*/
void config_get_default_governor(GameModeConfig *self, char governor[CONFIG_VALUE_MAX]);
/*
* Get the chosen desired governor
*/
void config_get_desired_governor(GameModeConfig *self, char governor[CONFIG_VALUE_MAX]);