summaryrefslogtreecommitdiff
path: root/saveload.c
AgeCommit message (Collapse)Author
2005-03-15(svn r2018) Yet another workaroundtron
2005-03-15(svn r2017) Explicitly mark SlReadByte as 'inline'tron
2005-03-15(svn r2014) Don't manually inline a piece of codetron
2005-02-23(svn r1909) - Fix: [ 1145593 ] assertion failed when saving the game. It is ↵Darkvater
nice to also update the savegame format when you update town statistics :)
2005-02-06(svn r1818) -Add: Dynamic orders (up to 64k orders)truelight
2005-02-06(svn r1817) -Codechange: Moved depot-functions to depot.ctruelight
-Codechange: Added wrappers around depot-access (GetDepot no exists) -Codechange: Made depot-functions a bit more logic (no longer GetDepotByTile crashes your game when you request it on a non-depot tile) -Add: made depots dynamic (yes, 64k depots are possible now)
2005-02-05(svn r1803) Move debugging stuff into files of it's owntron
2005-02-04(svn r1788) -Add: Made RoadStops dynamic. You can now create up to 64k ↵truelight
roadstops.
2005-02-04(svn r1786) -Fix: unitnumber is increased to 16bit, so now you can have up ↵truelight
to 5000 trains in one game (instead of the 240 which was the current value). Default max allowed vehicles per type is changed: Trains: 500 (old 80) Road: 500 (old 80) Ships: 200 (old 40) Aicraft: 300 (old 50) (Tnx to Celestar and Darkvater for checking the patch)
2005-02-04(svn r1783) -Add: Dynamic vehicles (now up to 64k of vehicles)truelight
2005-02-03(svn r1776) -Add: Dynamic stations. You can now have up to 64k of stationstruelight
2005-02-02(svn r1770) -Fix: Hopefully last pieces of code that are containing a station-idtruelight
(and should be an uint16, not uint8)
2005-02-02(svn r1768) -Codechange: Store town index in _map2 of town tilescelestar
Moved house type from _map2 to _map3_hi for MP_HOUSE Moved foundation and roadworks from _map2 to _map3 for MP_STREET This increases game speed by a factor of around 15(!) if many cities are around. Converting an old game is done automagically, but can take a while
2005-02-01(svn r1764) -Add: dynamic towns, you can now have up to 64k towns (let me ↵truelight
know when you have that amount of towns in a map ;))
2005-01-29(svn r1722) -Feature: Bigger maps - anyone?tron
2005-01-29(svn r1721) -Feature: It is now possible to build multiple road stations (up ↵celestar
to 8) on a single station. Thanks to: Truelight for the saveload code, Darkvater and Hackykid for network testing and Tron for proof-reading 1500 lines of diff.
2005-01-25(svn r1673) - Codechange: Removed some redundant comments from r1667dominik
Saving the player color for signs will work right after the savegame bump
2005-01-25(svn r1667) - Feature: Signs are now shown in the color of the player who ↵dominik
created them (Note: The player information is currently not stored in savegames. Upon loading a game the signs will all be gray again)
2005-01-22(svn r1596) Add some more staticstron
2005-01-22(svn r1595) EmergencySave() is only used on WIN32, add preprocessor guard to ↵tron
hide it everywhere else
2005-01-22(svn r1594) Convert all undefined parameter lists to (void) and add the ↵tron
appropriate warning flags in the Makefile
2005-01-15(svn r1525) -Codechange: rewrote the _order_array, now it can be made dynamic.truelight
-Codechange: renamed all 'schedule' stuff to 'order(list)' -Codechange: moved all order-stuff to order_cmd.c / order.h -Codechange: vehicles that share orders are now linked to eachother with next_shared/prev_shared in Vehicle Developers: please use AssignOrder to assign data to an order. If not, you _WILL_ make the save-routine to assert!
2005-01-09(svn r1440) -Feature: Allows more flexible airport layouts now, as the number ofcelestar
terminals in every group can be freely chosen -Codechange: AT_OILRIG is now 15, so that new airports can be added easily.
2005-01-08(svn r1429) Change: bumped savegame to revision 5.truelight
- Now orders are bigger - Now _map2 is official 16 bits
2005-01-08(svn r1426) -Codechange: cleaned up the reference code in the saveload routinestruelight
-Codechange: removed next_in_chain_old, and saved ->next for Vehicles (and bumped savegame revision for that to version 4.4) -Codechange: Added _sl.full_version, which has both major and minor version
2005-01-07(svn r1417) Fix: The invisible tiles on the southern border are now ↵dominik
converted to class MP_VOID when an old map (with wrong classified invisible tiles) is loaded. I bumped the minor savegame version for that, even though it's not really necessary. We're not gonna run out of minor savegame versions anyway though. ;)
2004-12-28(svn r1288) -Codechange: changed _map2 to an uint16. It is still saved and ↵truelight
loaded as an uint8 till the savegame version is bumped to version 5. Then it works automaticly as a fully uint16. So _stations[] can not be increased till after the bump!!
2004-12-23(svn r1248) -Add: initial OS/2 support (read docs/ReadMe_OS2.txt) (orudge)truelight
Works fine, beside some minor stuff: - Network is not working yet - Keyboard is not working - No MIDI support - 'A few file selector bugs involving drives'
2004-12-22(svn r1222) Currency cleanup. Changed some currency symbols according to ↵dominik
forum suggestions (thx ChrisCF) and rearranged the currencies alphabetically (except for the major ones).
2004-12-14(svn r1082) Feature: Chat toolbardominik
- to chat with all players press Return (or Shift-T) and type in the message - Press Return again to send the message
2004-12-13(svn r1076) Feature: Patch setting to autosave the game on exitdominik
If you set autosave_on_exit = true in openttd.cfg, your game will be saved as exit.sav in the autosave folder and you won't be asked if you want to quit the game any more.
2004-12-13(svn r1041) Under certain circumstances obsolete fields are included in the ↵tron
size calculation of a chunk in a savegame which leads to failed loads. This wasn't triggered because the necessary conditions weren't met.
2004-12-03(svn r907) Sprinkle holy ANSI water:tron
- "inline" must before the return type (and after "static") - Initialise all struct members, not just some of them - Remove (one) spurious semicolon
2004-11-24(svn r793) Merge INLINE -> inline replacement (revision 376)tron
2004-11-14(svn r607) -Patch: [ 985102 ] static cleanuptron
Thanks to lvoge
2004-09-12(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron ↵darkvater
for your diligent fixing of warnings (and some possibly bugs) (Tron) -CodeLayout: Remove trailing spaces and Windows linebreaks
2004-09-10(svn r194) -Codechange: stripping trailing-spaces. Please keep this that way!truelight
2004-08-23(svn r122) Change: exclusive transport rights are now stored per town ↵dominik
instead of per station Exclusive rights from old savegames will be reset.
2004-08-09(svn r1) Import of revision 975 of old (crashed) SVNtruelight