Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scanf related issues #162

Open
davidjoffe opened this issue Nov 24, 2022 · 0 comments
Open

scanf related issues #162

davidjoffe opened this issue Nov 24, 2022 · 0 comments

Comments

@davidjoffe
Copy link
Owner

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant