Advice Savegames needed

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

Post Reply
ChrisHuebsch
Engineer
Engineer
Posts: 75
Joined: 10 Jun 2004 12:46

Advice Savegames needed

Post by ChrisHuebsch »

Hi,

all patches I provided up to this point didn't need to change the savegame. But now I like to work at the auto-upgrade suggestion: http://www.tt-forums.net/viewtopic.php?t=8943
Doing that, I need to modify the save-games.

I think, that I have - for instance - to modify the _player_desc[]-Array by adding:

Code: Select all

SLE_VAR(Player, pref_engine, SLE_UINT16)
Is this correct?

What happens, when I wand to load a savegame which was not written with that modified _player_desc? Is there a file-version-number, I need to modify?

Thank you for your help.

Chris
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 8 guests