saveload.c
Wed, 18 Jan 2006 15:05:01 +0000 bjarni (svn r3403) -Codechange: [multiheaded engines] the references between the front and rear engines are no longer saved
Thu, 12 Jan 2006 15:52:18 +0000 peter1138 (svn r3396) - Autoreplace changes:
Fri, 06 Jan 2006 21:57:37 +0000 truelight (svn r3376) -Codechange: made enums for GenerateWorld and InitializeGame 'mode'
Thu, 29 Dec 2005 22:28:19 +0000 peter1138 (svn r3356) - Remove unused parameter of AfterLoadGame().
Tue, 13 Dec 2005 21:21:57 +0000 Darkvater (svn r3294) - Fix: use INVALID_STRING_ID instead of -1.
Sat, 26 Nov 2005 12:57:42 +0000 Darkvater (svn r3236) - Fix: warnings about 'CDECL must be used with ...' on VS6
Tue, 22 Nov 2005 19:33:29 +0000 truelight (svn r3227) -Codechange: [Savegame] removed 'minor' version, and renamed 'major' version to just: version.
Fri, 18 Nov 2005 23:41:03 +0000 bjarni (svn r3218) -Feature: Multiheaded train engines will now stay in the same train
Wed, 16 Nov 2005 22:20:15 +0000 peter1138 (svn r3212) - Waypoints/Depots: Store waypoint index in m2 for waypoints. This moves the ground type bits from m2 to m4 for waypoints and depots (leaving room for depot index in m2 in future), and moves the custom graphics ID to the waypoint struct.
Mon, 07 Nov 2005 23:20:47 +0000 bjarni (svn r3155) -Feature: [autoreplace] autoreplace can now remove cars from too long trains
Sat, 22 Oct 2005 06:39:32 +0000 tron (svn r3077) static, const, bracing, indentation, 0 -> '\0'/NULL, typos in comments, excess empty lines, minor other changes
Sun, 02 Oct 2005 22:39:56 +0000 Darkvater (svn r3008) [ 1247535 ] Native Support for Win64 (compile&run only) (michi_cc)
Sun, 11 Sep 2005 18:20:32 +0000 Darkvater (svn r2944) Add Revision keyword to the file for --version/-v
Sun, 11 Sep 2005 14:20:46 +0000 Darkvater (svn r2940) (Internal) Remove the need for the 'tmp' variable for _sl.buf, instead operate on _sl.buf_ori which is not changed for init/deinit.
Sun, 11 Sep 2005 14:17:21 +0000 Darkvater (svn r2939) Fix racing condition when using threaded saving (last one I hope).
Fri, 02 Sep 2005 22:22:02 +0000 Darkvater (svn r2908) If threaded saving fails or does not happen, sending subsequent messages might hang ottd. So don't send them :)
Fri, 02 Sep 2005 16:05:59 +0000 Darkvater (svn r2906) Fix some threaded saving problems. Now the thread only interfaces with the main program through a sort of mutex. Communication uses the function OTTD_SendThreadMessage() with the approiate message which is handled in ProcessSentMessage() during the main loop.
Sat, 13 Aug 2005 21:34:05 +0000 tron (svn r2863) Move some type declarations into saveload.c, should've been part of r2819
Fri, 12 Aug 2005 12:47:35 +0000 tron (svn r2861) Move inclusion of setjmp.h into saveload.c, should've been part of r2819
Sat, 06 Aug 2005 17:40:21 +0000 tron (svn r2819) Make variables, which are exclusive for internal use of the save/load code, static in saveload.c
Sat, 06 Aug 2005 16:07:22 +0000 bjarni (svn r2817) -Codechange: [autoreplace]: moved autoreplace and autorenew to serverside
Sat, 06 Aug 2005 07:15:17 +0000 tron (svn r2813) Plug a thread leak and prevent a race condition which could lead to multiple simultaneous saves and therefore severe corruption
Fri, 05 Aug 2005 11:53:48 +0000 tron (svn r2810) Threads may now return information when they terminate using a void*.
Fri, 05 Aug 2005 09:15:41 +0000 tron (svn r2809) Implement more generic threading functions, which allow more than one thread
Fri, 05 Aug 2005 08:24:12 +0000 tron (svn r2807) Fix two major bugs in the threaded save code:
Sun, 24 Jul 2005 14:12:37 +0000 tron (svn r2701) Insert Id tags into all source files
Fri, 22 Jul 2005 07:02:20 +0000 tron (svn r2673) Include functions.h directly, not globally via openttd.h
Fri, 22 Jul 2005 06:31:31 +0000 tron (svn r2672) Move saving/loading related declarations to saveload.h
Thu, 21 Jul 2005 22:15:02 +0000 tron (svn r2669) Shuffle some more stuff around to reduce dependencies
Thu, 21 Jul 2005 06:31:02 +0000 tron (svn r2660) Get rid of some more shifting/anding/casting
Wed, 20 Jul 2005 19:08:02 +0000 tron (svn r2654) SlWriteUint16() should have a uint16 as parameter, not some arbitrary enum
Wed, 20 Jul 2005 15:36:22 +0000 Darkvater (svn r2651) - Fix: [ 1220776 ] Removes warning when compiling saveload.c on some GCC versions (glx). This only works as long as there is only 1 saving thread active, as is the case now.
Wed, 20 Jul 2005 09:35:05 +0000 ludde (svn r2648) Only use _stdcall calling convention for zlib on win32/msvc.
Tue, 19 Jul 2005 11:55:47 +0000 ludde (svn r2636) Fix: Switched to using the _fastcall calling convention instead of cdecl. (Please tell me if you get linking problems)
Sat, 16 Jul 2005 09:55:31 +0000 Darkvater (svn r2587) - Fix: Don't close the save-thread if it wasn't started because of some error or a network-server
Wed, 13 Jul 2005 19:51:31 +0000 ludde (svn r2560) Fix: various minor code changes.
Tue, 12 Jul 2005 19:15:56 +0000 ludde (svn r2550) raise 32767 limit of gamma values, and 16MB limit of RIFF chunks in saveload code.
Fri, 08 Jul 2005 22:25:24 +0000 tron (svn r2535) Tabs
Thu, 30 Jun 2005 13:24:17 +0000 celestar (svn r2499) -Codechange: Moved the semaphore bit from bit 2 to bit 3 in _map_hi for rails, in order to make way for pbs
Wed, 15 Jun 2005 16:58:15 +0000 celestar (svn r2441) -Feature: You can now give transfer order to set up feeder systems
Mon, 06 Jun 2005 13:47:06 +0000 Darkvater (svn r2420) - Codechange: magic number elminitation of cursorsprites.
Mon, 06 Jun 2005 13:11:35 +0000 Darkvater (svn r2419) - Fix: saving no longer changes your cursor if it is in a non-mouse state.
Thu, 02 Jun 2005 19:30:21 +0000 Darkvater (svn r2397) - CodeChange: rename all "ttd" files to "openttd" files.
Wed, 01 Jun 2005 23:12:29 +0000 Darkvater (svn r2392) - Fix some typos (Tron)
Wed, 01 Jun 2005 23:08:33 +0000 Darkvater (svn r2391) - Feature: saving games happen in a seperate thread so you no longer will have to wait such a long time (especially handy on bigger maps and multiplayer games). The mouse also changes into the 'ZZZ' state :P. The thread on windows is currently given a little-bit-less-than-normal priority so it should not interfere that much with the gameplay; it will take a bit longer though. Upon the exit of the game any pending saves are waited upon.
Wed, 01 Jun 2005 11:52:44 +0000 hackykid (svn r2390) - Codechange: Fix some warnings on GCC 4.0.0
Mon, 30 May 2005 22:16:05 +0000 Darkvater (svn r2387) - CodeChange: made the saveload code more readable and also removed the 'byte' saveload arrays which means you can save an array of more than 255 elements, or bigger structs than 255 bytes. This doesn't yet solve the problem that a chunk can be a maximum of 16384 big.
Sat, 02 Apr 2005 00:17:16 +0000 Darkvater (svn r2118) - Fix: Fix compilation with network disabled, and comment out some of the warnings (unused function)
Sun, 27 Mar 2005 00:28:14 +0000 pasky (svn r2080) - Fix: [OldAI] p->ai.state_counter was uint16 but could hold a tile index, therefore overflowing - changed that to uint32 and bumped the savegame revision to 32. It *MIGHT* close bug 1151374 - it certainly caused AI to stop building anything sometimes.
Thu, 24 Mar 2005 17:03:37 +0000 truelight (svn r2046) -Codechange: moved all waypoint code to waypoint.c/waypoint.h
Thu, 24 Mar 2005 13:59:44 +0000 truelight (svn r2041) -Fix: not all vehicles did get a day_proc call (because of rounding errors)
Sun, 20 Mar 2005 00:32:26 +0000 pasky (svn r2033) - Fix: Fix some more desync by saving the town growth frequency iterator _cur_town_iter. Needed to bump a svg revision for that thanks to the braindead SlGlob thing, or at least I don't know how to do it without bumping it.
Sat, 19 Mar 2005 22:45:59 +0000 celestar (svn r2030) -Fix: Save _cur_town_ctr with all its bits to prevent desyncs
Tue, 15 Mar 2005 21:07:09 +0000 tron (svn r2018) Yet another workaround
Tue, 15 Mar 2005 20:07:46 +0000 tron (svn r2017) Explicitly mark SlReadByte as 'inline'
Tue, 15 Mar 2005 16:56:05 +0000 tron (svn r2014) Don't manually inline a piece of code
Wed, 23 Feb 2005 00:07:03 +0000 Darkvater (svn r1909) - Fix: [ 1145593 ] assertion failed when saving the game. It is nice to also update the savegame format when you update town statistics :)
Sun, 06 Feb 2005 10:24:57 +0000 truelight (svn r1818) -Add: Dynamic orders (up to 64k orders)
Sun, 06 Feb 2005 10:18:47 +0000 truelight (svn r1817) -Codechange: Moved depot-functions to depot.c
Sat, 05 Feb 2005 15:58:59 +0000 tron (svn r1803) Move debugging stuff into files of it's own