add 'saveKeys' boolean to GameType.game_type, which should tell us to assign the new userKeys record to the InputState (which is implemented), and should also tell us to convert the keys to a string and save it to controls.config

This commit is contained in:
2025-02-21 18:32:48 +00:00
parent e1fb4004dd
commit e6b0a5f37f
6 changed files with 24 additions and 13 deletions

View File

@@ -4,7 +4,7 @@ struct
fun update (game: GameType.game_type, input, time) =
let
val {mode, userKeys} = game
val {mode, userKeys, saveKeys = _} = game
in
case mode of
LEVEL level => LevelUpdate.update (level, input, userKeys, time)