Files @ r25673:4919875a9031
Branch filter:

Location: cpp/openttd-patchpack/source/media/baseset/openttd.grf

r25673:4919875a9031 498.7 KiB application/octet-stream Show Annotation Show as Raw Download as Raw
Patric Stout
Codechange: ability to store structs and list of structs in savegames

The commits following this will use this new functionality.

Currently, a few places do this manually. This has as drawback that
the Save() and Load() code need to be in sync, and that any change
can result in (old) savegames no longer loading. In general, it is
annoying code to maintain.

By putting everything in a description table, and use that for
both Save() and Load(), it becomes easier to see what is going on,
and hopefully less likely for people to make mistakes.
Binary file (application/octet-stream)