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

Special processing for loco control code characters #175

Open
LeftofZen opened this issue Mar 2, 2025 · 0 comments
Open

Special processing for loco control code characters #175

LeftofZen opened this issue Mar 2, 2025 · 0 comments
Labels

Comments

@LeftofZen
Copy link
Collaborator

See https://github.com/OpenLoco/OpenLoco/blob/f3ec658e4409b50259fb71fe0bb6936f3f23bc80/src/OpenLoco/src/Localisation/Formatting.h#L66 for the special control codes that can be specified in a string as per Locomotion's string definition. For example 123 is ASCII { but this doesn't represent the literal character, it represents a format specifier for the string, in this case an int32. In the UI w should simply display this to the user in a clear manner and perhaps display a table of valid control codes they can use.

@LeftofZen LeftofZen added the ui label Mar 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant