------------------------------------------------------------------------ r3226 | truelight | 2005-11-22 15:55:38 +0000 (Tue, 22 Nov 2005) | 5 lines -Fix: GPMI implementation had minor glitches -Fix: the AI speed control is done by the AI-core, individual AIs don't have to do it (so, AIs were delayed twice ;) -Add: Support for AI-network-clients (an AI, connecting to a remote server) -Fix: minor AI-core problems ------------------------------------------------------------------------ r3225 | peter1138 | 2005-11-22 14:02:45 +0000 (Tue, 22 Nov 2005) | 2 lines - Fix for "[ 1359165 ] Autoreplace problem with r3171 and later" -- Move the disabled/hidden bits to custom data in window struct. ------------------------------------------------------------------------ r3224 | truelight | 2005-11-21 14:28:31 +0000 (Mon, 21 Nov 2005) | 4 lines -Add: Allow the NewAI to work in Multiplayer Games (switchable via patch settings, off by defaut). An other step to AIScripts. WARNING: this is still highly experimental and has known bugs! ------------------------------------------------------------------------ r3223 | bjarni | 2005-11-19 22:39:16 +0000 (Sat, 19 Nov 2005) | 1 line -Fix: [autoreplace] fixed crash when replacing a train engine without any cars (introduced in r3220) ------------------------------------------------------------------------ r3222 | tron | 2005-11-19 12:37:28 +0000 (Sat, 19 Nov 2005) | 1 line -Feature: Right-Click-Scrolling optionally moves in the opposite direction (Requested by manx) ------------------------------------------------------------------------ r3221 | miham | 2005-11-19 11:07:42 +0000 (Sat, 19 Nov 2005) | 1 line [Translations] Updated to 2005-11-19 ------------------------------------------------------------------------ r3220 | bjarni | 2005-11-19 10:28:02 +0000 (Sat, 19 Nov 2005) | 3 lines -Fix: [autoreplace] Autoreplaced trains now replace their cargo to the train instead of just the new engine This applies to wagon removal during autoreplace too ------------------------------------------------------------------------ r3219 | bjarni | 2005-11-19 00:10:20 +0000 (Sat, 19 Nov 2005) | 2 lines -Codechange: removed the now obsolite code in the build train command to make half multiheaded engines ------------------------------------------------------------------------ r3218 | bjarni | 2005-11-18 23:41:03 +0000 (Fri, 18 Nov 2005) | 9 lines -Feature: Multiheaded train engines will now stay in the same train This means that any user attempt to remove a rear engine will tell the user to move the front engine instead This fixes the assert when moving multiheaded engines (introduced in r3144) Note: to make old savegames use this feature, some engines might be turned around in order to link engines in pairs -Codechange: train subtype is now a bitmask This allows fast access to info like if it is a wagon or engine and if it is in front and so on Note: savegame version bump ------------------------------------------------------------------------ r3217 | peter1138 | 2005-11-18 20:28:55 +0000 (Fri, 18 Nov 2005) | 2 lines Fix issue with resizing stepped windows introduced in revision 3181. ------------------------------------------------------------------------ r3216 | Darkvater | 2005-11-17 23:05:59 +0000 (Thu, 17 Nov 2005) | 1 line - Fix (regression): endless loop introduced in revision 3190 ------------------------------------------------------------------------ r3215 | Darkvater | 2005-11-17 22:56:50 +0000 (Thu, 17 Nov 2005) | 1 line - Fix: warning on VS.NET 2003 complaining about constness reintroduced by revision 3192 ------------------------------------------------------------------------ r3214 | bjarni | 2005-11-17 19:43:37 +0000 (Thu, 17 Nov 2005) | 6 lines -Feature: openttd.cfg can now set how many autosaves to keep before starting to overwrite old ones max_autosave_num in the config files sets the number of autosaves to keep (default 16) MAX_NUM_AUTOSAVES in Makefile.config sets the default value. 16 is used if no value is given this behaviour can still be overwritten by keep_all_autosave (openttd.config setting) Note: this is a requested behaviour for PDA ports, since they got limited storage space ------------------------------------------------------------------------ r3213 | peter1138 | 2005-11-17 10:12:21 +0000 (Thu, 17 Nov 2005) | 2 lines - Codechange: Clean up handling of road stops, avoiding unnecessary use of pointers and using the *BIT() macros. ------------------------------------------------------------------------ r3212 | peter1138 | 2005-11-16 22:20:15 +0000 (Wed, 16 Nov 2005) | 3 lines - 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. - Waypoints: Until now stat_id was saved but never assigned to. Instead we now save the GRFID/local index of the custom graphics so that GRF file changes can leave graphics intact. ------------------------------------------------------------------------ r3211 | tron | 2005-11-16 16:16:18 +0000 (Wed, 16 Nov 2005) | 1 line Fix typo in r3181 ------------------------------------------------------------------------ r3210 | truelight | 2005-11-16 14:41:01 +0000 (Wed, 16 Nov 2005) | 3 lines -Codechange: use IsRailWaypoint where possible (instead of magicnumbers) -Codechange: IsRailWaypoint should take 'tile', not 'm5' ------------------------------------------------------------------------ r3209 | peter1138 | 2005-11-16 14:30:24 +0000 (Wed, 16 Nov 2005) | 2 lines In TileLoop_Track(), use names based on function rather than their place in the map array. ------------------------------------------------------------------------ r3208 | tron | 2005-11-16 14:07:34 +0000 (Wed, 16 Nov 2005) | 1 line Don't explicitly pass the engine type to look for to GetRearEngine(), because it's the engine type of the vehicle which gets passed as first parameter ------------------------------------------------------------------------ r3207 | tron | 2005-11-16 13:45:42 +0000 (Wed, 16 Nov 2005) | 1 line Typo in last revision ------------------------------------------------------------------------ r3206 | tron | 2005-11-16 13:45:04 +0000 (Wed, 16 Nov 2005) | 1 line Wrap all instances of _dbg_screen_rect in #ifdef _DEBUG ------------------------------------------------------------------------ r3205 | tron | 2005-11-16 13:11:28 +0000 (Wed, 16 Nov 2005) | 1 line Some more uses for GB/SB ------------------------------------------------------------------------ r3204 | tron | 2005-11-16 12:52:01 +0000 (Wed, 16 Nov 2005) | 1 line Make handling of clicking on vehicles a bit less ugly by avoiding function declarations in .c files and unnecessary indirection ------------------------------------------------------------------------ r3203 | tron | 2005-11-16 12:37:22 +0000 (Wed, 16 Nov 2005) | 1 line Directly use the currency symbols for pounds and yen in the language files like it's already done for dollar and euro ------------------------------------------------------------------------ r3202 | tron | 2005-11-16 12:29:37 +0000 (Wed, 16 Nov 2005) | 1 line If cascade -> switch ------------------------------------------------------------------------ r3201 | tron | 2005-11-16 12:25:33 +0000 (Wed, 16 Nov 2005) | 1 line -Fix: Allow bribing up to the maximum rating for bribing, don't disable this option at some arbitrary value early ------------------------------------------------------------------------ r3200 | tron | 2005-11-16 12:21:04 +0000 (Wed, 16 Nov 2005) | 1 line Remove the unused function GfxScalePalette() and the unused struct WorldSprite ------------------------------------------------------------------------ r3199 | tron | 2005-11-16 12:20:15 +0000 (Wed, 16 Nov 2005) | 1 line -Fix: There are only 2 possible directions for ship depots, not 4 ------------------------------------------------------------------------ r3198 | tron | 2005-11-16 12:10:45 +0000 (Wed, 16 Nov 2005) | 1 line Rewrite the company league drawing routine for better readability ------------------------------------------------------------------------ r3197 | tron | 2005-11-16 12:04:34 +0000 (Wed, 16 Nov 2005) | 1 line Use a better bias so you can directly see the date range a disaster can happen in ------------------------------------------------------------------------ r3196 | tron | 2005-11-16 12:01:46 +0000 (Wed, 16 Nov 2005) | 1 line Use structs instead of magic offsets into arrays ------------------------------------------------------------------------ r3195 | tron | 2005-11-16 11:55:06 +0000 (Wed, 16 Nov 2005) | 1 line Use bitfields instead of explicit shifting/masking ------------------------------------------------------------------------ r3194 | tron | 2005-11-16 11:52:21 +0000 (Wed, 16 Nov 2005) | 1 line Don't use FindLandscapeHeightByTile() when it's overkill ------------------------------------------------------------------------ r3193 | tron | 2005-11-16 11:50:40 +0000 (Wed, 16 Nov 2005) | 1 line Staticise the vehicle position hash ------------------------------------------------------------------------ r3192 | tron | 2005-11-16 11:17:52 +0000 (Wed, 16 Nov 2005) | 1 line Split the surname list into two lists (non-toyland/toyland) and use lengthof() to get the number of names instead of using magic numbers ------------------------------------------------------------------------ r3191 | tron | 2005-11-16 08:35:26 +0000 (Wed, 16 Nov 2005) | 1 line Move declaration and definition of _dbg_screen_rect to a place where it somewhat makes sense and wrap them in #ifdef _DEBUG ------------------------------------------------------------------------