fichier settings

This commit is contained in:
2025-03-22 22:03:57 +01:00
parent 30dd323e22
commit 6b16abda6a
7 changed files with 138 additions and 25 deletions

View File

@@ -38,10 +38,10 @@ _Repeat for every avaible actions._
The settings file has the following format:
- The number of the chosen keybinds (from 0 to 4), stored with 1 byte
- The size multiplier of the window, stored with 1 byte
- The window size mode, stored with 1 byte
- The number of the last selected gamemode (converted from an Enum), stored with 1 byte
- The last selected width of the board, stored with 1 byte
- The last selected height of the board, stored with 1 byte
- The uniformity mode (0 for default distribution, 1 for uniformous distribution, 2 for custom distribution), stored with 1 byte
- If custom distribution is set, store the proportion of each size (15x1 byte total)
- Every selected pieces, using 1 byte for the type of selection (once again converted from an Enum) and 1 byte for the actual value
- Every selected pieces, using 1 byte for the type of selection (once again converted from an Enum) and 1 byte for the actual value