------------------------------------------------------------------------ r9102 | peter1138 | 2007-03-10 16:21:29 +0000 (Sat, 10 Mar 2007) | 2 lines -Codechange: (NewGRF) Apply cargo translation table to vehicle refit masks ------------------------------------------------------------------------ r9097 | truelight | 2007-03-10 12:10:00 +0000 (Sat, 10 Mar 2007) | 3 lines -Fix [FS#525]: open and close messages now have their own setting, so you can hide economy changes, but do show open/close of industries -Change: store news_display_opt in his own section, so it is no longer stored as uint in openttd.cfg (allows adding news-types easier) ------------------------------------------------------------------------ r9094 | peter1138 | 2007-03-10 10:08:38 +0000 (Sat, 10 Mar 2007) | 2 lines -Codechange: Don't set up refit masks for engine types not in the current climate, and exclude engine types if their cargo type is invalid and they have no refittable type. ------------------------------------------------------------------------ r9093 | peter1138 | 2007-03-10 09:55:11 +0000 (Sat, 10 Mar 2007) | 2 lines -Codechange: variable scope / type ------------------------------------------------------------------------ r9092 | peter1138 | 2007-03-10 09:23:33 +0000 (Sat, 10 Mar 2007) | 2 lines -Codechange: (NewGRF) (re r8885) Also set cargo type as invalid if the chosen type is not available in the current climate. ------------------------------------------------------------------------ r9089 | belugas | 2007-03-10 03:33:43 +0000 (Sat, 10 Mar 2007) | 4 lines -Codechange: Remove the 32 widgets limit on News Options window. -Codechange: Use the newly created WWT_TEXT widget. -Cleanup: remove a lot of magic numbers, make the whole window more flexible, with now the possibility to easily add new type of news events. Thanks glx for ideas from an old patch ------------------------------------------------------------------------ r9088 | belugas | 2007-03-10 03:25:15 +0000 (Sat, 10 Mar 2007) | 1 line -Add : a new type of widget, called WWT_TEXT. It is a simple truncated string. It will be usefull on windows where lot of simple text is always drawn on the WE_PAINT event, making the code clearer. For now, left, right (total size of the window), top, color and data are necessary to use it. Maybe more features will be available soon. ------------------------------------------------------------------------ r9086 | Darkvater | 2007-03-10 00:30:18 +0000 (Sat, 10 Mar 2007) | 1 line -Feature/Fix: [win32] Rewrite keyboard input and handle all keypresses in a WM_CHAR event. This saves us from doing translation (ToUnicode[Ex], ToAscii[Ex]), and we get free IME-input support as a plus. ------------------------------------------------------------------------ r9085 | Darkvater | 2007-03-10 00:29:20 +0000 (Sat, 10 Mar 2007) | 1 line -Codechange/Fix: [win32] Move the initialisation of _codepage (non-UNICODE) to winMain as a dedicated server, or different video driver will not have a win32 messageloop. ------------------------------------------------------------------------ r9084 | Darkvater | 2007-03-10 00:27:20 +0000 (Sat, 10 Mar 2007) | 1 line -Fix: [win9x] Clipboard paste for Windows95 (doesn't have CF_UNICODETEXT) correctly converts the input to the current locale. ------------------------------------------------------------------------ r9083 | Darkvater | 2007-03-10 00:26:19 +0000 (Sat, 10 Mar 2007) | 1 line -Codechange: Be more lenient when trimming UTF-8 strings and don't terminate the string when an invalid encoding is encountered, but only focus on maximum length. ------------------------------------------------------------------------ r9082 | Darkvater | 2007-03-10 00:25:54 +0000 (Sat, 10 Mar 2007) | 2 lines -Codechange: [win32] Update VS2003 and VS2005 project files to use the same outpath, and build in UNICODE mode. When making a release it is probably better to make two binaries, one without UNICODE, the other with, guaranteeing full Win9x compatibility (UNICODE with MSLU also works, without it's even better). -Remove: [os/2] Relic project file remains from watcom ------------------------------------------------------------------------ r9081 | KUDr | 2007-03-09 23:26:21 +0000 (Fri, 09 Mar 2007) | 1 line -Fix(r9080): UINT32_MAX is undefined on MSVC. Use std::numeric_limits::max() instead. ------------------------------------------------------------------------ r9080 | peter1138 | 2007-03-09 22:55:57 +0000 (Fri, 09 Mar 2007) | 2 lines -Codechange: dynamically build cargo filter buttons in the station list window. ------------------------------------------------------------------------ r9079 | peter1138 | 2007-03-09 22:55:04 +0000 (Fri, 09 Mar 2007) | 2 lines -Codechange: add WWT_LAST widget when dynamically building cargo payment graph ------------------------------------------------------------------------ r9078 | rubidium | 2007-03-09 15:12:37 +0000 (Fri, 09 Mar 2007) | 2 lines -Codechange: coding style. ------------------------------------------------------------------------ r9077 | rubidium | 2007-03-09 14:41:39 +0000 (Fri, 09 Mar 2007) | 2 lines -Fix [FS#612]: the wrong catenary wires were drawn for tunnel entrances. ------------------------------------------------------------------------ r9076 | rubidium | 2007-03-09 10:12:08 +0000 (Fri, 09 Mar 2007) | 2 lines -Fix [FS#529]: the intercontinental airport used 'T-junction' runway sprites when there is no exit in the middle of the runway as in the city airport (skidd13). ------------------------------------------------------------------------ r9075 | belugas | 2007-03-09 02:04:07 +0000 (Fri, 09 Mar 2007) | 1 line -Codechange: Cleanup of industry_cmd (Step-7). Small step that is. The new industry messages do not need a series of tests. Only one property to use. ------------------------------------------------------------------------ r9074 | glx | 2007-03-09 00:15:43 +0000 (Fri, 09 Mar 2007) | 1 line -Codechange: win32 dedicated console now doesn't need an extra 'enter' to fully quit ------------------------------------------------------------------------ r9073 | bjarni | 2007-03-08 23:05:05 +0000 (Thu, 08 Mar 2007) | 2 lines -Codechange: moved autoreplace to a file of it's own (now autoreplace has a cmd and a gui file) ------------------------------------------------------------------------ r9072 | bjarni | 2007-03-08 21:39:34 +0000 (Thu, 08 Mar 2007) | 2 lines -Codechange: [Orders] added methods to orders to free them and check if they are in use ------------------------------------------------------------------------ r9071 | truelight | 2007-03-08 21:05:05 +0000 (Thu, 08 Mar 2007) | 2 lines -Fix [FS#459]: when in networking an other player takes over an AI which is also controlled by a player, move the player with the company to the company who bought out the AI ------------------------------------------------------------------------ r9070 | truelight | 2007-03-08 20:50:27 +0000 (Thu, 08 Mar 2007) | 2 lines -Fix [FS#404]: if bribe failed and you didn't pick up cargo yet, you wouldn't ever be able to do so for a given station ------------------------------------------------------------------------ r9069 | peter1138 | 2007-03-08 19:23:49 +0000 (Thu, 08 Mar 2007) | 2 lines -Codechange: Change a do ... while loop with a for loop. This fixes some warning that I never got anyway... ------------------------------------------------------------------------ r9068 | rubidium | 2007-03-08 16:27:54 +0000 (Thu, 08 Mar 2007) | 2 lines -Codechange: capitalize the VEH_Train etc. enums to match the coding style (and rest of the code). ------------------------------------------------------------------------ r9067 | truelight | 2007-03-08 15:50:07 +0000 (Thu, 08 Mar 2007) | 2 lines -Fix [FS#637]: don't make owner signs transparent, as then you loose the information who it owns ------------------------------------------------------------------------ r9066 | truelight | 2007-03-08 14:34:32 +0000 (Thu, 08 Mar 2007) | 2 lines -Fix [FS#638]: store the owner of a statue, so when it gets removed, the town is notified of it ------------------------------------------------------------------------ r9065 | rubidium | 2007-03-08 13:54:19 +0000 (Thu, 08 Mar 2007) | 2 lines -Fix: possible dereference of NULL pointer. ------------------------------------------------------------------------ r9064 | truelight | 2007-03-08 12:57:08 +0000 (Thu, 08 Mar 2007) | 2 lines -Fix [FS#663]: don't keep on scrolling for non-numeric values in settings, but require reclick ------------------------------------------------------------------------ r9063 | truelight | 2007-03-08 12:40:45 +0000 (Thu, 08 Mar 2007) | 2 lines -Add: allow OPENTTD_ARGS as env-option for 'make run'. 'OPENTTD_ARGS="-snull" make run' now runs ./openttd -snull in correct dir. ------------------------------------------------------------------------ r9062 | celestar | 2007-03-08 12:26:31 +0000 (Thu, 08 Mar 2007) | 2 lines -Fix (r4822, FS#595): The station list, sorted by cargo rating, now takes stations into account that have no cargo waiting (KeeperOfTheSoul). While at it, doxygen the function ------------------------------------------------------------------------ r9061 | rubidium | 2007-03-08 09:46:44 +0000 (Thu, 08 Mar 2007) | 2 lines -Fix [r9038, FS#668]: passwords are send when the server is in the 'authorizing' state, not 'inactive'. ------------------------------------------------------------------------ r9055 | Darkvater | 2007-03-07 18:58:28 +0000 (Wed, 07 Mar 2007) | 1 line -Codechange: Change windows unicode handling and allow a pure non-unicode build to function. Win9x binaries will be possible with mingw/nightly system. ------------------------------------------------------------------------ r9054 | miham | 2007-03-07 17:42:09 +0000 (Wed, 07 Mar 2007) | 22 lines -Update: WebTranslator2 update to 2007-03-07 18:39:14 catalan - 2 fixed by arnaullv (2) croatian - 95 fixed, 34 changed by Ydobon (129) czech - 1 fixed, 3 deleted, 109 changed by Hadez (113) danish - 4 fixed by ThomasA (4) dutch - 2 fixed by habell (2) esperanto - 5 fixed by LaPingvino (5) french - 2 fixed by glx (2) german - 1 fixed by Neonox (1) hungarian - 1 fixed by miham (1) italian - 1 fixed by sidew (1) japanese - 14 fixed by ickoonite (14) korean - 9 fixed by Nios (9) norwegian_nynorsk - 1 fixed by Eikje3 (1) polish - 2 fixed by meush (2) simplified_chinese - 5 fixed by Fishingsnow (5) slovenian - 1 fixed by Necrolyte (1) spanish - 5 fixed by eusebio (5) swedish - 5 fixed by daishan (5) traditional_chinese - 7 fixed by sam0737 (7) ukrainian - 1 fixed by znikoz (1) ------------------------------------------------------------------------ r9053 | glx | 2007-03-07 16:46:13 +0000 (Wed, 07 Mar 2007) | 1 line -Change [Config]: removed unneeded stuff for windows ------------------------------------------------------------------------ r9051 | rubidium | 2007-03-07 12:11:48 +0000 (Wed, 07 Mar 2007) | 2 lines -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {}; ------------------------------------------------------------------------ r9050 | rubidium | 2007-03-07 11:47:46 +0000 (Wed, 07 Mar 2007) | 2 lines -Codechange: Foo(void) -> Foo() ------------------------------------------------------------------------ r9049 | truelight | 2007-03-06 23:42:30 +0000 (Tue, 06 Mar 2007) | 2 lines -Fix [Config]: when running 'bash configure', make sure automated reconfigures run 'bash configure' too. ------------------------------------------------------------------------ r9048 | glx | 2007-03-06 23:27:14 +0000 (Tue, 06 Mar 2007) | 1 line -Fix r9040: non-bool used as bool ------------------------------------------------------------------------ r9047 | truelight | 2007-03-06 22:55:18 +0000 (Tue, 06 Mar 2007) | 2 lines -Fix [FS#651]: request static deps from fontconfig in OSX ------------------------------------------------------------------------ r9046 | truelight | 2007-03-06 22:45:30 +0000 (Tue, 06 Mar 2007) | 2 lines -Fix r9041: added a comment to make clear why we don't use --prefix here ------------------------------------------------------------------------ r9045 | truelight | 2007-03-06 22:41:50 +0000 (Tue, 06 Mar 2007) | 2 lines -Fix [Config]: libpng-config --ldflags returns --libs and -L_opts too, no need to call it an extra time (double -lpng12 in LDFLAGS) ------------------------------------------------------------------------ r9044 | truelight | 2007-03-06 22:40:45 +0000 (Tue, 06 Mar 2007) | 2 lines -Fix [Config]: add fontconfig before freetype, as in static order is important ------------------------------------------------------------------------ r9043 | rubidium | 2007-03-06 22:37:04 +0000 (Tue, 06 Mar 2007) | 2 lines -Fix [FS#652]: the personal (.openttd) directories were hidden in the load/save directory listings (stepancheg). ------------------------------------------------------------------------ r9042 | belugas | 2007-03-06 22:16:43 +0000 (Tue, 06 Mar 2007) | 1 line -Add : Maedhros as a developper ------------------------------------------------------------------------ r9041 | truelight | 2007-03-06 22:15:57 +0000 (Tue, 06 Mar 2007) | 2 lines -Fix [FS#650]: pkg-config doesn't know --prefix, but wants --variable=prefix (nicely spotted and fixed by stepancheg) ------------------------------------------------------------------------ r9040 | bjarni | 2007-03-06 22:11:58 +0000 (Tue, 06 Mar 2007) | 3 lines -Codechange: the build window and CmdBuildAircraft() now shares the code to figure out if an aircraft is buildable in the hangar in question This should help ensuring that the build command and the list are consistent in what aircraft are buildable ------------------------------------------------------------------------ r9039 | bjarni | 2007-03-06 22:01:59 +0000 (Tue, 06 Mar 2007) | 1 line -Fix r9034: missed the _pause in cocoa_v.mm ------------------------------------------------------------------------ r9038 | rubidium | 2007-03-06 22:00:42 +0000 (Tue, 06 Mar 2007) | 2 lines -Fix [FS#115]: inactive connections are not automatically kicked, i.e. people who only open a telnet (or similar) connection to a server. ------------------------------------------------------------------------ r9037 | maedhros | 2007-03-06 22:00:13 +0000 (Tue, 06 Mar 2007) | 5 lines -Feature: [NewGRF] Add support for Action 13, which allows you to translate grf-specific texts. The translations will only be shown if you're using a language with a grf language id and if a string hasn't already been set specifically for the language you're using. ------------------------------------------------------------------------ r9036 | rubidium | 2007-03-06 21:18:25 +0000 (Tue, 06 Mar 2007) | 2 lines -Fix [SunOS]: SunOS/Solaris does not have stdint.h, so use inttypes.h which defines the things we need from stdint.h. ------------------------------------------------------------------------ r9035 | truelight | 2007-03-06 21:14:48 +0000 (Tue, 06 Mar 2007) | 2 lines -Fix [SunOS]: Solaris sometimes has pid_t defined as long. Fix warnings in those cases ------------------------------------------------------------------------ r9034 | truelight | 2007-03-06 20:59:52 +0000 (Tue, 06 Mar 2007) | 4 lines -Codechange: renamed _pause to _pause_game, as some targets already have a symbol called _pause (and therefor our variable conflicts with thatone. We shouldn't be using _ as global indicator.....) ------------------------------------------------------------------------ r9033 | truelight | 2007-03-06 20:37:46 +0000 (Tue, 06 Mar 2007) | 2 lines [Config] -Fix: GNU strip has -s, but Solaris strip doesn't. Detect this when system is SUNOS. ------------------------------------------------------------------------ r9031 | maedhros | 2007-03-06 19:33:28 +0000 (Tue, 06 Mar 2007) | 5 lines -Codechange: Introduce grfconfig->status, and use it for states that are mutually exclusive. At the same time, add an INITIALISED state which makes it possible to check if a grf is not yet active but will be later on during the GLS_ACTIVATION loading stage. ------------------------------------------------------------------------ r9030 | truelight | 2007-03-06 19:14:15 +0000 (Tue, 06 Mar 2007) | 1 line [Config] -Add: added --enable-unicode, which enables unicode (mostly for windows). Enabled by default on WIN32 (makes win9x fail, so use --disable-unicode if you produce binaries for win9x) ------------------------------------------------------------------------ r9029 | maedhros | 2007-03-06 19:12:56 +0000 (Tue, 06 Mar 2007) | 1 line -Fix (r7326): Only call the gradual loading amount callback if the bit for it is set in the vehicle's callbackmask. ------------------------------------------------------------------------ r9027 | rubidium | 2007-03-06 18:03:06 +0000 (Tue, 06 Mar 2007) | 2 lines -Fix [FS#664]: desync caused by buffer overrun. ------------------------------------------------------------------------ r9022 | richk | 2007-03-05 23:00:43 +0000 (Mon, 05 Mar 2007) | 2 lines -Fix [FS#660]: Airport state machine fails if the adjustment in position is less than 4 pixels. The new planespeed movement made this a fatal error on the oilrig. This fix just corrects the oilrig movement orders so that the error does not occur. Full solution is to allow minor corrections without changing the facing of the aircraft. (spotted by ledow) ------------------------------------------------------------------------ r9021 | miham | 2007-03-05 20:00:43 +0000 (Mon, 05 Mar 2007) | 1 line [Translations] -Fix: removed empty strings once again. ------------------------------------------------------------------------ r9020 | miham | 2007-03-05 18:57:19 +0000 (Mon, 05 Mar 2007) | 17 lines -Update: WebTranslator2 update to 2007-03-05 19:56:28 american - 17 fixed by WhiteRabbit (17) brazilian_portuguese - 4 fixed by fukumori (4) bulgarian - 1 fixed by thetitan (1) catalan - 4 fixed by arnaullv (4) czech - 5 fixed, 39 changed by Hadez (44) dutch - 4 fixed by habell (4) finnish - 7 fixed by pallokala (7) greek - 10 fixed by thanoulas (10) italian - 4 fixed by sidew (4) polish - 3 fixed, 5 changed by meush (8) portuguese - 3 fixed by izhirahider (3) romanian - 17 fixed, 8 changed by kneekoo (25) russian - 3 changed by DarkFenX (3) slovak - 4 fixed, 30 changed by lengyel (34) ukrainian - 6 fixed by znikoz (6) ------------------------------------------------------------------------ r9019 | truelight | 2007-03-05 18:00:18 +0000 (Mon, 05 Mar 2007) | 1 line -Fix: use <> for system-headers ------------------------------------------------------------------------ r9018 | miham | 2007-03-05 17:05:41 +0000 (Mon, 05 Mar 2007) | 1 line -Change: added SunOS as OS name in the quit dialog ------------------------------------------------------------------------ r9017 | truelight | 2007-03-05 15:24:17 +0000 (Mon, 05 Mar 2007) | 2 lines [Config] -Fix: if 'solaris' is in gcc dumpmachine, we have SunOS ------------------------------------------------------------------------ r9016 | celestar | 2007-03-05 09:35:45 +0000 (Mon, 05 Mar 2007) | 5 lines [SunOS] -Fix: Don't use a struct-member that doesn't exist. -Documentation: Updated readme.txt for SunOS 5.10 (aka Solaris 10) Note: With this commit, building and running on Solaris 10 works, thus we officially support this OS now :) ------------------------------------------------------------------------ r9015 | tron | 2007-03-05 05:03:28 +0000 (Mon, 05 Mar 2007) | 4 lines -Fix NL at EOF ------------------------------------------------------------------------ r9014 | tron | 2007-03-05 05:02:24 +0000 (Mon, 05 Mar 2007) | 4 lines -Fix Improve translation using gender tags ------------------------------------------------------------------------ r9013 | tron | 2007-03-05 05:01:06 +0000 (Mon, 05 Mar 2007) | 4 lines -Fix Remove incorrect empty translation ------------------------------------------------------------------------ r9012 | Darkvater | 2007-03-05 00:45:56 +0000 (Mon, 05 Mar 2007) | 2 lines -Fix/Feature (UTF8): When cutting strings into multiple lines also take into consideration whitespace characters of more than 1 byte length (eg IDEOGRAPHIC SPACE, IsWhitespace() function). When trimming such strings, account for multiple-byte long sequences so use *Utf8PrevChar(v) = '\0'. -Codechange: Add a function Utf8TrimString() that properly trims a string to an UTF8 encoding seperation instead of somewhere in the wild (and use it in the chat area) ------------------------------------------------------------------------ r9011 | Darkvater | 2007-03-05 00:34:48 +0000 (Mon, 05 Mar 2007) | 1 line -Codechange (r9003): Rework Utf8PrevChar so that it returns a pointer to the previous UTF8 character's first byte instead of a byte-length offset ------------------------------------------------------------------------ r9009 | Darkvater | 2007-03-04 22:14:32 +0000 (Sun, 04 Mar 2007) | 1 line -Fix (r1): Determine whether to play a sound or not when entering a tunnel based on engine type (only steam engines) instead of on spritenum which can be invalid for newgrf trains. DBSet(XL) or any other steam trains without newsounds should sound their horn now. ------------------------------------------------------------------------ r9005 | miham | 2007-03-04 08:05:43 +0000 (Sun, 04 Mar 2007) | 14 lines -Update: WebTranslator2 update to 2007-03-04 09:03:25 bulgarian - 13 fixed by groupsky (13) danish - 13 fixed by ThomasA (13) french - 4 fixed, 6 changed by glx (4), Skiper (6) german - 4 fixed by Neonox (4) hungarian - 3 fixed by miham (3) norwegian_bokmal - 13 fixed by oletk (13) norwegian_nynorsk - 20 fixed, 1 changed by pollux (21) portuguese - 4 fixed by izhirahider (4) russian - 4 fixed, 10 changed by DarkFenX (14) simplified_chinese - 13 fixed by Fishingsnow (13) slovenian - 4 fixed by Necrolyte (4) traditional_chinese - 2 fixed by thomasau (2) ------------------------------------------------------------------------ r9003 | Darkvater | 2007-03-04 00:49:40 +0000 (Sun, 04 Mar 2007) | 1 line -Codechange: Introduce a function Utf8PrevCharLen that finds the starting character of an UTF-8 sequence from a given position and returns the length to the first UTF-8 encoding byte of that sequence. ------------------------------------------------------------------------ r9002 | rubidium | 2007-03-03 22:15:37 +0000 (Sat, 03 Mar 2007) | 2 lines -Update: remove strings removed in r9001 from languages other than English. ------------------------------------------------------------------------ r9001 | rubidium | 2007-03-03 22:03:15 +0000 (Sat, 03 Mar 2007) | 2 lines -Codechange: remove duplication of functions and strings with respect to the news of new vehicles. ------------------------------------------------------------------------ r9000 | rubidium | 2007-03-03 20:43:52 +0000 (Sat, 03 Mar 2007) | 2 lines -Fix [FS#581, r2572]: new locomotive names were not announced in the news, it said "new railway locomotive available - railway locomotive". ------------------------------------------------------------------------ r8999 | rubidium | 2007-03-03 20:43:50 +0000 (Sat, 03 Mar 2007) | 2 lines -Fix [FS#450]: do not select a disabled platform length/number of track count when going out of drag-drop mode. ------------------------------------------------------------------------