------------------------------------------------------------------------ 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. ------------------------------------------------------------------------ r6803 | Darkvater | 2006-10-17 17:59:41 +0000 (Tue, 17 Oct 2006) | 2 lines -Codechange: Substitute magic numbers by an enum for the news windows ------------------------------------------------------------------------ r6802 | peter1138 | 2006-10-17 17:17:51 +0000 (Tue, 17 Oct 2006) | 2 lines - Fix (r6800): Remove now unused 'lost train' strings from all language files. ------------------------------------------------------------------------ r6801 | peter1138 | 2006-10-17 17:10:39 +0000 (Tue, 17 Oct 2006) | 2 lines - Fix (r6619): Always disable the train refit button. It will be enabled later if refitting is possible. ------------------------------------------------------------------------ r6800 | KUDr | 2006-10-17 16:16:19 +0000 (Tue, 17 Oct 2006) | 1 line -Feature change: [train is lost] message is now generated immediately when pathfinder can't find the path. (thanks MeusH, peter1138 and Brianetta for ideas and help). ------------------------------------------------------------------------ r6795 | peter1138 | 2006-10-17 14:52:55 +0000 (Tue, 17 Oct 2006) | 2 lines - NewGRF: Add support for cargo-specific wagon overrides. ------------------------------------------------------------------------ r6794 | peter1138 | 2006-10-17 07:33:05 +0000 (Tue, 17 Oct 2006) | 2 lines - Fix: In the train detail window, split up articulated parts if they can contain cargo. This allows us to show the full cargo contents. ------------------------------------------------------------------------ r6793 | belugas | 2006-10-17 03:39:30 +0000 (Tue, 17 Oct 2006) | 2 lines -Fix(5464): When checking items on an array, make sure to respect boundaries(jez). Made some comments code style compliant ------------------------------------------------------------------------ r6792 | bjarni | 2006-10-16 21:30:08 +0000 (Mon, 16 Oct 2006) | 3 lines -Cleanup: improved the English used in STR_VEH_WITH_SHARED_ORDERS_LIST_TIP (jez) The meaning should remain the same and there is no need to retranslate this string ------------------------------------------------------------------------ r6791 | KUDr | 2006-10-16 19:17:30 +0000 (Mon, 16 Oct 2006) | 1 line -Fix: [YAPF] YapfFindNearestRailDepotTwoWay() did not work for train inside tunnel. ------------------------------------------------------------------------ r6790 | miham | 2006-10-16 11:46:47 +0000 (Mon, 16 Oct 2006) | 5 lines WebTranslator2 update to 2006-10-16 13:46:16 catalan - 3 changed by arnaullv (3) danish - 6 fixed, 61 changed by ThomasA (67) italian - 5 fixed by sidew (5) ------------------------------------------------------------------------ r6789 | peter1138 | 2006-10-16 10:29:29 +0000 (Mon, 16 Oct 2006) | 2 lines - Codechange: Tidy up VehicleNameSorter() to use no global vars, and match the style of EngineNameSorter(). This also removes a bug where _internal_name_sorter_id was never set properly for anything other than trains. ------------------------------------------------------------------------ r6788 | peter1138 | 2006-10-16 10:26:22 +0000 (Mon, 16 Oct 2006) | 2 lines - Codechange: Add and use a function to test if a string ID is a custom name. ------------------------------------------------------------------------ r6787 | Darkvater | 2006-10-15 23:48:34 +0000 (Sun, 15 Oct 2006) | 2 lines -Codechange: Use PLAYER_NEW_COMPANY as a player identifier wishing to become a new player instead of a 0. ------------------------------------------------------------------------ r6786 | Darkvater | 2006-10-15 23:42:18 +0000 (Sun, 15 Oct 2006) | 4 lines -Codechange: To join a new company CMD_PLAYER_CTRL is executed with so far a local spectator (awaiting assignment from server). Since a spectator cannot execute any commands, a local player is impersonated. Move this impersonation to the server side where CMD_PLAYER_CTRL is handled specially anyways. ------------------------------------------------------------------------ r6785 | Darkvater | 2006-10-15 23:37:15 +0000 (Sun, 15 Oct 2006) | 2 lines -Cleanup: Remove unused _network_playas from NetworkAddServer. This function only adds favourite servers to the list, does nothing with regards to connection ------------------------------------------------------------------------ r6784 | Darkvater | 2006-10-15 23:35:26 +0000 (Sun, 15 Oct 2006) | 1 line -Codechange: Change invalid PlayerID type into ClientID which it is in CmdPlayerCtrl ------------------------------------------------------------------------ r6783 | Darkvater | 2006-10-15 23:31:22 +0000 (Sun, 15 Oct 2006) | 1 line -Codechange: Allow ParseConnectionString to allow players with more than one digit ------------------------------------------------------------------------ r6782 | peter1138 | 2006-10-15 20:46:10 +0000 (Sun, 15 Oct 2006) | 2 lines - Fix (r3947): Invalidate depot & vehicle windows when reversing a single engine with ctrl-click. ------------------------------------------------------------------------ r6781 | peter1138 | 2006-10-15 19:01:40 +0000 (Sun, 15 Oct 2006) | 2 lines - Fix (r5926): Some house introduction dates were incorrectly adjusted in the move to 32bit dates. ------------------------------------------------------------------------ r6780 | Darkvater | 2006-10-15 17:01:19 +0000 (Sun, 15 Oct 2006) | 1 line -Codechange: Remove GPMI leftovers (-b impersonisation of AI in MP). ------------------------------------------------------------------------ r6779 | glx | 2006-10-15 16:56:58 +0000 (Sun, 15 Oct 2006) | 1 line -Fix r6631: waypoint selector now correctly shows the current selected waypoint type (thx Maedhros) ------------------------------------------------------------------------ r6778 | miham | 2006-10-15 13:28:20 +0000 (Sun, 15 Oct 2006) | 9 lines WebTranslator2 update to 2006-10-15 15:27:37 brazilian_portuguese - 1 changed by tucalipe (1) catalan - 15 changed by arnaullv (15) estonian - 6 fixed by vermon (6) german - 4 fixed by Neonox (4) polish - 5 fixed, 2 changed by meush (7) portuguese - 7 fixed by izhirahider (7) spanish - 5 fixed by eusebio (5) ------------------------------------------------------------------------ r6777 | belugas | 2006-10-15 03:40:53 +0000 (Sun, 15 Oct 2006) | 1 line -GuiChange: When painting a lowered button on CargoPaymentsRates, displace the content of one pixel to the right and to the bottom. This will make it look like a normal button ------------------------------------------------------------------------ r6776 | Darkvater | 2006-10-14 22:31:18 +0000 (Sat, 14 Oct 2006) | 2 lines -Codechange: Use IsValidPlayer() function to determine of a PlayerID is an actual playable player (< MAX_PLAYERS) or not. ------------------------------------------------------------------------ r6775 | Darkvater | 2006-10-14 22:22:48 +0000 (Sat, 14 Oct 2006) | 2 lines -Codechange: Use some more proper types, especially Owner and PlayerID as these are used intermixed often. ------------------------------------------------------------------------ r6774 | Darkvater | 2006-10-14 15:49:43 +0000 (Sat, 14 Oct 2006) | 2 lines -Codechange: Rename the badly named OWNER_SPECTATOR to PLAYER_SPECTATOR and put it into player.h where it belongs (instead of map.h) ------------------------------------------------------------------------ r6773 | Darkvater | 2006-10-14 15:44:28 +0000 (Sat, 14 Oct 2006) | 1 line -eh...I had to test it didn't i, just forgot to save ------------------------------------------------------------------------ r6772 | Darkvater | 2006-10-14 15:43:37 +0000 (Sat, 14 Oct 2006) | 2 lines -Codechange: Do not abuse OWNER_SPECTATOR as the "owner" of the industry for the minimap. This also saves us from having this huge _owner_colors table. ------------------------------------------------------------------------ r6771 | Darkvater | 2006-10-14 15:15:56 +0000 (Sat, 14 Oct 2006) | 2 lines -Codechange: Replace two macros with functions. IS_HUMAN_PLAYER and IS_INTERACTIVE_PLAYER ------------------------------------------------------------------------ r6770 | Darkvater | 2006-10-14 10:26:13 +0000 (Sat, 14 Oct 2006) | 6 lines -Codechange: Make the airport checking a bit stricter...fix unnoticed errors: Commuter (20): invalid use of terminal group designator; since all other options goto position 2 and no additional blocks are checked, simplify state Intercontinental (23, 30): no extra states are needed since all options go to position 70 and 31 unconditionally Intercontinental (31): invalid use of more-options-to-follow (255) ------------------------------------------------------------------------ r6769 | Darkvater | 2006-10-14 09:51:04 +0000 (Sat, 14 Oct 2006) | 3 lines -Codechange: Minor syntax, const correctness, variable localization, coding style changes to airport code, and cleanup of airport.c. Should not change any functionality. ------------------------------------------------------------------------ r6768 | Darkvater | 2006-10-13 23:08:55 +0000 (Fri, 13 Oct 2006) | 3 lines -Cleanup: For airports change *Airport to *apc (variable naming coding style conformance (AirportFTAClass), *FA to *apFA (to better reflect its type AirportFTAbuildup), and ->next_in_chain into ->next. ------------------------------------------------------------------------