Commit Graph

4899 Commits

Author SHA1 Message Date
peter1138 df8b06dec6 (svn r6858) - 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... 2006-10-20 19:48:25 +00:00
peter1138 6d2c7b4fdf (svn r6857) - Fix (r6855): Update all languages with {STRING} -> {CARGO} change 2006-10-20 14:31:35 +00:00
peter1138 8411b3b9fe (svn r6855) - 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. 2006-10-20 11:53:29 +00:00
Darkvater 5b72dd22e8 (svn r6854) -Codechange: Use DrawSringCentered instead of DrawStringMultiCenter for simple
strings if maximum width is set to zero anywyas.
2006-10-20 10:48:46 +00:00
peter1138 dd8bd7be0e (svn r6838) - Fix (r6836): MS VC complains beecause it doesn't understand consts... (or I don't...) 2006-10-19 12:21:35 +00:00
peter1138 45fa2a12fd (svn r6837) - Codechange: More const SpriteGroups missed in r6836 2006-10-19 10:40:21 +00:00
peter1138 81d41b8d57 (svn r6836) - Codechange: constify SpriteGroup references. These used to be non-const when we kept a reference count, which we don't do anymore. 2006-10-19 10:20:36 +00:00
peter1138 fde4bf4cca (svn r6835) - Fix: Pressing ^D (EOF) at a dedicated console caused it to repeat the last command, instead of doing nothing. 2006-10-19 09:39:29 +00:00
Darkvater 7c99e38c60 (svn r6828) -Fix: Properly fix r6842 2006-10-18 21:38:45 +00:00
glx b1fb27dc2e (svn r6827) -Fix r6824: removed warning 2006-10-18 21:33:59 +00:00
Darkvater 6b55f4cf07 (svn r6825) -Codechange: Remove two globals from chat-window 2006-10-18 21:19:04 +00:00
Darkvater b944a133cb (svn r6824) -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)
2006-10-18 21:07:36 +00:00
peter1138 034f5abc4b (svn r6823) - Codechange: Ignore bit 0 of a NewStation custom tile callback result. This fixes cosmetic problems with some add on stations. 2006-10-18 17:44:46 +00:00
glx f730a2864f (svn r6822) -Fix r6821: add type for measure_strings_length[] 2006-10-18 14:42:19 +00:00
Darkvater 2d48fd2861 (svn r6821) -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 ;)
2006-10-18 14:20:10 +00:00
Darkvater 68314cf576 (svn r6820) -Codechange: Some more const correctness, coding style.
-Codechange: Add FOR_ALL_ACTIVE_CLIENT_INFOS macro that will loop all clients
 skipping inactive ones.
2006-10-18 13:17:46 +00:00
miham ccc1ad52d9 (svn r6819) 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)
2006-10-18 10:57:32 +00:00
glx d6a2203f06 (svn r6817) -Fix: set svn:eol-style for vs80 files 2006-10-18 00:10:38 +00:00
Darkvater e97d801d92 (svn r6816) -Codechange: Some coding style, variable localization, const correctness.
-Codechange: 'quited' is not a word, use has_quit instead for NetworkClientState
2006-10-17 23:34:12 +00:00
miham 7cdf6f0aff (svn r6815) WebTranslator2 update to 2006-10-18 00:20:47
czech      - 3 changed by KUDr (3)
2006-10-17 22:21:13 +00:00
Darkvater fbc724c6cb (svn r6814) -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.
2006-10-17 22:16:46 +00:00
miham 821df34b6e (svn r6811) 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)
2006-10-17 20:36:03 +00:00
miham 0a19febcc2 (svn r6807) 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)
2006-10-17 19:12:30 +00:00
miham 7fe56f2132 (svn r6806) 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)
2006-10-17 18:36:39 +00:00
Darkvater 5ecd5eb4f4 (svn r6804) -Codechange: Remove the unused NF_NOEXPIRE flag. 2006-10-17 18:15:35 +00:00
Darkvater fba7d2f7f3 (svn r6803) -Codechange: Substitute magic numbers by an enum for the news windows 2006-10-17 17:59:41 +00:00
peter1138 ec9e59b4fc (svn r6802) - Fix (r6800): Remove now unused 'lost train' strings from all language files. 2006-10-17 17:17:51 +00:00
peter1138 c88f7b0138 (svn r6801) - Fix (r6619): Always disable the train refit button. It will be enabled later if refitting is possible. 2006-10-17 17:10:39 +00:00
KUDr c758f7d812 (svn r6800) -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). 2006-10-17 16:16:19 +00:00
peter1138 da63942041 (svn r6795) - NewGRF: Add support for cargo-specific wagon overrides. 2006-10-17 14:52:55 +00:00
peter1138 8072c6fe17 (svn r6794) - Fix: In the train detail window, split up articulated parts if they can contain cargo. This allows us to show the full cargo contents. 2006-10-17 07:33:05 +00:00
belugas ed9ddfaba1 (svn r6793) -Fix(5464): When checking items on an array, make sure to respect boundaries(jez).
Made some comments code style compliant
2006-10-17 03:39:30 +00:00
bjarni abc14c950a (svn r6792) -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
2006-10-16 21:30:08 +00:00
KUDr c2736007e5 (svn r6791) -Fix: [YAPF] YapfFindNearestRailDepotTwoWay() did not work for train inside tunnel. 2006-10-16 19:17:30 +00:00
miham 3fafc6c82b (svn r6790) 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)
2006-10-16 11:46:47 +00:00
peter1138 cd337672ba (svn r6789) - 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. 2006-10-16 10:29:29 +00:00
peter1138 afb45b6f29 (svn r6788) - Codechange: Add and use a function to test if a string ID is a custom name. 2006-10-16 10:26:22 +00:00
Darkvater d5baf25923 (svn r6787) -Codechange: Use PLAYER_NEW_COMPANY as a player identifier wishing to become a
new player instead of a 0.
2006-10-15 23:48:34 +00:00
Darkvater 7cac86186e (svn r6786) -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.
2006-10-15 23:42:18 +00:00
Darkvater 085a6b497f (svn r6785) -Cleanup: Remove unused _network_playas from NetworkAddServer. This function
only adds favourite servers to the list, does nothing with regards to connection
2006-10-15 23:37:15 +00:00
Darkvater fea1f59f11 (svn r6784) -Codechange: Change invalid PlayerID type into ClientID which it is in CmdPlayerCtrl 2006-10-15 23:35:26 +00:00
Darkvater 4bb6587f40 (svn r6783) -Codechange: Allow ParseConnectionString to allow players with more than one digit 2006-10-15 23:31:22 +00:00
peter1138 a01ae2bafe (svn r6782) - Fix (r3947): Invalidate depot & vehicle windows when reversing a single engine with ctrl-click. 2006-10-15 20:46:10 +00:00
peter1138 4c1423fc38 (svn r6781) - Fix (r5926): Some house introduction dates were incorrectly adjusted in the move to 32bit dates. 2006-10-15 19:01:40 +00:00
Darkvater b2110cbaed (svn r6780) -Codechange: Remove GPMI leftovers (-b impersonisation of AI in MP). 2006-10-15 17:01:19 +00:00
glx 5a1ee9e02b (svn r6779) -Fix r6631: waypoint selector now correctly shows the current selected waypoint type (thx Maedhros) 2006-10-15 16:56:58 +00:00
miham 678b44d976 (svn r6778) 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)
2006-10-15 13:28:20 +00:00
belugas c22b610c52 (svn r6777) -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 2006-10-15 03:40:53 +00:00
Darkvater 6b6d908308 (svn r6776) -Codechange: Use IsValidPlayer() function to determine of a PlayerID is an
actual playable player (< MAX_PLAYERS) or not.
2006-10-14 22:31:18 +00:00
Darkvater 9732c129c1 (svn r6775) -Codechange: Use some more proper types, especially Owner and PlayerID as
these are used intermixed often.
2006-10-14 22:22:48 +00:00