------------------------------------------------------------------------ r12209 | peter1138 | 2008-02-21 19:09:10 +0000 (Thu, 21 Feb 2008) | 2 lines -Fix: [NewGRF] Support using any base price for rail and road vehicles' running cost, and show running cost of wagons if they have it. ------------------------------------------------------------------------ r12208 | belugas | 2008-02-21 16:05:33 +0000 (Thu, 21 Feb 2008) | 1 line -Codechange: Alignment of params makes the code easier to read. ------------------------------------------------------------------------ r12207 | peter1138 | 2008-02-21 14:30:36 +0000 (Thu, 21 Feb 2008) | 2 lines -Change: rail running costs are engine class, not rail type ------------------------------------------------------------------------ r12206 | belugas | 2008-02-20 21:08:27 +0000 (Wed, 20 Feb 2008) | 1 line -Fix: A comma is not a rare resource. Do not hesitate to use it when needed. ------------------------------------------------------------------------ r12205 | peter1138 | 2008-02-20 20:56:54 +0000 (Wed, 20 Feb 2008) | 2 lines -Codechange: rename RailVehicleInfo::running_cost_base to running_cost, inline with other vehicle types (It is the factor, not the base) ------------------------------------------------------------------------ r12204 | smatz | 2008-02-20 19:42:06 +0000 (Wed, 20 Feb 2008) | 1 line -Fix (r12192): using UINT16_MAX broke compilation on many targets ------------------------------------------------------------------------ r12203 | frosch | 2008-02-20 19:37:46 +0000 (Wed, 20 Feb 2008) | 1 line -Fix (r12199): Make trains pay attention to signals again. ------------------------------------------------------------------------ r12202 | peter1138 | 2008-02-20 19:37:02 +0000 (Wed, 20 Feb 2008) | 2 lines -Fix: When loading a savegame fails, don't start creating a new game, just go straight back to the intro screen. ------------------------------------------------------------------------ r12201 | smatz | 2008-02-20 19:34:53 +0000 (Wed, 20 Feb 2008) | 1 line -Fix (r12060): compilation warnings - uninitialized variable when compiling with assert disabled ------------------------------------------------------------------------ r12200 | smatz | 2008-02-20 17:56:36 +0000 (Wed, 20 Feb 2008) | 1 line -Fix: force AI to build rail or road instead of bridges if possible, so it doesn't build bridges everywhere ------------------------------------------------------------------------ r12199 | frosch | 2008-02-20 17:49:50 +0000 (Wed, 20 Feb 2008) | 1 line -Codechange: Remove magic around the results of GetTileTrackStatus(). ------------------------------------------------------------------------ r12198 | peter1138 | 2008-02-20 17:12:08 +0000 (Wed, 20 Feb 2008) | 2 lines -Fix [FS#1789]: "Transparent buildings" now only toggles buildings, so show tick when buildings are transparent. ------------------------------------------------------------------------ r12197 | smatz | 2008-02-20 17:06:58 +0000 (Wed, 20 Feb 2008) | 2 lines -Fix [FS#1788](r12134): show correct last year profit when the train had negative income -Codechange: use GetDisplayProfitThisYear() to convert vehicle profit to readable form ------------------------------------------------------------------------ r12195 | smatz | 2008-02-20 16:24:56 +0000 (Wed, 20 Feb 2008) | 1 line -Fix [FS#1787](r12100): there can be oil rigs at map borders, do not set water class for them ------------------------------------------------------------------------ r12194 | smatz | 2008-02-20 15:18:35 +0000 (Wed, 20 Feb 2008) | 1 line -Codechange: apply coding style on enum TrainSubtype ------------------------------------------------------------------------ r12193 | frosch | 2008-02-20 15:13:42 +0000 (Wed, 20 Feb 2008) | 1 line -Codechange: Rename a magic variable, give it a decent type, and remove a 'goto'. ------------------------------------------------------------------------ r12192 | smatz | 2008-02-20 14:30:53 +0000 (Wed, 20 Feb 2008) | 1 line -Fix: clamp various town variables to 16bit prior to returning the value ------------------------------------------------------------------------ r12191 | frosch | 2008-02-20 14:07:45 +0000 (Wed, 20 Feb 2008) | 1 line -Fix: Do not start overtaking if the RV reaches wrong-way one-way-road in the next tiles. ------------------------------------------------------------------------ r12190 | smatz | 2008-02-20 12:31:28 +0000 (Wed, 20 Feb 2008) | 1 line -Fix [FS#1786](r8080): YAPF always shows 0ms PF time in debug for debug level 2 (patch by IguannaB) ------------------------------------------------------------------------ r12189 | smatz | 2008-02-20 12:07:22 +0000 (Wed, 20 Feb 2008) | 1 line -Codechange: mark some functions in train_cmd.cpp inline (called once or very short) ------------------------------------------------------------------------ r12188 | smatz | 2008-02-20 11:00:17 +0000 (Wed, 20 Feb 2008) | 1 line -Codechange [FS#1782]: do not check twice for correct rail owner (patch by Vikthor) ------------------------------------------------------------------------ r12187 | belugas | 2008-02-19 17:52:30 +0000 (Tue, 19 Feb 2008) | 2 lines -Add: frosch as dev. Last, but not least ------------------------------------------------------------------------ r12186 | smatz | 2008-02-19 17:45:30 +0000 (Tue, 19 Feb 2008) | 1 line -Fix [FS#1784](r12169): assert when trying to play tile sound at NW border of map (placing buyos, leveling land) ------------------------------------------------------------------------ r12185 | smatz | 2008-02-18 23:37:16 +0000 (Mon, 18 Feb 2008) | 1 line -Fix (r12177): wrong operator priority, hopefully harmless (spotted by michi_cc) ------------------------------------------------------------------------ r12184 | smatz | 2008-02-18 22:50:58 +0000 (Mon, 18 Feb 2008) | 1 line -Fix: take into account possible loan when AI is deciding which bridge to build, so it won't build wooden bridges everytime ------------------------------------------------------------------------ r12183 | smatz | 2008-02-18 22:12:27 +0000 (Mon, 18 Feb 2008) | 1 line -Codechange: give a better error message when building road over existing road with vehicle on it, or do not fail at all ------------------------------------------------------------------------ r12181 | belugas | 2008-02-18 20:59:04 +0000 (Mon, 18 Feb 2008) | 2 lines -Change: update some documentation. ------------------------------------------------------------------------ r12180 | peter1138 | 2008-02-18 19:20:37 +0000 (Mon, 18 Feb 2008) | 2 lines -Fix: Test purchase list loading/loaded sprites instead of unconditionally returning a possibly non-existant sprite. ------------------------------------------------------------------------ r12179 | smatz | 2008-02-18 18:35:36 +0000 (Mon, 18 Feb 2008) | 1 line -Codechange: use GetCrossingRailTrack() and GetCrossingRailAxis() to improve code readability ------------------------------------------------------------------------ r12178 | smatz | 2008-02-18 16:35:38 +0000 (Mon, 18 Feb 2008) | 1 line -Codechange: use the 'side' parameter in TrainController and TrainCheckIfLineEnds to simplify the code ------------------------------------------------------------------------ r12177 | smatz | 2008-02-18 16:11:31 +0000 (Mon, 18 Feb 2008) | 1 line -Codechange: use 'side' parameter in GetTileTrackStatus so there can be less checks in pathfinders for depots/stations/tunnels/bridges ------------------------------------------------------------------------ r12176 | smatz | 2008-02-18 14:59:30 +0000 (Mon, 18 Feb 2008) | 1 line -Codechange: one division less when playing sounds (patch by Dominik) ------------------------------------------------------------------------ r12175 | peter1138 | 2008-02-18 13:19:57 +0000 (Mon, 18 Feb 2008) | 2 lines -Fix (r12174): Ensure the patches window is centred properly. ------------------------------------------------------------------------ r12174 | peter1138 | 2008-02-18 12:36:10 +0000 (Mon, 18 Feb 2008) | 2 lines -Codechange: Make the patches window dynamically resize to the largest patch tab, so adding patch options is simply a case of adding to the lists. ------------------------------------------------------------------------ r12173 | peter1138 | 2008-02-18 11:47:53 +0000 (Mon, 18 Feb 2008) | 2 lines -Cleanup: Minor codestyle fixes. ------------------------------------------------------------------------ r12172 | peter1138 | 2008-02-18 09:16:02 +0000 (Mon, 18 Feb 2008) | 2 lines -Codechange: Allow buttons to resize in NewGRF settings window ------------------------------------------------------------------------ r12171 | smatz | 2008-02-18 01:42:21 +0000 (Mon, 18 Feb 2008) | 2 lines -Fix [FS#609]: return correct bridge price for AI when DC_QUERY_COST is set (patch by Raimar Falke) It never happens in current code, but it is better to be ready for it ------------------------------------------------------------------------ r12170 | smatz | 2008-02-17 21:27:44 +0000 (Sun, 17 Feb 2008) | 1 line -Fix: do not draw trees along road and street lights under low bridges (spotted by _minime_) ------------------------------------------------------------------------ r12169 | smatz | 2008-02-17 20:15:20 +0000 (Sun, 17 Feb 2008) | 2 lines -Change [FS#1696]: play sounds when there is only small part of tile/vehicle visible too (original idea by Dominik) It improves the game appearance when playing with very small screen resolution ------------------------------------------------------------------------ r12168 | smatz | 2008-02-17 18:19:33 +0000 (Sun, 17 Feb 2008) | 1 line -Fix: behave a bit better when 'R' is pressed during rail station dragging ------------------------------------------------------------------------ r12167 | smatz | 2008-02-17 17:00:43 +0000 (Sun, 17 Feb 2008) | 1 line -Feature(tte): change colour of autorail and autoroad selection when Ctrl is pressed ------------------------------------------------------------------------ r12166 | smatz | 2008-02-17 12:21:05 +0000 (Sun, 17 Feb 2008) | 1 line -Fix [FS#337]: when drag&drop mode was cancelled by keyboard input, depot/group window wasn't updated (original patch by GrimRC) ------------------------------------------------------------------------ r12165 | glx | 2008-02-17 00:47:39 +0000 (Sun, 17 Feb 2008) | 1 line -Fix [FS#1652, FS#1773]: buffer overflow when drawing scrolling news ------------------------------------------------------------------------ r12164 | peter1138 | 2008-02-16 23:09:33 +0000 (Sat, 16 Feb 2008) | 2 lines -Fix (r12137, FS#1775]: Variable scope bug crept in ------------------------------------------------------------------------ r12163 | smatz | 2008-02-16 22:29:30 +0000 (Sat, 16 Feb 2008) | 1 line -Fix [FS#1705]: if a train is 'stopping' when entering a depot, do not let it leave again ------------------------------------------------------------------------ r12162 | smatz | 2008-02-16 17:54:29 +0000 (Sat, 16 Feb 2008) | 1 line -Fix [FS#1757]: towns shouldn't build over houses owned by another town ------------------------------------------------------------------------ r12161 | smatz | 2008-02-16 17:10:14 +0000 (Sat, 16 Feb 2008) | 1 line -Fix: towns will no longer build houses > 1x1 there where should be road (with 2x2, 3x3 grid town layouts) ------------------------------------------------------------------------ r12160 | smatz | 2008-02-16 16:40:47 +0000 (Sat, 16 Feb 2008) | 1 line -Fix [FS#1744]: remove the arbitrary limit of 64 waypoints per town, so weird things won't happen anymore ------------------------------------------------------------------------ r12159 | belugas | 2008-02-16 03:12:57 +0000 (Sat, 16 Feb 2008) | 2 lines -Codechange: Enumify some widget magical numbers -Cleanup: apply a bit of code style. Mostly re-indenting switch cases ------------------------------------------------------------------------ r12158 | belugas | 2008-02-16 03:01:05 +0000 (Sat, 16 Feb 2008) | 2 lines -Codechange: merge all the sprite recolouring mapping under a single function -Fix: Handle the bridge recolouring mapping as the other features. Although not specified by the specs, it seems to be implicit. ------------------------------------------------------------------------ r12157 | belugas | 2008-02-16 02:37:31 +0000 (Sat, 16 Feb 2008) | 2 lines -Codechange: Remove a structure definition and replace it with another one closely matching -Codechange: Replace two magic numbers with according sprite names ------------------------------------------------------------------------ r12156 | smatz | 2008-02-16 00:46:38 +0000 (Sat, 16 Feb 2008) | 1 line -Fix (r11454): Chance16I was now biased towards zero - round to nearest now ------------------------------------------------------------------------ r12155 | glx | 2008-02-16 00:10:03 +0000 (Sat, 16 Feb 2008) | 1 line -Fix (r12154): some warnings (always compile before commit) ------------------------------------------------------------------------ r12154 | glx | 2008-02-15 23:57:03 +0000 (Fri, 15 Feb 2008) | 1 line -Codechange: removed a magic number ------------------------------------------------------------------------ r12150 | smatz | 2008-02-15 21:05:46 +0000 (Fri, 15 Feb 2008) | 1 line -Fix (r12143): compiler warnings - possible use of uninitialised variable ------------------------------------------------------------------------