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
New navcon text format, with converter, fix #1772 #2329
Conversation
2bc1941
to
2615223
Compare
|
lgtm |
ffd46eb
to
0411c5d
Compare
|
|
0411c5d
to
f601f92
Compare
I stripped it. Anyway, that's fun: |
1bc1aaf
to
7ceb19a
Compare
|
I added a patch to make the game load both the old and new format and write the new format instead of the old one.
This is based on a shameless copy-paste of the layout parser writer (which uses a similar format), despite being so C89 and featuring a lot of cargo cult, it works. |
aab4710
to
4eabdb4
Compare
3d7c87b
to
9fc0ada
Compare
50848a9
to
f25dae6
Compare
|
I added the ability to pass |
129fc95
to
d8dce9f
Compare
72c95be
to
0bd26c9
Compare
|
I added some extra code to make sure the parser doesn't read missing number of a line from the next line, also the |
0bd26c9
to
fd63399
Compare
fd63399
to
bb59fd7
Compare
This commit is easy to revert to re-enable debugging.
c923a0e
to
038ea1a
Compare
|
I added a commit to delete the extra debug print, that commit is easy to revert for re-enabling debugging. |
038ea1a
to
064c68a
Compare
|
Some navcons ready to import from https://github.com/sweet235/navcon |
064c68a
to
d156438
Compare
d156438
to
d00e41f
Compare
Introduce a new navcon text format.
Make the engine loads both old and new format and write new format.
Add a navcon converter to convert existing navcon files to the new format.
Fix #1772.
The output format is a text format, all numbers are written as integers as float precision is believed to be overkill.
Output format is like:
Example: