Commit Graph

5000 Commits

Author SHA1 Message Date
Darkvater
93599c1be5 (svn r6938) -Codechange: Comments, typo, variable naming, whitespace, strecpy and simplification
of order_gui (only disable a single widget if not local player, all others aren't
 visible anyways).
2006-10-24 23:11:40 +00:00
Darkvater
b63d946898 (svn r6937) -Codechange: Add an InitializeTextBuffer() function that handles setting up the
textbuffer instead of typing it out each and every time.
2006-10-24 22:57:44 +00:00
Darkvater
3760fe9a40 (svn r6935) -Fix up the languages changed in r6931 2006-10-24 22:40:27 +00:00
Darkvater
55cdf3f6ab (svn r6934) -Cleanup: Some minor cleanup for network_client and removing 'stupid' comment 2006-10-24 22:27:10 +00:00
Darkvater
2b8530507d (svn r6933) -Feature: Allow spectators to speak to eachother (team) 2006-10-24 22:26:20 +00:00
Darkvater
929cfa6687 (svn r6932) -Codechange: Send server messages with format NETWORK_ACTION_SERVER_MESSAGE so it is
general colour like the rest of the server messages. Spectators speak in grey.
2006-10-24 22:23:08 +00:00
Darkvater
bc018eb7ac (svn r6931) -Codechange: Change textmessage format a bit. Only the sender's name and target are
in the sender's colour, the actual message is in white. Should improve readability.
2006-10-24 22:19:12 +00:00
belugas
f48c419467 (svn r6930) -Codechange: Move industry name into IndustrySpec
-Codechange: member color_map is more related to random color, rename it as such
2006-10-24 19:19:25 +00:00
miham
acbdd24f2f (svn r6928) 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)
2006-10-24 16:39:48 +00:00
Darkvater
1324835bc9 (svn r6927) -Codechange: No need to explicitly cast a boolean to a boolean and move draw_default
goto outside of switch statement.
2006-10-24 16:28:34 +00:00
Darkvater
1e69ac550d (svn r6926) -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
2006-10-24 16:27:18 +00:00
Darkvater
d303ef94b3 (svn r6925) -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.
2006-10-24 14:15:17 +00:00
Darkvater
605036dbb4 (svn r6924) -Codechange: Give the last (in the widget arrays at least) sprites meaningful names. 2006-10-24 13:20:54 +00:00
Darkvater
512568781b (svn r6923) -Codechange: Load nsignalsw.grf in the same way as other mandatory additional grfs 2006-10-24 13:08:52 +00:00
Darkvater
1204eeacfe (svn r6922) -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.
2006-10-24 12:56:14 +00:00
peter1138
e08dfce57c (svn r6921) - PEBKAC: Add an MD5 sum check of our own data files, and warn if they don't match. 2006-10-24 10:15:56 +00:00
peter1138
736e3597b5 (svn r6920) - Codechange: Ignore refit options of an engine if it has no capacity. 2006-10-24 07:10:37 +00:00
peter1138
735c636f6f (svn r6912) - Feature: Show a list of cargo types that a vehicle is refittable to in the purchase information window. (mart3p) 2006-10-23 21:39:15 +00:00
peter1138
552e6de4ce (svn r6911) - Codechange: Add extra space to all purchase windows (and the replace window) to allow room for more text. (mart3p) 2006-10-23 21:25:30 +00:00
peter1138
59f78aa2b7 (svn r6910) - Codechange: Supply width of area when drawing purchase info instead of using hardcoded values. (mart3p) 2006-10-23 18:45:43 +00:00
peter1138
74850a7712 (svn r6909) - Codechange: Base the decision to draw rail engine or wagon purchase information on the rail vehicle type, not an arbitrary value. 2006-10-23 18:28:46 +00:00
peter1138
61611711e3 (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
ba60e4ac34 (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
b5d448a60f (svn r6906) - Fix [FS#370]: Clear 'large plane' flag if 'helicopter' flag is set. (mart3p) 2006-10-23 17:01:02 +00:00
peter1138
326fef684f (svn r6905) - Codechange: Copy cargo subtype when cloning vehicles. 2006-10-23 16:47:20 +00:00
belugas
9c1e89b0c0 (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
57808404d4 (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
5578e596a2 (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
bfad01b639 (svn r6897) - Fix (r6884): Another wrong last parametr :) 2006-10-22 19:56:26 +00:00
peter1138
4c4da881f0 (svn r6896) - Fix (r6895): Supply last position of the correct buffer *again* 2006-10-22 15:13:48 +00:00
peter1138
9f1163af09 (svn r6895) - Fix (r6884): Add 'last' parameter to the town name generators. 2006-10-22 10:08:49 +00:00
peter1138
8e3853f5ce (svn r6894) - Codechange: Lower the verbosity level of some NewGRF warnings 2006-10-22 10:07:40 +00:00
miham
e260878f09 (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
697a8fa8c0 (svn r6890) - Fix (r6884): Supply last position of the correct buffer... 2006-10-22 00:05:19 +00:00
peter1138
d279b51dff (svn r6888) - Fix (r6884): Missed a couple of strecpy()s in newgrf text handling 2006-10-21 23:51:02 +00:00
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