------------------------------------------------------------------------ r3321 | matthijs | 2005-12-20 00:50:16 +0000 (Tue, 20 Dec 2005) | 4 lines - Fix: A wrong use of the map m5 bits, where a previously calculated "bits" variable should have been used. This resulted in the pathfinder imagining junctions, which negatively affects performance somewhat (Darkvater). - Fix: [ 1346377 ] Limiting the "depth" of the search tree fixes this assert. Though the above fix seems to fix this bug too, it will only make it less likely to occur. The problem here was the StackedItem::depth field overflowing, which made the pathfinder think it was at the first tile again. Adding an explicit overflow check should fix this. ------------------------------------------------------------------------ r3320 | Darkvater | 2005-12-19 00:19:12 +0000 (Mon, 19 Dec 2005) | 1 line - Fix: FS#22 - Exiting with double size enabled saves wrong window size. Reset the window size to its true size upon exiting when double-size is active. Is set in ClientSizeChanged. ------------------------------------------------------------------------ r3319 | Darkvater | 2005-12-18 22:48:45 +0000 (Sun, 18 Dec 2005) | 1 line - Fix (regression): "Unnamed Competitors". A result of revision r3224 which allowed AI's for multiplayer. Old AI's didn't function correctly anymore. The update of last-built tile is moved back, but to a slightly different place so it is only executed when the command is actually successfully executed. This code shouldn't be neccessary, but alas, the old AI doesn't use DoCommandDP() functions. ------------------------------------------------------------------------ r3318 | Darkvater | 2005-12-18 20:48:22 +0000 (Sun, 18 Dec 2005) | 1 line - Codechange: [FS#27] MSVC projectfile & documentation update (bociusz) ------------------------------------------------------------------------ r3317 | miham | 2005-12-18 17:04:02 +0000 (Sun, 18 Dec 2005) | 1 line [Translations] Updated to 2005-12-18 ------------------------------------------------------------------------ r3316 | peter1138 | 2005-12-18 14:03:28 +0000 (Sun, 18 Dec 2005) | 2 lines - 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. ------------------------------------------------------------------------ r3314 | tron | 2005-12-18 12:17:53 +0000 (Sun, 18 Dec 2005) | 1 line Add 2 times static ------------------------------------------------------------------------ r3313 | tron | 2005-12-18 12:10:46 +0000 (Sun, 18 Dec 2005) | 3 lines Remove GPMI related changes from trunk Revisions in detail: 2542, 3226 (partial), 3229, 3231, 3232, 3238, 3242-3245, 3251, 3253, 3260, 3263, 3265, 3266, 3269, 3277, 3278, 3279, 3283 (partial), 3304, 3305, 3306 ------------------------------------------------------------------------ r3311 | tron | 2005-12-18 08:01:05 +0000 (Sun, 18 Dec 2005) | 1 line Remove the unnecessary global variable _grffile_count: It's just the scroll count of a list and furthermore only used in one file ------------------------------------------------------------------------ r3310 | tron | 2005-12-17 14:26:43 +0000 (Sat, 17 Dec 2005) | 2 lines Fix a couple of warnings: Initialise all struct members, disambiguate cascaded if/else, remove an unused variable, use (void) for empty parameter lists ------------------------------------------------------------------------ r3309 | peter1138 | 2005-12-16 22:01:38 +0000 (Fri, 16 Dec 2005) | 2 lines Cygwin doesn't define _MSC_VER; check it exists before basing decisions on its value. ------------------------------------------------------------------------ r3308 | tron | 2005-12-15 17:55:59 +0000 (Thu, 15 Dec 2005) | 7 lines BAD foo.h: int bar; GOOD foo.h: extern int bar; foo.c: int bar; ------------------------------------------------------------------------ r3307 | tron | 2005-12-14 20:45:12 +0000 (Wed, 14 Dec 2005) | 1 line A file shall include its own header ------------------------------------------------------------------------ r3306 | truelight | 2005-12-14 19:21:56 +0000 (Wed, 14 Dec 2005) | 2 lines -Fix: forgot sometimes to switch to the right current_player for AIs ------------------------------------------------------------------------ r3305 | truelight | 2005-12-14 15:54:23 +0000 (Wed, 14 Dec 2005) | 2 lines -Rename: Changed all instances of ottd_ related to the AI to ttai_ ------------------------------------------------------------------------ r3304 | truelight | 2005-12-14 14:38:23 +0000 (Wed, 14 Dec 2005) | 3 lines -Add: allow AI-events to see the UID of the command -Fix: improved the logic of the UID code for AIs ------------------------------------------------------------------------ r3303 | peter1138 | 2005-12-14 09:15:06 +0000 (Wed, 14 Dec 2005) | 2 lines Change #if PF_BENCHMARK to #ifdef PF_BENCHMARK ------------------------------------------------------------------------ r3302 | peter1138 | 2005-12-14 08:05:36 +0000 (Wed, 14 Dec 2005) | 2 lines - Fix: split drawing of text buttons and the closebox, so the closebox symbol can be centred. ------------------------------------------------------------------------ r3301 | tron | 2005-12-14 06:51:19 +0000 (Wed, 14 Dec 2005) | 1 line One more static ------------------------------------------------------------------------ r3300 | tron | 2005-12-14 06:49:54 +0000 (Wed, 14 Dec 2005) | 1 line Remove unreachable code - in this case some duplicate breaks ------------------------------------------------------------------------ r3299 | tron | 2005-12-14 06:32:06 +0000 (Wed, 14 Dec 2005) | 1 line Remove the unimplemented -l option, which should select the language ------------------------------------------------------------------------ r3298 | tron | 2005-12-14 06:28:48 +0000 (Wed, 14 Dec 2005) | 1 line Remove unused and write-only variables ------------------------------------------------------------------------ r3297 | tron | 2005-12-14 06:20:23 +0000 (Wed, 14 Dec 2005) | 1 line Staticise ------------------------------------------------------------------------ r3296 | tron | 2005-12-14 06:16:34 +0000 (Wed, 14 Dec 2005) | 1 line Warn about testing an undefined macro with #if - should most probably be #ifdef ------------------------------------------------------------------------ r3295 | Darkvater | 2005-12-13 22:28:44 +0000 (Tue, 13 Dec 2005) | 1 line - Regressionfix: scrolling with mousewheel no longer worked in saveload dialogs because of restriction that scroller is only active for widget + next widget is scrollbar. Yes, we need a better window system. ------------------------------------------------------------------------ r3294 | Darkvater | 2005-12-13 21:21:57 +0000 (Tue, 13 Dec 2005) | 3 lines - Fix: use INVALID_STRING_ID instead of -1. - Fix: savegames only give back one message, show this by ignoring the first argument. Perhaps make the message more verbose in the future by adding STR_ equivalents next to the already existing debug messages. ------------------------------------------------------------------------ r3293 | Darkvater | 2005-12-13 20:20:44 +0000 (Tue, 13 Dec 2005) | 2 lines - Miscellaneous: add peter1138 as developer ------------------------------------------------------------------------