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

Replace characters in the Graphical Overmap mod with escape sequences #36535

Merged
merged 1 commit into from
Dec 31, 2019

Conversation

Qrox
Copy link
Contributor

@Qrox Qrox commented Dec 29, 2019

Summary

SUMMARY: None

Purpose of change

Currently the overmap symbols in the Graphical Overmap mod are written as characters. However, these characters are actually used to draw different symbols, and look like gibberish when viewed in a text editor, making it hard to locate each symbol in the font image. This can be merged once #36538 gets merged.

Describe the solution

Specify the characters using escape sequences, so it's easier to locate the symbol in the font image by looking at the hexadecimal number.

Testing

Tested in game and the symbols are correctly displayed as before. Also used the JSON formatter without #36538 to convert the escape sequences back to characters, and the resulting files were identical to the files before this change.

@Qrox
Copy link
Contributor Author

Qrox commented Dec 29, 2019

Seems like the JSON formatter isn't happy with escape sequences.

@ZhilkinSerg ZhilkinSerg added [JSON] Changes (can be) made in JSON Mods Issues related to mods or modding labels Dec 30, 2019
@Qrox Qrox force-pushed the graphical-overmap-escaped-char branch from 17d7d82 to fe47a3b Compare December 31, 2019 04:25
@ZhilkinSerg ZhilkinSerg merged commit 27499e0 into CleverRaven:master Dec 31, 2019
@Qrox Qrox deleted the graphical-overmap-escaped-char branch January 2, 2020 06:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[JSON] Changes (can be) made in JSON Mods Issues related to mods or modding
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants