News:

Simutrans Wiki Manual
The official on-line manual for Simutrans. Read and contribute.

PR#551 - Clean up unused GUI rdwr code

Started by Ranran, June 13, 2022, 12:42:48 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Ranran

As the standard did when introducing new GUI code from the standard, the open state of the previous dialogs was no longer inherited. In other words, it does not restore previously opened dialogs from save data prior to 14.38. (This eventually eliminated the save compatibility error that occurred early in 14.x.)

I noticed that there was still some code that was no longer used. PR #551 cleans them up.

Restoring a very old save dialog is probably not very useful and should be cleaned up with a major upgrade in terms of maintenance effort and code clutter. We probably need to be aware of that in version 15.

jamespetts

Excellent, thank you for that: now incorporated.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.