Commit Graph

5179 Commits

Author SHA1 Message Date
peter1138
9693ec3afb (svn r6908) - Codechange: Modify DrawStringMultiLine() to return the number of pixel lines used, and use it for drawing NewGRF additional text (mart3p) 2006-10-23 18:13:24 +00:00
miham
c7f320d707 (svn r6907) WebTranslator2 update to 2006-10-23 19:56:02
danish     - 19 changed by ThomasA (19)
hungarian  - 5 changed by miham (5)
2006-10-23 17:56:32 +00:00
peter1138
42f2da1f35 (svn r6906) - Fix [FS#370]: Clear 'large plane' flag if 'helicopter' flag is set. (mart3p) 2006-10-23 17:01:02 +00:00
peter1138
7797301012 (svn r6905) - Codechange: Copy cargo subtype when cloning vehicles. 2006-10-23 16:47:20 +00:00
belugas
a3f0d65a99 (svn r6904) -CodeChange : Cleanup of industry_cmd (Step-5).
Add member life_type to IndustrySpec and remove the now useless _industry_close_mode array
2006-10-23 16:35:27 +00:00
miham
b7f017c606 (svn r6901) WebTranslator2 update to 2006-10-23 10:28:46
bulgarian  - 6 fixed by kokobongo (6)
estonian   - 46 deleted, 3 changed by kristjans (49)
2006-10-23 08:29:16 +00:00
Darkvater
c2b326180e (svn r6898) -Fix: lowercase Error/Warning/Fatal for strgen and remove static on error() so strgen
can compile with anal strecpy() :)
2006-10-22 20:46:18 +00:00
peter1138
0c8d63d9c2 (svn r6897) - Fix (r6884): Another wrong last parametr :) 2006-10-22 19:56:26 +00:00
peter1138
751ebde7b4 (svn r6896) - Fix (r6895): Supply last position of the correct buffer *again* 2006-10-22 15:13:48 +00:00
peter1138
961eda2a64 (svn r6895) - Fix (r6884): Add 'last' parameter to the town name generators. 2006-10-22 10:08:49 +00:00
peter1138
114337a1f5 (svn r6894) - Codechange: Lower the verbosity level of some NewGRF warnings 2006-10-22 10:07:40 +00:00
miham
d0eb5c074e (svn r6893) 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)
2006-10-22 05:37:51 +00:00
peter1138
5f361a5813 (svn r6890) - Fix (r6884): Supply last position of the correct buffer... 2006-10-22 00:05:19 +00:00
peter1138
0558d2465e (svn r6888) - Fix (r6884): Missed a couple of strecpy()s in newgrf text handling 2006-10-21 23:51:02 +00:00
Darkvater
286cfdc067 (svn r6886) -Be anal for the time being about string-wannabe-buffer-overflows 2006-10-21 23:36:43 +00:00
peter1138
6d95049f75 (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
494c56475f (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
c15e699479 (svn r6882) -Fix r6777: Off by one drawing error for cargo buttons 2006-10-21 23:08:17 +00:00
Darkvater
5e140bd7bc (svn r6881) -Fix r6874: uint > int to remove signedness warning MSVC (peter1138) 2006-10-21 23:00:27 +00:00
Darkvater
fcd2af4643 (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
f71ca30040 (svn r6878) -Fix r6876 +add network.c, network_client.c 2006-10-21 22:38:50 +00:00
Darkvater
df2ed91241 (svn r6877) -Fix r6876 +add main_gui.c 2006-10-21 22:33:45 +00:00
Darkvater
5459f53c95 (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
5f9fcc5b21 (svn r6875) -Feature: Allow for " to be in console tokens. Escape them with \. eg \". 2006-10-21 22:24:28 +00:00
peter1138
d45bd66836 (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
12b34e67f3 (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
7b91da6ad6 (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
0503ba3aa3 (svn r6870) - Codechange: (re-)unify the code to retrieve the sprite group for a vehicle. 2006-10-21 14:53:57 +00:00
miham
8e070f73c0 (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
644470a19d (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
53f8e99169 (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
af89d9333b (svn r6857) - Fix (r6855): Update all languages with {STRING} -> {CARGO} change 2006-10-20 14:31:35 +00:00
peter1138
68dda86c5b (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
4b674976d5 (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
381e93225a (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
3aa20f8209 (svn r6837) - Codechange: More const SpriteGroups missed in r6836 2006-10-19 10:40:21 +00:00
peter1138
e1ac248689 (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
925c61202c (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
e6004ad4a6 (svn r6828) -Fix: Properly fix r6842 2006-10-18 21:38:45 +00:00
glx
ae4316f4ff (svn r6827) -Fix r6824: removed warning 2006-10-18 21:33:59 +00:00
Darkvater
c8ffe7bd0e (svn r6825) -Codechange: Remove two globals from chat-window 2006-10-18 21:19:04 +00:00
Darkvater
c1bc092c76 (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
95d9e4f4f1 (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
e1fec27445 (svn r6822) -Fix r6821: add type for measure_strings_length[] 2006-10-18 14:42:19 +00:00
Darkvater
5e248781a8 (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
83bed39106 (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
8e121eea70 (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
4b7bc3f567 (svn r6817) -Fix: set svn:eol-style for vs80 files 2006-10-18 00:10:38 +00:00
Darkvater
33bdf3c701 (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
1fedb05cca (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