save and load configuration actuator, (option in game actuator menu)
saves a marshal'd GameLogic.globalDict to the blendfile path with the blend extension replaced with bgeconf Use this in YoFrankie to save keyboard layout and graphics quality settings.
This commit is contained in:
@@ -876,6 +876,16 @@ void BL_ConvertActuators(char* maggiename,
|
||||
mode = KX_GameActuator::KX_GAME_QUIT;
|
||||
break;
|
||||
}
|
||||
case ACT_GAME_SAVECFG:
|
||||
{
|
||||
mode = KX_GameActuator::KX_GAME_SAVECFG;
|
||||
break;
|
||||
}
|
||||
case ACT_GAME_LOADCFG:
|
||||
{
|
||||
mode = KX_GameActuator::KX_GAME_LOADCFG;
|
||||
break;
|
||||
}
|
||||
default:
|
||||
; /* flag error */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user