This topic aims to collect all things we need to change in the new savegame revision. Feel free to edit.
Change all the dates from 16bit to 32bit (applies even to the points above) (optional - this will take a lot of work so do that only if someone will volunteer to do it, but please do not block the revision bump by this if it would take too long)
Please add yours. This topic should be periodically editted and purged as new savegame revisions are rolled out..
-----
Note that a more liberal policy has been adopted lately and we just bump the revision number whenever necessary. Therefore this topic has been deemed obsolete and I'm unstickying it.
Last edited by pasky on 01 Apr 2005 12:24, edited 3 times in total.
The flush toilet is the basis of Western civilization. -- Alan Coult
just curious, you are going to use the same variable for waypoints and stations ? (byte stat_id) [or variable name] wouldn't be better to change it to byte wayp_id
class_id+stat_id is for custom stations graphics - it contains id of the particular custom station definition in a particular class. However for checkpoints the class_id is always 'WAYP' so there's no need to save it.
The flush toilet is the basis of Western civilization. -- Alan Coult
Save 'pause' field in savegames too. Needed for multiplayer to function correctly.
I think this is the easiest way to communicate the saved-game state of a game to the other players.
May I also urge the implementation of the savegame revision bump? Pasky cannot continue his work, and I keep getting bug reports about airports
TrueLight:"Did you bother to read any of the replies, or you just pressed 'Reply' and started typing?" <@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
The new revision was finally done by ludde, so I updated the master topic and removed the items which got implemented there. I'll also make the topic sticky so that it can serve for future generations as well.
The flush toilet is the basis of Western civilization. -- Alan Coult
Somewhere to store the bribe attempts and whether the players are locked out of the Local Authority window too would be a good thing, in the next saved game revision - I never implemented this to be saved in the game, but it should, really.
Store an additional difficulty setting (town council's attitude towards area restructuring). This is an int at the end of the GameOptions struct.
This needs to be kinda hacked in like st->airport_flags, since it increases the GameOptions struct by an int. Until then, patch cannot be added, since it will screw loading games. When done, please apply patch [ 987498 ] Extra Dynamite Fixes etc.
And also we can remove alpha-order from the savegame since it's not used anymore
TrueLight:"Did you bother to read any of the replies, or you just pressed 'Reply' and started typing?" <@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
We need a is_active variable in the Player struct. Currently the name of the company is used to determine if this company does exist. If (name_1!=0) the company exists. That's not only ugly, it also results in two serious bugs:
Remove blocked_months from Station-struck as it will become obsolete
As I plan to move the exclusive-rights from the stations and to the city for better control.
And if I can't save the information in the save-file it would be rather useless!
Working on the patch right now!
Add uint16 arrived_at_station to Vehicle struct. This is needed for the fifo loading patch I am working on (It's kinda done already, I'll upload it to SF soon, only still needs the savegame part).