------------------------------------------------------------------------ r3623 | Darkvater | 2006-02-20 18:01:38 +0000 (Mon, 20 Feb 2006) | 1 line - Standardize DEBUG() messages in saveload.c ------------------------------------------------------------------------ r3622 | Darkvater | 2006-02-20 17:54:25 +0000 (Mon, 20 Feb 2006) | 1 line - Partly revert r3214. The patch setting max_num_autosaves stays to help control PDA-troubles which the commit was intended for. Didn't revert makefile-config version since it would cause trouble. But Bjarni promised to rewrite it :) ------------------------------------------------------------------------ r3621 | Darkvater | 2006-02-20 17:49:26 +0000 (Mon, 20 Feb 2006) | 1 line - Codechange: Only define the server and bans list if network is enabled. Preparatory work for saving patches/settings to savegame. ------------------------------------------------------------------------ r3620 | peter1138 | 2006-02-20 09:26:07 +0000 (Mon, 20 Feb 2006) | 2 lines - 2cc: Replace use of macro to determine colour map with a function call for drawing of vehicles. ------------------------------------------------------------------------ r3619 | Darkvater | 2006-02-20 01:36:48 +0000 (Mon, 20 Feb 2006) | 1 line - Codechange: Simplify a NullStruct initialization in the vehicle array (merge the two together to avoid confusion) ------------------------------------------------------------------------ r3618 | bjarni | 2006-02-19 10:21:01 +0000 (Sun, 19 Feb 2006) | 6 lines -Codechange: [OSX] reduce the time spend in the cocoa video driver by caching global vars in local vars, the CPU keeps them in registers when looping all pixels on screen this reduce reading from RAM, which is much slower (Tron wrote this after I detected that those loops used a lot of time) Note: since the reduced time is waiting for the RAM, the actual CPU usage is not reduced. This means that it's only detectable while fast forwarding and other situations when OTTD wants to use more than 100% of the CPU time ------------------------------------------------------------------------ r3617 | tron | 2006-02-18 18:27:17 +0000 (Sat, 18 Feb 2006) | 1 line Fix warning introduced in r3616 ------------------------------------------------------------------------ r3616 | tron | 2006-02-18 17:27:06 +0000 (Sat, 18 Feb 2006) | 1 line Style sweep ------------------------------------------------------------------------ r3615 | tron | 2006-02-18 16:20:50 +0000 (Sat, 18 Feb 2006) | 1 line Remove the Quartz key codes from the public cocoa video driver interface ------------------------------------------------------------------------ r3614 | tron | 2006-02-18 14:52:42 +0000 (Sat, 18 Feb 2006) | 1 line turn 2 do-while-loop with 2 induction variables each into canocical for loops ------------------------------------------------------------------------ r3613 | tron | 2006-02-18 14:41:24 +0000 (Sat, 18 Feb 2006) | 1 line Some more const, indentation, whitespace and similar stuff ------------------------------------------------------------------------ r3612 | peter1138 | 2006-02-18 14:11:23 +0000 (Sat, 18 Feb 2006) | 1 line - RoadStop->slot[] stores a vehicle index. Adjust its type and use INVALID_VEHICLE instead of nonsense INVALID_SLOT. ------------------------------------------------------------------------ r3611 | bjarni | 2006-02-17 20:24:17 +0000 (Fri, 17 Feb 2006) | 4 lines -Feature: [OSX profiling] Shark (Xcode's profiling tool) can now relate CPU usage to lines in the source files Now OSX users can tell what lines in the C code that keeps the CPU busy instead of just ASM code Note: PROFILE needs to be enabled in Makefile.config for this to work ------------------------------------------------------------------------ r3610 | tron | 2006-02-17 16:42:08 +0000 (Fri, 17 Feb 2006) | 1 line And one more (see r3608/r3609) ------------------------------------------------------------------------ r3609 | tron | 2006-02-17 16:39:24 +0000 (Fri, 17 Feb 2006) | 1 line Some more simplification in the same function as r3608 ------------------------------------------------------------------------ r3608 | tron | 2006-02-17 16:24:56 +0000 (Fri, 17 Feb 2006) | 1 line No functional change, just make some code more comprehensible: Reduce variable scope, remove write-only variables, turn do-while-loops with multiple induction variables into canonical for-loops ------------------------------------------------------------------------ r3607 | peter1138 | 2006-02-16 20:51:06 +0000 (Thu, 16 Feb 2006) | 1 line - Fix indenting of PerformanceRatingDetailWndProc() ------------------------------------------------------------------------ r3606 | peter1138 | 2006-02-15 12:53:36 +0000 (Wed, 15 Feb 2006) | 2 lines - NewGRF: Convert from TTDP railtype values to our own railtypes. (These are currently the same, but won't be forever...) ------------------------------------------------------------------------ r3605 | peter1138 | 2006-02-14 09:31:05 +0000 (Tue, 14 Feb 2006) | 2 lines - Remove silly macro and fix indenting in DrawVehicleRefitWindow() ------------------------------------------------------------------------ r3604 | tron | 2006-02-14 07:32:45 +0000 (Tue, 14 Feb 2006) | 1 line Remove two unnecessary local variables ------------------------------------------------------------------------ r3603 | peter1138 | 2006-02-13 22:19:23 +0000 (Mon, 13 Feb 2006) | 1 line - NewGRF: Support loading of AI rank data ------------------------------------------------------------------------ r3602 | peter1138 | 2006-02-13 22:13:02 +0000 (Mon, 13 Feb 2006) | 1 line - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly. ------------------------------------------------------------------------ r3601 | truelight | 2006-02-13 22:11:03 +0000 (Mon, 13 Feb 2006) | 2 lines -Codechange: special for Tron, and he was absolutely correct in thisone: added a comment for last commit ------------------------------------------------------------------------ r3600 | truelight | 2006-02-13 22:06:02 +0000 (Mon, 13 Feb 2006) | 1 line -Fix: suppress error on 64bit targets ------------------------------------------------------------------------ r3599 | truelight | 2006-02-13 21:56:49 +0000 (Mon, 13 Feb 2006) | 1 line -Fix: added some casts to suppress some more warnings ------------------------------------------------------------------------ r3598 | truelight | 2006-02-13 21:47:02 +0000 (Mon, 13 Feb 2006) | 2 lines -Fix: suppress invalid warning by assigning value to variable ------------------------------------------------------------------------ r3597 | tron | 2006-02-13 21:15:00 +0000 (Mon, 13 Feb 2006) | 1 line Miscellaneous (I like that word) changes: Fix some indentation, add consts, reduce indentation level by short-circuit logic, convert if cascades to switch, whitespace, bracing, plus some minor stuff ------------------------------------------------------------------------