The International Simutrans Forum

 

Author Topic: Are all settings stored in a savegame  (Read 2179 times)

0 Members and 1 Guest are viewing this topic.

Offline Combuijs

  • Web Team
  • Devotee
  • *
  • Posts: 1400
  • Maintainer of maps.simutrans.com
    • Combuijs
  • Languages: EN, NL
Are all settings stored in a savegame
« on: June 20, 2010, 09:48:57 PM »
Question from the Dutch board: http://forum.simutrans.com/index.php?topic=5369.msg52310;topicseen#msg52310

Is the max_transfers settings stored in a savegame or read from the configuration files?

Which leads to the obvious other question:

Which settings are stored in a savegame and which settings are never stored in a save game but taken from the configuration files?

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 10230
  • Languages: De,EN,JP
Re: Are all settings stored in a savegame
« Reply #1 on: June 20, 2010, 10:34:39 PM »
If you can read code: all settings in umgebung_t, i.e. everything that does not affect game play, will be not stored. Reason: when network or competitions are on, those settings need to prevail. Timeline is the only execption, since this behavior was added earlier.

Offline Combuijs

  • Web Team
  • Devotee
  • *
  • Posts: 1400
  • Maintainer of maps.simutrans.com
    • Combuijs
  • Languages: EN, NL
Re: Are all settings stored in a savegame
« Reply #2 on: June 21, 2010, 08:49:18 AM »
Thanks Prissi, I can read code.

And for those who can't, and can't read through all negations in the previous post  ;) , max_transfers is stored in the save game because it affects game play.