------------------------------------------------------------------------ r10200 | rubidium | 2007-06-18 16:42:40 +0000 (Mon, 18 Jun 2007) | 2 lines -Codechange: add "shortcut" for !CmdFailed (CmdSucceeded). ------------------------------------------------------------------------ r10199 | KUDr | 2007-06-18 14:40:07 +0000 (Mon, 18 Jun 2007) | 2 lines -Fix [FS#884, YAPF]: 'target_seen' flag that is set prematurely in some cases (1 tile long cached segment followed by target station) stops on assert (immeR) ------------------------------------------------------------------------ r10198 | rubidium | 2007-06-18 11:04:12 +0000 (Mon, 18 Jun 2007) | 2 lines -Fix (r10194): did not search all search paths. ------------------------------------------------------------------------ r10197 | rubidium | 2007-06-18 10:48:15 +0000 (Mon, 18 Jun 2007) | 2 lines -Codechange: replace int32 with CommandCost where appropriate. ------------------------------------------------------------------------ r10196 | miham | 2007-06-18 08:17:31 +0000 (Mon, 18 Jun 2007) | 4 lines -Update: WebTranslator2 update to 2007-06-18 10:15:44 japanese - 2 fixed by ickoonite (2) slovenian - 3 fixed by Necrolyte (3) ------------------------------------------------------------------------ r10194 | rubidium | 2007-06-17 21:26:57 +0000 (Sun, 17 Jun 2007) | 2 lines -Codechange: prefer the current working directory above the user's home directory when openttd.cfg exists in the current working directory, otherwise prefer the home directory. ------------------------------------------------------------------------ r10193 | truelight | 2007-06-17 20:47:11 +0000 (Sun, 17 Jun 2007) | 2 lines -Fix r10190: somehow an other partly-patch was applied too ------------------------------------------------------------------------ r10192 | truelight | 2007-06-17 20:40:02 +0000 (Sun, 17 Jun 2007) | 2 lines -Fix r10190: forgot to change the includes of win32 and cocoa video-driver ------------------------------------------------------------------------ r10191 | rubidium | 2007-06-17 20:36:14 +0000 (Sun, 17 Jun 2007) | 2 lines -Backport (r9148 from NoAI): detecting of CPU type (32 vs 64 bits). ------------------------------------------------------------------------ r10190 | truelight | 2007-06-17 20:30:28 +0000 (Sun, 17 Jun 2007) | 4 lines -Codechange: merged renderer and blitter to one single class API: blitter -Codechange: introduced a hierachy of blitters to avoid a lot of code duplication Note: this allows much easier adding other types of video-drivers, like OpenGL ------------------------------------------------------------------------ r10189 | truelight | 2007-06-17 20:14:38 +0000 (Sun, 17 Jun 2007) | 2 lines -Add: added a safety check in MSVC project generate script to make sure we do not use filenames with the same name in different directories, as MSVC is plain stupid and can't handle that (go wine to Billy or something if you want it fixed properly) ------------------------------------------------------------------------ r10188 | rubidium | 2007-06-17 20:09:05 +0000 (Sun, 17 Jun 2007) | 5 lines -Codechange: make it a little easier to load a savegame from the console: -g -g -g ------------------------------------------------------------------------ r10187 | rubidium | 2007-06-17 19:46:01 +0000 (Sun, 17 Jun 2007) | 2 lines -Fix: don't do a 270 degree turn on the international airport when a 90 degree turn is enough. ------------------------------------------------------------------------ r10186 | glx | 2007-06-17 19:00:45 +0000 (Sun, 17 Jun 2007) | 1 line -Fix (FS#876): don't mess desktop when using alt-tab (win32) ------------------------------------------------------------------------ r10185 | rubidium | 2007-06-17 18:22:43 +0000 (Sun, 17 Jun 2007) | 2 lines -Codechange: make the bounding boxes of the drive through road stops a little larger so NewGRFs authors have more possibilities when replacing them (minime). ------------------------------------------------------------------------ r10184 | rubidium | 2007-06-17 18:18:18 +0000 (Sun, 17 Jun 2007) | 2 lines -Fix: remove empty strings that are clearly bad. WT2 shouldn't add them anymore. ------------------------------------------------------------------------ r10183 | rubidium | 2007-06-17 15:55:52 +0000 (Sun, 17 Jun 2007) | 2 lines -Fix (r10182): some bashism sneaked in. ------------------------------------------------------------------------ r10182 | rubidium | 2007-06-17 15:48:57 +0000 (Sun, 17 Jun 2007) | 4 lines -Codechange: rewrite most part of the file loading/searching to be more flexible. -Codechange: add support for personal directories on Windows. -Fix [FS#153, FS#193, FS#502, FS#816, FS#854]: fix issues related to fixed names, fixed places of files/directories and application bundles. ------------------------------------------------------------------------ r10181 | rubidium | 2007-06-17 13:27:50 +0000 (Sun, 17 Jun 2007) | 2 lines -Fix (r10093): clamp the zoom level so it won't try to use a wrong zoom level when loading an old savegame. ------------------------------------------------------------------------ r10180 | rubidium | 2007-06-17 13:26:19 +0000 (Sun, 17 Jun 2007) | 2 lines -Fix (r10167): do not reset the 2cc loaded feature setting when a (later) newgrf does not have 2cc. ------------------------------------------------------------------------ r10179 | rubidium | 2007-06-17 12:30:43 +0000 (Sun, 17 Jun 2007) | 3 lines -Fix: spritecache wasn't in source.list, thus wasn't in the MSVC project files. -Fix: Pig Latin wasn't in the MSVC project files. ------------------------------------------------------------------------ r10178 | maedhros | 2007-06-17 11:01:58 +0000 (Sun, 17 Jun 2007) | 2 lines -Fix: Don't deactivate newgrf files when skipping the rest of the file during the initialisation stage. ------------------------------------------------------------------------ r10177 | peter1138 | 2007-06-17 10:47:30 +0000 (Sun, 17 Jun 2007) | 2 lines -Fix: Passengers has one A and two Es (ln) ------------------------------------------------------------------------ r10176 | maedhros | 2007-06-17 10:14:47 +0000 (Sun, 17 Jun 2007) | 2 lines -Fix (r10071): Deselect the currently selected order when clicking on an empty part of the orders window. ------------------------------------------------------------------------ r10175 | miham | 2007-06-17 07:24:39 +0000 (Sun, 17 Jun 2007) | 1 line -Fix: [Translations] Stupid me, {STRINGx} can only be used in english... ------------------------------------------------------------------------ r10174 | miham | 2007-06-17 07:21:02 +0000 (Sun, 17 Jun 2007) | 1 line -Fix: [Translations]: piglatin plural forms had some problem.. ------------------------------------------------------------------------ r10173 | miham | 2007-06-17 05:45:05 +0000 (Sun, 17 Jun 2007) | 1 line -Add: Translations: added new language "Pig Latin". Already "pre-translated", only needs checking. Idea of Piglatin language was from Adam M-W ------------------------------------------------------------------------ r10172 | belugas | 2007-06-17 01:01:15 +0000 (Sun, 17 Jun 2007) | 2 lines -Fix(r10127): Wrong evaluation order on variable 0x41 for industry tile. The industry's xy (northernmost tile) should be checked against the relative tile, not the other way around. ------------------------------------------------------------------------ r10171 | rubidium | 2007-06-16 21:57:30 +0000 (Sat, 16 Jun 2007) | 2 lines -Add: simple support for ccache (--with-ccache). ------------------------------------------------------------------------ r10170 | rubidium | 2007-06-16 12:03:36 +0000 (Sat, 16 Jun 2007) | 2 lines -Codechange: remove some duplication of code. ------------------------------------------------------------------------ r10169 | rubidium | 2007-06-16 11:13:30 +0000 (Sat, 16 Jun 2007) | 2 lines -Fix [FS#875]: trunk did still tell Windows that it was version 0.5.0(.0), so now we use a "bogus" version number to tell it's not a real release. The version number that will be shown in-game will not change, only the version number in the file properties. ------------------------------------------------------------------------ r10168 | rubidium | 2007-06-16 10:10:22 +0000 (Sat, 16 Jun 2007) | 2 lines -Fix [FS#879]: cannot build airport when an aircraft is flying over it. ------------------------------------------------------------------------ r10167 | belugas | 2007-06-15 23:55:52 +0000 (Fri, 15 Jun 2007) | 2 lines -Codechange: Change the flagging system of grf loaded feature from a bitset to a bool evaluation. Like easier to read and faster to evaluate :) ------------------------------------------------------------------------ r10166 | peter1138 | 2007-06-15 16:21:56 +0000 (Fri, 15 Jun 2007) | 2 lines -Feature(tte): Add support for antialiased typefaces via FreeType. This is configurable for each font size in the configuration settings and requires using the 32bpp blitter and suitable fonts. ------------------------------------------------------------------------ r10165 | rubidium | 2007-06-15 08:05:24 +0000 (Fri, 15 Jun 2007) | 2 lines -Fix [FS#874]: crash when trying to get the aircraft movement state of an aircraft going to a just deleted airport. ------------------------------------------------------------------------ r10164 | miham | 2007-06-15 05:44:45 +0000 (Fri, 15 Jun 2007) | 7 lines -Update: WebTranslator2 update to 2007-06-15 07:44:28 catalan - 2 fixed by arnaullv (2) dutch - 2 fixed by habell (2) esperanto - 1 fixed by LaPingvino (1) norwegian_bokmal - 24 fixed by oletk (24) turkish - 16 fixed by jnmbk (16) ------------------------------------------------------------------------ r10163 | belugas | 2007-06-15 01:53:43 +0000 (Fri, 15 Jun 2007) | 1 line -Fix(r8128): Industries had lost their random recoloring. A test was removed and is now reintroduced in another way. ------------------------------------------------------------------------ r10158 | rubidium | 2007-06-14 15:24:34 +0000 (Thu, 14 Jun 2007) | 2 lines -Codechange: port some changes from NoAI and FS#872 to make the loan commands a little better readable. ------------------------------------------------------------------------ r10157 | truelight | 2007-06-14 14:31:48 +0000 (Thu, 14 Jun 2007) | 2 lines -Fix: use as indentified for PNGs, the place of the image as it was in the grf, not the internal SpriteID ------------------------------------------------------------------------ r10156 | truelight | 2007-06-14 14:11:08 +0000 (Thu, 14 Jun 2007) | 2 lines -Fix: PNG loader can now load 8bpp palette images and greyscale images ------------------------------------------------------------------------ r10155 | rubidium | 2007-06-14 08:39:27 +0000 (Thu, 14 Jun 2007) | 2 lines -Fix [FS#601]: Airports didn't flood when there are aircraft on the airport. ------------------------------------------------------------------------ r10154 | rubidium | 2007-06-13 23:43:00 +0000 (Wed, 13 Jun 2007) | 2 lines -Fix [FS#870]: some vehicles were not drawn when having a high resolution and a high zoom-out level. Patch by B. N. SmatZ!. ------------------------------------------------------------------------ r10153 | rubidium | 2007-06-13 23:14:08 +0000 (Wed, 13 Jun 2007) | 2 lines -Fix [FS#869]: vehicles disappear when crossing certain tiles. Fix by B. N. SmatZ!. ------------------------------------------------------------------------ r10150 | truelight | 2007-06-13 19:34:33 +0000 (Wed, 13 Jun 2007) | 2 lines -Fix r10148: show a message to users when using 32bpp blitter and no libpng available ------------------------------------------------------------------------ r10149 | truelight | 2007-06-13 19:05:42 +0000 (Wed, 13 Jun 2007) | 2 lines -Fix r10143: MSVC warnings... (tnx boekabart and glx) ------------------------------------------------------------------------ r10148 | truelight | 2007-06-13 18:52:06 +0000 (Wed, 13 Jun 2007) | 2 lines -Fix r10143: make --without-png to compile again ------------------------------------------------------------------------ r10147 | rubidium | 2007-06-13 18:36:04 +0000 (Wed, 13 Jun 2007) | 2 lines -Fix: the oldloader did clear some bits for road vehicles that shouldn't be cleared in some cases. ------------------------------------------------------------------------ r10146 | belugas | 2007-06-13 18:35:06 +0000 (Wed, 13 Jun 2007) | 3 lines -Codechange: Silence a compiler warning -Codechange: Comment style beautifying -Codechange: define (tentatively) var 0x44 and 0x61 for industry tiles ------------------------------------------------------------------------ r10145 | rubidium | 2007-06-13 17:34:05 +0000 (Wed, 13 Jun 2007) | 2 lines -Fix: make compiling with networking disabled (again) possible. ------------------------------------------------------------------------ r10144 | truelight | 2007-06-13 16:23:59 +0000 (Wed, 13 Jun 2007) | 2 lines -Fix r10143: forgot some svn:eol-style ------------------------------------------------------------------------ r10143 | truelight | 2007-06-13 16:21:11 +0000 (Wed, 13 Jun 2007) | 5 lines -Add: store the filename of the grfs opened and allow easy access to the name -Codechange: store the SpriteID in the spritecache too -Add: add a PNG loader for graphical files -Documentation: added a document to explain the PNG format ------------------------------------------------------------------------ r10142 | truelight | 2007-06-13 16:04:35 +0000 (Wed, 13 Jun 2007) | 2 lines -Fix r10132: do something useful with the alpha channel instead of ignoring it ------------------------------------------------------------------------ r10141 | celestar | 2007-06-13 15:24:40 +0000 (Wed, 13 Jun 2007) | 2 lines -Fix (FS#848, r8973): Set the newgrf bit for realistic plane speeds (bulb) ------------------------------------------------------------------------ r10140 | rubidium | 2007-06-13 15:22:28 +0000 (Wed, 13 Jun 2007) | 2 lines -Fix [FS#867]: an industry could overbuild a bridge. ------------------------------------------------------------------------ r10139 | rubidium | 2007-06-13 14:57:42 +0000 (Wed, 13 Jun 2007) | 2 lines -Fix: all inner parts of OpenTTD assume that the resolution is at least 1 by 1, so force the resolution to be always at least 1 by 1. ------------------------------------------------------------------------ r10138 | rubidium | 2007-06-13 14:56:27 +0000 (Wed, 13 Jun 2007) | 2 lines -Fix: when you got a sufficiently small resolution, there is a possibility for a division by zero when a sound is played. ------------------------------------------------------------------------ r10137 | rubidium | 2007-06-13 14:52:41 +0000 (Wed, 13 Jun 2007) | 2 lines -Add: console command to get the current game date. ------------------------------------------------------------------------ r10132 | truelight | 2007-06-13 10:31:40 +0000 (Wed, 13 Jun 2007) | 4 lines -Codechange: split out the last direct video-buffer read access to the blitter-layer -Add: added a new renderer and blitter to make room for some optimized bpp -Fix: fill the alpha channel in the grf-spriteloader ------------------------------------------------------------------------ r10131 | rubidium | 2007-06-13 09:12:10 +0000 (Wed, 13 Jun 2007) | 2 lines -Fix [FS#810]: when removing a dock, a ship will always try to reach the old location of the dock even when it cannot anymore because it the old location of the dock is now land instead of water. ------------------------------------------------------------------------ r10130 | maedhros | 2007-06-13 07:59:20 +0000 (Wed, 13 Jun 2007) | 2 lines -Fix (r4493): SetCurrentGrfLangID returned the wrong language ids for most languages. ------------------------------------------------------------------------ r10129 | peter1138 | 2007-06-13 07:14:42 +0000 (Wed, 13 Jun 2007) | 2 lines -Fix (r10111): Test for x == INVALID_COORD instead of v->tile == INVALID_TILE to determine if a vehicle should be removed from the has. ------------------------------------------------------------------------ r10128 | peter1138 | 2007-06-13 06:42:43 +0000 (Wed, 13 Jun 2007) | 2 lines -Fix (r4811): missing printf parameters in newgrf debug message ------------------------------------------------------------------------ r10127 | belugas | 2007-06-13 02:29:08 +0000 (Wed, 13 Jun 2007) | 5 lines -Add: Addition of basic structure for industry tiles callbacks (unfinished). -Codechange: ResolverObject receives member gfx, making it compatible for both industries and industry tiles -Codechange: NewIndustryResolver now has his randombits and triggers (even if not implemented) ------------------------------------------------------------------------ r10126 | glx | 2007-06-13 01:38:00 +0000 (Wed, 13 Jun 2007) | 1 line -Fix (r10111, FS#864): old_new_hash cache was not reset when the position hash were ------------------------------------------------------------------------ r10125 | rubidium | 2007-06-12 23:35:10 +0000 (Tue, 12 Jun 2007) | 2 lines -Fix [FS#865]: under some circumstances the wagons of a train didn't get loaded properly. ------------------------------------------------------------------------ r10124 | truelight | 2007-06-12 23:10:47 +0000 (Tue, 12 Jun 2007) | 2 lines -Fix r10123: fix the OSX video driver properly ------------------------------------------------------------------------ r10123 | bjarni | 2007-06-12 23:06:56 +0000 (Tue, 12 Jun 2007) | 1 line -Fix r10121: the 8 bpp cocoa video driver works again ------------------------------------------------------------------------ r10122 | maedhros | 2007-06-12 22:13:49 +0000 (Tue, 12 Jun 2007) | 2 lines -Codechange: Add a CountBitsSet function and use it to replace some less efficient loops. ------------------------------------------------------------------------ r10121 | truelight | 2007-06-12 20:24:12 +0000 (Tue, 12 Jun 2007) | 8 lines -Codechange: split renderer from rest of code; no longer any code directly accesses the video-buffer -Add: added NULL blitter and renderer, which are always used for -vnull -Add: dedicated driver doesn't blit nor render by default. Can be overruled by user. (-D -b 8bpp-optimized) -Remove: removed CTRL+D from win32, which is incompatible with above -Add: extended screenshot support for PNG and BMP -Codechange: remove all hardcoded 8bpp references and replace them with more dynamic ones -Codechange: minor stuff in blitters ------------------------------------------------------------------------ r10119 | miham | 2007-06-12 18:10:14 +0000 (Tue, 12 Jun 2007) | 9 lines -Update: WebTranslator2 update to 2007-06-12 20:09:56 bulgarian - 1 fixed by thetitan (1) estonian - 23 changed by kristjans (23) italian - 2 fixed by lorenzodv (2) korean - 2 fixed by darkttd (2) romanian - 28 fixed, 59 changed by CrystyB (87) swedish - 31 fixed by giddorah (31) ukrainian - 3 fixed by mad (3) ------------------------------------------------------------------------ r10117 | maedhros | 2007-06-12 17:10:52 +0000 (Tue, 12 Jun 2007) | 4 lines -Fix [FS#863]: When deleting the vehicles of bankrupt players, delete trains as a whole rather than each part individually, as that leads to invalid tests on parts that have already been deleted. ------------------------------------------------------------------------ r10116 | rubidium | 2007-06-12 15:46:34 +0000 (Tue, 12 Jun 2007) | 2 lines -Fix [FS#850]: remove invalid characters (for the file system) from savegame names. Based on a patch by TheJosh. ------------------------------------------------------------------------ r10115 | belugas | 2007-06-12 14:22:28 +0000 (Tue, 12 Jun 2007) | 2 lines -Codechange: Create accessors to triggers and random bits for industries. Implementation will follow soon. ------------------------------------------------------------------------ r10114 | maedhros | 2007-06-12 13:22:14 +0000 (Tue, 12 Jun 2007) | 5 lines -Fix: Only load newgrf error messages if the language matches the current language. Since only one error can be loaded anyway, if the language didn't match you'd get "Undefined string". Also since we're only loading one language there's no need to use AddGRFString any more. ------------------------------------------------------------------------ r10113 | peter1138 | 2007-06-12 12:27:40 +0000 (Tue, 12 Jun 2007) | 2 lines -Fix (r10092): Missing svn properties and some Id/@file comments ------------------------------------------------------------------------ r10111 | peter1138 | 2007-06-12 11:22:32 +0000 (Tue, 12 Jun 2007) | 2 lines -Codechange: Add new vehicle hash table for collision detection and finding vehicles on a tile. The hash area scanned is far smaller than the old hash table, which is now used for viewport updates only. This should give a significant performance improvement for games with many vehicles. (Based on work by 'B. N. SmatZ!' and 'madman2003') ------------------------------------------------------------------------ r10110 | maedhros | 2007-06-12 09:41:12 +0000 (Tue, 12 Jun 2007) | 2 lines -Fix: Reset NewGRF errors along with all the other NewGRF data so that errors get loaded again when pressing "Apply". ------------------------------------------------------------------------ r10109 | rubidium | 2007-06-12 09:40:50 +0000 (Tue, 12 Jun 2007) | 2 lines -Fix [FS#838]: some NewGRFs use the same (unused in the "current" climate) sprite IDs. Normally this gives some artefacts, but when one NewGRF expects it to be a sprite and another NewGRF overwrites it with a non-sprite nasty things happen (drawing a non-sprite crashes OTTD). ------------------------------------------------------------------------ r10108 | belugas | 2007-06-12 00:49:50 +0000 (Tue, 12 Jun 2007) | 2 lines -Codechange: implement variable 0x60 (Get industry tile ID at offset) for industries. It is exposed for for industry tiles who will reuse it too, for variable 0x62. ------------------------------------------------------------------------ r10107 | peter1138 | 2007-06-11 21:17:02 +0000 (Mon, 11 Jun 2007) | 2 lines -Fix (r10092): Missing 'i' in 'optimized' ------------------------------------------------------------------------ r10106 | rubidium | 2007-06-11 19:29:42 +0000 (Mon, 11 Jun 2007) | 2 lines -Fix (r10098): there's always a compiler complaining about something... ------------------------------------------------------------------------ r10105 | truelight | 2007-06-11 18:49:55 +0000 (Mon, 11 Jun 2007) | 2 lines -Fix r10092: fix sprite 4845 till 4881 (inclusive), so they store the data as on the disk in the memory, as the old landscape generate assumes this. Talking about ugly hacks... ------------------------------------------------------------------------