Darkvater
7af4492c3b
(svn r6886) -Be anal for the time being about string-wannabe-buffer-overflows
2006-10-21 23:36:43 +00:00
peter1138
62181fe6e7
(svn r6885) - Fix (r1379): List of actions panel in the town authority window went underneath its scrollbar
2006-10-21 23:36:06 +00:00
Darkvater
ee27bb497c
(svn r6884) -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.
2006-10-21 23:31:34 +00:00
Darkvater
7f36a980c7
(svn r6882) -Fix r6777: Off by one drawing error for cargo buttons
2006-10-21 23:08:17 +00:00
Darkvater
5d31cb19d4
(svn r6881) -Fix r6874: uint > int to remove signedness warning MSVC (peter1138)
2006-10-21 23:00:27 +00:00
Darkvater
e550bccf15
(svn r6879) -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
2006-10-21 22:50:57 +00:00
Darkvater
c12a9e19c3
(svn r6878) -Fix r6876 +add network.c, network_client.c
2006-10-21 22:38:50 +00:00
Darkvater
b3df5e5477
(svn r6877) -Fix r6876 +add main_gui.c
2006-10-21 22:33:45 +00:00
Darkvater
91b9b3ab18
(svn r6876) -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.
2006-10-21 22:29:14 +00:00
Darkvater
baf451b216
(svn r6875) -Feature: Allow for " to be in console tokens. Escape them with \. eg \".
2006-10-21 22:24:28 +00:00
peter1138
6a955f3892
(svn r6874) - [NewStations] Mark all tiles of a railway station dirty when adding or removing tiles.
2006-10-21 19:32:46 +00:00
miham
608c88e56f
(svn r6873) WebTranslator2 update to 2006-10-21 19:57:49
...
estonian - 50 fixed, 6 changed by kristjans (56)
2006-10-21 17:58:14 +00:00
miham
753e60e2ff
(svn r6872) WebTranslator2 update to 2006-10-21 19:36:04
...
estonian - 18 changed by kristjans (18)
2006-10-21 17:36:29 +00:00
peter1138
051181f9c2
(svn r6870) - Codechange: (re-)unify the code to retrieve the sprite group for a vehicle.
2006-10-21 14:53:57 +00:00
miham
165d65a7d0
(svn r6867) WebTranslator2 update to 2006-10-21 15:42:20
...
estonian - 15 fixed, 263 changed by kristjans (278)
2006-10-21 13:42:47 +00:00
miham
225879b726
(svn r6865) 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)
2006-10-21 07:49:22 +00:00
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