The International Simutrans Forum

 

Author Topic: Handling of loading crashes  (Read 1021 times)

0 Members and 1 Guest are viewing this topic.

Offline Fabio

  • Devotee
  • Administrator
  • *
  • Posts: 2898
  • The Pak128 Guy
    • Visit me on Facebook
  • Languages: EN, IT, RO, FR
Handling of loading crashes
« on: January 22, 2012, 02:18:51 PM »
This is a feature that, if possible, would make the game look much more professional.
When loading a game, if it is not compatible with the current pakset, instead of crashing the program should go back too the loading menu or to the new world menu with an error message like "impossible to load the saved game selected". How to achieve this? Maybe taking a memory snapshot before starting loading and in case of crash restoring the memory to that point.

Similarly, starting the game, if there is a choice of paksets and the selected one is corrupted, the program should crash to the pakset choice menu.