If one manually edits say "default.gam" and adds a super-long name, the loading code doesn't correctly handle it - would be good to update these parts of the code to more elegantly correctly handle 'extremely long lines' (either fuzz-testing e.g. for stress-testing, and also because I want to add/improve support for extremely long actual filenames/paths correctly)
A few 'small and simple and light' wrapper helpers for file stuff may be useful in this regard.
While we're at it, support utf8 etc., e.g. want high score list to be utf8 so in future versions we could have e.g. players with e.g. names requiring Unicode to be able to enter their names in the high score list etc.
(In theory we could consider something like JSON libs but I somehow not sure I feel it's worth it, but it's debatable I guess)
If one manually edits say "default.gam" and adds a super-long name, the loading code doesn't correctly handle it - would be good to update these parts of the code to more elegantly correctly handle 'extremely long lines' (either fuzz-testing e.g. for stress-testing, and also because I want to add/improve support for extremely long actual filenames/paths correctly)
A few 'small and simple and light' wrapper helpers for file stuff may be useful in this regard.
While we're at it, support utf8 etc., e.g. want high score list to be utf8 so in future versions we could have e.g. players with e.g. names requiring Unicode to be able to enter their names in the high score list etc.
(In theory we could consider something like JSON libs but I somehow not sure I feel it's worth it, but it's debatable I guess)