------------------------------------------------------------------------ r6928 | miham | 2006-10-24 16:39:48 +0000 (Tue, 24 Oct 2006) | 6 lines WebTranslator2 update to 2006-10-24 18:38:04 bulgarian - 523 fixed, 13 changed by groupsky (536) catalan - 3 fixed by arnaullv (3) polish - 3 fixed by meush (3) turkish - 7 fixed by jnmbk (7) ------------------------------------------------------------------------ r6927 | Darkvater | 2006-10-24 16:28:34 +0000 (Tue, 24 Oct 2006) | 2 lines -Codechange: No need to explicitly cast a boolean to a boolean and move draw_default goto outside of switch statement. ------------------------------------------------------------------------ r6926 | Darkvater | 2006-10-24 16:27:18 +0000 (Tue, 24 Oct 2006) | 3 lines -Codechange: Rename WWT_4 to WWT_TEXTBTN_2 and WWT_6 to WWT_INSET (credits to peter1138 for the aptly found name) -Codechange: Remove the explicit numbering from WindowWidgetTypes ------------------------------------------------------------------------ r6925 | Darkvater | 2006-10-24 14:15:17 +0000 (Tue, 24 Oct 2006) | 4 lines -Codechange: Be more strict with widget distinctions. WWT_PANEL is only plain panel, WWT_IMGBTN must contain an image for drawing. Renamed WWT_PANEL_2 to WWT_IMGBTN_2 because that is what it is. Added WWT_PUSHBTN that is either just a pushable button, or a textbutton, which text's drawn dynamically independent of widget. ------------------------------------------------------------------------ r6924 | Darkvater | 2006-10-24 13:20:54 +0000 (Tue, 24 Oct 2006) | 1 line -Codechange: Give the last (in the widget arrays at least) sprites meaningful names. ------------------------------------------------------------------------ r6923 | Darkvater | 2006-10-24 13:08:52 +0000 (Tue, 24 Oct 2006) | 1 line -Codechange: Load nsignalsw.grf in the same way as other mandatory additional grfs ------------------------------------------------------------------------ r6922 | Darkvater | 2006-10-24 12:56:14 +0000 (Tue, 24 Oct 2006) | 5 lines -Feature: Add proper cloning sprites and cursors, different for each vehicle. Big thanks to MB for the initial design and skidd13 for the iconified version(s). -Codechange: Change the autorenew sprites from recycle to upgrade (skidd13) -Codechange: Change the shared orders icon (MeusH) -Add missing table/files.h file to VS project file. ------------------------------------------------------------------------ r6921 | peter1138 | 2006-10-24 10:15:56 +0000 (Tue, 24 Oct 2006) | 2 lines - PEBKAC: Add an MD5 sum check of our own data files, and warn if they don't match. ------------------------------------------------------------------------ r6920 | peter1138 | 2006-10-24 07:10:37 +0000 (Tue, 24 Oct 2006) | 2 lines - Codechange: Ignore refit options of an engine if it has no capacity. ------------------------------------------------------------------------ r6912 | peter1138 | 2006-10-23 21:39:15 +0000 (Mon, 23 Oct 2006) | 2 lines - Feature: Show a list of cargo types that a vehicle is refittable to in the purchase information window. (mart3p) ------------------------------------------------------------------------ r6911 | peter1138 | 2006-10-23 21:25:30 +0000 (Mon, 23 Oct 2006) | 2 lines - Codechange: Add extra space to all purchase windows (and the replace window) to allow room for more text. (mart3p) ------------------------------------------------------------------------ r6910 | peter1138 | 2006-10-23 18:45:43 +0000 (Mon, 23 Oct 2006) | 2 lines - Codechange: Supply width of area when drawing purchase info instead of using hardcoded values. (mart3p) ------------------------------------------------------------------------ r6909 | peter1138 | 2006-10-23 18:28:46 +0000 (Mon, 23 Oct 2006) | 2 lines - Codechange: Base the decision to draw rail engine or wagon purchase information on the rail vehicle type, not an arbitrary value. ------------------------------------------------------------------------ r6908 | peter1138 | 2006-10-23 18:13:24 +0000 (Mon, 23 Oct 2006) | 2 lines - Codechange: Modify DrawStringMultiLine() to return the number of pixel lines used, and use it for drawing NewGRF additional text (mart3p) ------------------------------------------------------------------------ r6907 | miham | 2006-10-23 17:56:32 +0000 (Mon, 23 Oct 2006) | 4 lines WebTranslator2 update to 2006-10-23 19:56:02 danish - 19 changed by ThomasA (19) hungarian - 5 changed by miham (5) ------------------------------------------------------------------------ r6906 | peter1138 | 2006-10-23 17:01:02 +0000 (Mon, 23 Oct 2006) | 2 lines - Fix [FS#370]: Clear 'large plane' flag if 'helicopter' flag is set. (mart3p) ------------------------------------------------------------------------ r6905 | peter1138 | 2006-10-23 16:47:20 +0000 (Mon, 23 Oct 2006) | 2 lines - Codechange: Copy cargo subtype when cloning vehicles. ------------------------------------------------------------------------ r6904 | belugas | 2006-10-23 16:35:27 +0000 (Mon, 23 Oct 2006) | 2 lines -CodeChange : Cleanup of industry_cmd (Step-5). Add member life_type to IndustrySpec and remove the now useless _industry_close_mode array ------------------------------------------------------------------------ r6901 | miham | 2006-10-23 08:29:16 +0000 (Mon, 23 Oct 2006) | 4 lines WebTranslator2 update to 2006-10-23 10:28:46 bulgarian - 6 fixed by kokobongo (6) estonian - 46 deleted, 3 changed by kristjans (49) ------------------------------------------------------------------------ r6898 | Darkvater | 2006-10-22 20:46:18 +0000 (Sun, 22 Oct 2006) | 2 lines -Fix: lowercase Error/Warning/Fatal for strgen and remove static on error() so strgen can compile with anal strecpy() :) ------------------------------------------------------------------------ r6897 | peter1138 | 2006-10-22 19:56:26 +0000 (Sun, 22 Oct 2006) | 2 lines - Fix (r6884): Another wrong last parametr :) ------------------------------------------------------------------------ r6896 | peter1138 | 2006-10-22 15:13:48 +0000 (Sun, 22 Oct 2006) | 2 lines - Fix (r6895): Supply last position of the correct buffer *again* ------------------------------------------------------------------------ r6895 | peter1138 | 2006-10-22 10:08:49 +0000 (Sun, 22 Oct 2006) | 2 lines - Fix (r6884): Add 'last' parameter to the town name generators. ------------------------------------------------------------------------ r6894 | peter1138 | 2006-10-22 10:07:40 +0000 (Sun, 22 Oct 2006) | 2 lines - Codechange: Lower the verbosity level of some NewGRF warnings ------------------------------------------------------------------------ r6893 | miham | 2006-10-22 05:37:51 +0000 (Sun, 22 Oct 2006) | 5 lines WebTranslator2 update to 2006-10-22 07:37:19 estonian - 13 fixed, 8 changed by t2t2 (2), kristjans (19) portuguese - 7 fixed by izhirahider (7) turkish - 7 fixed by jnmbk (7) ------------------------------------------------------------------------ r6890 | peter1138 | 2006-10-22 00:05:19 +0000 (Sun, 22 Oct 2006) | 2 lines - Fix (r6884): Supply last position of the correct buffer... ------------------------------------------------------------------------ r6888 | peter1138 | 2006-10-21 23:51:02 +0000 (Sat, 21 Oct 2006) | 2 lines - Fix (r6884): Missed a couple of strecpy()s in newgrf text handling ------------------------------------------------------------------------ r6886 | Darkvater | 2006-10-21 23:36:43 +0000 (Sat, 21 Oct 2006) | 1 line -Be anal for the time being about string-wannabe-buffer-overflows ------------------------------------------------------------------------ r6885 | peter1138 | 2006-10-21 23:36:06 +0000 (Sat, 21 Oct 2006) | 2 lines - Fix (r1379): List of actions panel in the town authority window went underneath its scrollbar ------------------------------------------------------------------------ r6884 | Darkvater | 2006-10-21 23:31:34 +0000 (Sat, 21 Oct 2006) | 4 lines -Codechange: Add strict bounds checking in string formatting system. The last parameter should point to the end of the buffer (eg lastof(buf)) Courtesy of Tron. ------------------------------------------------------------------------ r6882 | Darkvater | 2006-10-21 23:08:17 +0000 (Sat, 21 Oct 2006) | 1 line -Fix r6777: Off by one drawing error for cargo buttons ------------------------------------------------------------------------ r6881 | Darkvater | 2006-10-21 23:00:27 +0000 (Sat, 21 Oct 2006) | 1 line -Fix r6874: uint > int to remove signedness warning MSVC (peter1138) ------------------------------------------------------------------------ r6879 | Darkvater | 2006-10-21 22:50:57 +0000 (Sat, 21 Oct 2006) | 4 lines -Codechange: Remove the superflouos argument CharsetFilter parameter from HandleEditBoxKey as the same information is present in querystr_d->afilter -Also (&((querystr_d *)&WP(w, querystr_d))->text is the same as &WP(w, querystr_d).text ------------------------------------------------------------------------ r6878 | Darkvater | 2006-10-21 22:38:50 +0000 (Sat, 21 Oct 2006) | 1 line -Fix r6876 +add network.c, network_client.c ------------------------------------------------------------------------ r6877 | Darkvater | 2006-10-21 22:33:45 +0000 (Sat, 21 Oct 2006) | 1 line -Fix r6876 +add main_gui.c ------------------------------------------------------------------------ r6876 | Darkvater | 2006-10-21 22:29:14 +0000 (Sat, 21 Oct 2006) | 4 lines -Codechange: Change the naming of _PLAYER in DESTTYPE_PLAYER/NETWORK_ACTION_CHAT_PLAYER to _COMPANY as that is whom you are really addressing to. Also change some variable names, 'desttype' is confusing if there is also a parameter 'dest', so rename it to just type. ------------------------------------------------------------------------ r6875 | Darkvater | 2006-10-21 22:24:28 +0000 (Sat, 21 Oct 2006) | 1 line -Feature: Allow for " to be in console tokens. Escape them with \. eg \". ------------------------------------------------------------------------ r6874 | peter1138 | 2006-10-21 19:32:46 +0000 (Sat, 21 Oct 2006) | 2 lines - [NewStations] Mark all tiles of a railway station dirty when adding or removing tiles. ------------------------------------------------------------------------ r6873 | miham | 2006-10-21 17:58:14 +0000 (Sat, 21 Oct 2006) | 3 lines WebTranslator2 update to 2006-10-21 19:57:49 estonian - 50 fixed, 6 changed by kristjans (56) ------------------------------------------------------------------------ r6872 | miham | 2006-10-21 17:36:29 +0000 (Sat, 21 Oct 2006) | 3 lines WebTranslator2 update to 2006-10-21 19:36:04 estonian - 18 changed by kristjans (18) ------------------------------------------------------------------------ r6870 | peter1138 | 2006-10-21 14:53:57 +0000 (Sat, 21 Oct 2006) | 2 lines - Codechange: (re-)unify the code to retrieve the sprite group for a vehicle. ------------------------------------------------------------------------ r6867 | miham | 2006-10-21 13:42:47 +0000 (Sat, 21 Oct 2006) | 3 lines WebTranslator2 update to 2006-10-21 15:42:20 estonian - 15 fixed, 263 changed by kristjans (278) ------------------------------------------------------------------------ r6865 | miham | 2006-10-21 07:49:22 +0000 (Sat, 21 Oct 2006) | 11 lines WebTranslator2 update to 2006-10-21 09:47:34 brazilian_portuguese - 1 fixed by tucalipe (1) bulgarian - 49 fixed by kokobongo (49) catalan - 2 changed by arnaullv (2) czech - 12 changed by Hadez (12) estonian - 6 fixed, 323 changed by t2t2 (2), kristjans (327) french - 1 changed by glx (1) galician - 11 fixed by Condex (11) german - 1 fixed by Neonox (1) turkish - 12 fixed by jnmbk (12) ------------------------------------------------------------------------ r6858 | peter1138 | 2006-10-20 19:48:25 +0000 (Fri, 20 Oct 2006) | 2 lines - Fix (r6855): Handle rail vehicles with no capacity (N/A) by setting cargo type to CT_INVALID and handling it later. STR_8838_N_A is not a valid cargo type... ------------------------------------------------------------------------ r6857 | peter1138 | 2006-10-20 14:31:35 +0000 (Fri, 20 Oct 2006) | 2 lines - Fix (r6855): Update all languages with {STRING} -> {CARGO} change ------------------------------------------------------------------------ r6855 | peter1138 | 2006-10-20 11:53:29 +0000 (Fri, 20 Oct 2006) | 2 lines - Codechange: When displaying a "quantity of cargo" string, use the {CARGO} command and supply the cargo type and quantity, instead of manually looking up the cargo type's string. ------------------------------------------------------------------------ r6854 | Darkvater | 2006-10-20 10:48:46 +0000 (Fri, 20 Oct 2006) | 2 lines -Codechange: Use DrawSringCentered instead of DrawStringMultiCenter for simple strings if maximum width is set to zero anywyas. ------------------------------------------------------------------------ r6838 | peter1138 | 2006-10-19 12:21:35 +0000 (Thu, 19 Oct 2006) | 2 lines - Fix (r6836): MS VC complains beecause it doesn't understand consts... (or I don't...) ------------------------------------------------------------------------ r6837 | peter1138 | 2006-10-19 10:40:21 +0000 (Thu, 19 Oct 2006) | 2 lines - Codechange: More const SpriteGroups missed in r6836 ------------------------------------------------------------------------ r6836 | peter1138 | 2006-10-19 10:20:36 +0000 (Thu, 19 Oct 2006) | 2 lines - Codechange: constify SpriteGroup references. These used to be non-const when we kept a reference count, which we don't do anymore. ------------------------------------------------------------------------ r6835 | peter1138 | 2006-10-19 09:39:29 +0000 (Thu, 19 Oct 2006) | 2 lines - Fix: Pressing ^D (EOF) at a dedicated console caused it to repeat the last command, instead of doing nothing. ------------------------------------------------------------------------ r6828 | Darkvater | 2006-10-18 21:38:45 +0000 (Wed, 18 Oct 2006) | 1 line -Fix: Properly fix r6842 ------------------------------------------------------------------------ r6827 | glx | 2006-10-18 21:33:59 +0000 (Wed, 18 Oct 2006) | 1 line -Fix r6824: removed warning ------------------------------------------------------------------------ r6825 | Darkvater | 2006-10-18 21:19:04 +0000 (Wed, 18 Oct 2006) | 1 line -Codechange: Remove two globals from chat-window ------------------------------------------------------------------------ r6824 | Darkvater | 2006-10-18 21:07:36 +0000 (Wed, 18 Oct 2006) | 6 lines -Feature: Change the functionality of the chat window. SHIFT+ENTER (SHIFT+T) sends a message to all players, CTRL+ENTER (CTRL+T) sends a message to all team mates and ENTER (T) sends a message to teammates if you have any, otherwise to all players. The chat-window now also shows what kind of message is being sent. Shortcut functionality has not been changed (ENTER sends message, ESC closes window) ------------------------------------------------------------------------ r6823 | peter1138 | 2006-10-18 17:44:46 +0000 (Wed, 18 Oct 2006) | 2 lines - Codechange: Ignore bit 0 of a NewStation custom tile callback result. This fixes cosmetic problems with some add on stations. ------------------------------------------------------------------------ r6822 | glx | 2006-10-18 14:42:19 +0000 (Wed, 18 Oct 2006) | 1 line -Fix r6821: add type for measure_strings_length[] ------------------------------------------------------------------------ r6821 | Darkvater | 2006-10-18 14:20:10 +0000 (Wed, 18 Oct 2006) | 2 lines -Codechange: For the measurement tool do not show the tooltip when the selection is only a single tile. Seems this was a bit annoying to some ;) ------------------------------------------------------------------------ r6820 | Darkvater | 2006-10-18 13:17:46 +0000 (Wed, 18 Oct 2006) | 3 lines -Codechange: Some more const correctness, coding style. -Codechange: Add FOR_ALL_ACTIVE_CLIENT_INFOS macro that will loop all clients skipping inactive ones. ------------------------------------------------------------------------ r6819 | miham | 2006-10-18 10:57:32 +0000 (Wed, 18 Oct 2006) | 6 lines WebTranslator2 update to 2006-10-18 12:54:18 bulgarian - 47 fixed, 1 changed by groupsky (48) danish - 1 fixed by ThomasA (1) italian - 1 fixed by sidew (1) slovak - 1 fixed by lengyel (1) ------------------------------------------------------------------------ r6817 | glx | 2006-10-18 00:10:38 +0000 (Wed, 18 Oct 2006) | 1 line -Fix: set svn:eol-style for vs80 files ------------------------------------------------------------------------ r6816 | Darkvater | 2006-10-17 23:34:12 +0000 (Tue, 17 Oct 2006) | 2 lines -Codechange: Some coding style, variable localization, const correctness. -Codechange: 'quited' is not a word, use has_quit instead for NetworkClientState ------------------------------------------------------------------------ r6815 | miham | 2006-10-17 22:21:13 +0000 (Tue, 17 Oct 2006) | 3 lines WebTranslator2 update to 2006-10-18 00:20:47 czech - 3 changed by KUDr (3) ------------------------------------------------------------------------ r6814 | Darkvater | 2006-10-17 22:16:46 +0000 (Tue, 17 Oct 2006) | 5 lines -Codechange: For network games ci->client_playas was always p->index + 1. To correctly handle this ci->client_playas - 1 was used all over the code making it pretty confusing at times. Use proper one-on-one values now. Special handling is only needed for user-output to not to confuse users. ------------------------------------------------------------------------ r6811 | miham | 2006-10-17 20:36:03 +0000 (Tue, 17 Oct 2006) | 7 lines WebTranslator2 update to 2006-10-17 22:35:27 american - 1 fixed by WhiteRabbit (1) bulgarian - 50 fixed, 1 changed by kokobongo (51) czech - 30 fixed by KUDr (30) estonian - 5 fixed by vermon (5) finnish - 1 fixed by kerba (1) ------------------------------------------------------------------------ r6807 | miham | 2006-10-17 19:12:30 +0000 (Tue, 17 Oct 2006) | 8 lines WebTranslator2 update to 2006-10-17 21:11:51 bulgarian - 20 fixed, 1 deleted by kokobongo (21) dutch - 1 fixed by webfreakz (1) hungarian - 2 fixed by miham (2) polish - 1 fixed by meush (1) spanish - 1 fixed by eusebio (1) swedish - 2 fixed, 5 changed by cjw (7) ------------------------------------------------------------------------ r6806 | miham | 2006-10-17 18:36:39 +0000 (Tue, 17 Oct 2006) | 7 lines WebTranslator2 update to 2006-10-17 20:36:04 catalan - 1 fixed, 9 changed by arnaullv (10) danish - 13 changed by ThomasA (13) finnish - 5 fixed, 8 changed by hapo (13) french - 1 fixed, 6 changed by belugas (6), glx (1) swedish - 5 fixed by daishan (5) ------------------------------------------------------------------------ r6804 | Darkvater | 2006-10-17 18:15:35 +0000 (Tue, 17 Oct 2006) | 1 line -Codechange: Remove the unused NF_NOEXPIRE flag. ------------------------------------------------------------------------