openttd.c
Tue, 31 Jan 2006 22:16:15 +0000 Darkvater (svn r3500) - Workaround the inaccurate count of spectators/companies that can happen in certain border-cases. For now just dynamically get this value when requested so it is always right. To do properly all player/client creation/destruction needs a hook for networking.
Mon, 30 Jan 2006 14:03:34 +0000 Darkvater (svn r3485) - [Post-PBS]: when reverting PBS and removing station-tile reservations a station can of course not be a crossing as well. Thanks glx.
Sun, 29 Jan 2006 23:04:51 +0000 bjarni (svn r3484) -fix: fixed issue in last commit where loading savegame versions 18 and 19 didn't init the multiheaded engine pointers
Sun, 29 Jan 2006 18:57:26 +0000 Darkvater (svn r3472) - [PBS] Remove from trunk. Anyone interested can still find it in branch/pbs. This reverts revisions r3158, r3140, r3075, r2977, r2674, r2625, r2621, r2529, r2528, r2525, r2524, r2519, r2517, r2516, r2507, r2499. (in conjunction with Tron)
Sat, 28 Jan 2006 01:33:57 +0000 Darkvater (svn r3454) - Fix: company-count was not updated correctly when loading a saved game with already existing companies for multiplayer.
Mon, 23 Jan 2006 19:12:35 +0000 peter1138 (svn r3421) - Revert r3412 as it didn't work.
Sat, 21 Jan 2006 19:39:26 +0000 peter1138 (svn r3412) - Fix: When changing game mode, reset the tile highlight data, as it may now be out of bounds. This fixes (at least) an assertion when opening the station builder window.
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:
Sat, 07 Jan 2006 10:15:46 +0000 truelight (svn r3380) -Fix: removed 'size' from r3379, because it was pretty silly
Fri, 06 Jan 2006 22:52:31 +0000 truelight (svn r3379) -Fix: protect showhelp against any possible overflow
Fri, 06 Jan 2006 21:57:37 +0000 truelight (svn r3376) -Codechange: made enums for GenerateWorld and InitializeGame 'mode'
Thu, 05 Jan 2006 16:51:10 +0000 tron (svn r3366) Make an unnecessarily global variable local
Thu, 05 Jan 2006 12:40:50 +0000 tron (svn r3365) Staticise 36 functions
Wed, 04 Jan 2006 20:18:39 +0000 peter1138 (svn r3362) Fix issue with loading old (TTD) savegames:
Thu, 29 Dec 2005 22:28:19 +0000 peter1138 (svn r3356) - Remove unused parameter of AfterLoadGame().
Thu, 29 Dec 2005 12:42:59 +0000 tron (svn r3353) Simplify the automatic length adjustment algorithm for replacing trains: Use the length of the train before the replacement as reference length
Sun, 18 Dec 2005 14:03:28 +0000 peter1138 (svn r3316) - NewGRF: Unload engine names before loading grf files. This fixes names in climates where the engines don't get loaded. Renamed function to reflect its purpose.
Sun, 18 Dec 2005 12:10:46 +0000 tron (svn r3313) Remove GPMI related changes from trunk
Wed, 14 Dec 2005 06:51:19 +0000 tron (svn r3301) One more static
Wed, 14 Dec 2005 06:32:06 +0000 tron (svn r3299) Remove the unimplemented -l option, which should select the language
Tue, 13 Dec 2005 21:21:57 +0000 Darkvater (svn r3294) - Fix: use INVALID_STRING_ID instead of -1.
Tue, 29 Nov 2005 15:53:15 +0000 truelight (svn r3245) -Add: allow OpenTTD to give his GPMI-params to the GPMI modules
Sat, 26 Nov 2005 16:41:14 +0000 peter1138 (svn r3239) - Codechange: Introduce and use helper functions for engine replacement code.
Sat, 26 Nov 2005 12:45:53 +0000 Darkvater (svn r3235) - Fix: fix two crashes, one with making a screenshot in the main menu without any game loaded, another when failing to load a scenario in 'New Game'
Wed, 23 Nov 2005 13:45:12 +0000 truelight (svn r3231) Fix: update the GPMI implementation to the latest GPMI-API version
Tue, 22 Nov 2005 22:32:42 +0000 truelight (svn r3229) -Add: add more GPMI support. Now GPMI-based AIs can be loaded (doesn't change a thing if you didn't enable GPMI)
Tue, 22 Nov 2005 19:33:29 +0000 truelight (svn r3227) -Codechange: [Savegame] removed 'minor' version, and renamed 'major' version to just: version.
Tue, 22 Nov 2005 15:55:38 +0000 truelight (svn r3226) -Fix: GPMI implementation had minor glitches
Thu, 17 Nov 2005 19:43:37 +0000 bjarni (svn r3214) -Feature: openttd.cfg can now set how many autosaves to keep before starting to overwrite old ones
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.
Wed, 16 Nov 2005 08:35:26 +0000 tron (svn r3191) Move declaration and definition of _dbg_screen_rect to a place where it somewhat makes sense and wrap them in #ifdef _DEBUG
Tue, 15 Nov 2005 09:05:16 +0000 tron (svn r3186) Unnecessary casts and truncation
Tue, 15 Nov 2005 09:00:02 +0000 tron (svn r3185) const
Tue, 15 Nov 2005 08:40:45 +0000 tron (svn r3183) Remove an unused declaration and properly declare CheckExternalFiles() in a header
Mon, 14 Nov 2005 19:48:04 +0000 tron (svn r3181) -Bracing
Sun, 13 Nov 2005 21:16:34 +0000 tron (svn r3176) Use proper types, not some variants of int
Sun, 13 Nov 2005 14:54:09 +0000 tron (svn r3173) Use the trinary operator and switch to improve readability
Wed, 09 Nov 2005 09:16:08 +0000 peter1138 (svn r3158) - PBS: [ 1252192 ] Fix an assertion failure due to possible junk data in pre-PBS savegames. This will not correct pre-PBS savegames loaded and saved since PBS was introduced. (thanks glx)
Mon, 07 Nov 2005 23:20:47 +0000 bjarni (svn r3155) -Feature: [autoreplace] autoreplace can now remove cars from too long trains
Mon, 31 Oct 2005 11:22:52 +0000 peter1138 (svn r3109) Replace two occurrences of '256' with TOTAL_NUM_ENGINES
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
Mon, 17 Oct 2005 19:57:00 +0000 tron (svn r3055) Give the savegame/scenarion sort order flags symbolic names
Fri, 07 Oct 2005 07:35:15 +0000 tron (svn r3024) -Codechange: Another batch of replacements of int/uint/int16/byte/-1 with proper types and constants
Wed, 28 Sep 2005 19:35:36 +0000 tron (svn r2995) Replace 0xFF/0xFFFF with CT_INVALID/OWNER_SPECTATOR/INVALID_STATION where appropriate
Mon, 19 Sep 2005 16:03:47 +0000 peter1138 (svn r2963) Fix: calculate proportions of non-square giant screenshot correctly.
Wed, 07 Sep 2005 15:10:11 +0000 truelight (svn r2921) -Codechange: moved all AI-code to 1 central place (ai/ai.c)
Sat, 03 Sep 2005 11:33:55 +0000 Darkvater (svn r2909) Game would hang where the autosave_on_exit was activated.
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.
Tue, 23 Aug 2005 18:47:04 +0000 tron (svn r2886) Rename the "owner" attribute to "m1", because when it stores an owner it is accessed by [GS]etOwner anyway and when it doesn't store an owner, but arbitrary data, accessing a field called "owner" is confusing.
Sun, 14 Aug 2005 18:10:18 +0000 tron (svn r2866) Move all functions and tables which aren't directly involved in managing the sprite heap to a new file gfxinit.c.
Wed, 10 Aug 2005 21:16:38 +0000 bjarni (svn r2848) -Fix: [ 1256044 ] fixed crash when loading a map made before rev 2817 in scenario editor. This was introduced in 2817
Sat, 06 Aug 2005 20:24:32 +0000 tron (svn r2821) Remove a write-only variable
Sat, 06 Aug 2005 16:07:22 +0000 bjarni (svn r2817) -Codechange: [autoreplace]: moved autoreplace and autorenew to serverside
Sat, 06 Aug 2005 14:58:06 +0000 truelight (svn r2814) -Fix: made MorphOS to compile again
Fri, 05 Aug 2005 09:15:41 +0000 tron (svn r2809) Implement more generic threading functions, which allow more than one thread
Fri, 29 Jul 2005 21:52:20 +0000 tron (svn r2754) Move str_fmt into string.[ch]
Fri, 29 Jul 2005 16:40:29 +0000 tron (svn r2748) Remove unused cruft from the main loop
Tue, 26 Jul 2005 19:34:03 +0000 tron (svn r2720) Remove unused declarations and definitions
Tue, 26 Jul 2005 18:24:18 +0000 tron (svn r2714) Remove unnecessary includes