summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-10-27(svn r6962) -Fix r6961: spacing...Darkvater
2006-10-27(svn r6961) -Codechange: Remove relic from r212 WWT_NODISTXTBTN which was ↵Darkvater
originally used to not to allow clicking if a button was disabled. This has been superseded in r212 with general code that doesn't allow any click events for disabled buttons.
2006-10-27(svn r6960) - Feature: NewGRF: Implement some support for GRF Resource ↵peter1138
Management (GRM)
2006-10-27(svn r6959) -Codechange: Move GfxFillRect() out of the chat-message drawing ↵Darkvater
loop since we already know how many lines we are going to draw. On certain architectures this results in a minor penalty of local function performance if only 1 line is drawn. But starting from 2 and more you'll get a net gain.
2006-10-27(svn r6958) -Fix (r6956): GCC warning (thx Tron) and a coding style ↵Darkvater
forgotten in r6957
2006-10-27(svn r6957) -Cleanup: comments, coding styleDarkvater
2006-10-27(svn r6956) -Feature: Increase the chatbuffer of chat messages. Messages ↵Darkvater
longer than the allocated graphical box will be wrapped to a new line.
2006-10-27(svn r6955) -Codechange: Change some variable names for _textmessage_box, ↵Darkvater
and replace 5 different global variables with a single struct.
2006-10-27(svn r6954) -Feature: Constrain the drawing of a string inside an editbox to ↵Darkvater
the dimensions of the widget it is in. This allows for typing longer text into an editbox (if maxwidth allows of course) and scroll around properly.
2006-10-27(svn r6953) -Codechange: Change FormatStringLinebreaks in such a way that if ↵Darkvater
no whitespace was seen for the 'current line' of a certain maximum width, the string will be truncated instead of the old behaviour which just left it alone.
2006-10-26(svn r6948) - Codechange: Clear out all NewGRF file data before loading ↵peter1138
files again
2006-10-26(svn r6946) - Fix (r6654): This applies to all vehicle types, not just rail ↵peter1138
vehicles... (mart3p)
2006-10-25(svn r6942) WebTranslator2 update to 2006-10-25 21:34:26miham
bulgarian - 11 fixed, 5 changed by groupsky (16) czech - 4 fixed, 3 changed by Hadez (7) dutch - 1 fixed by habell (1) galician - 22 fixed by Condex (22) italian - 2 changed by sidew (2) swedish - 4 fixed, 2 changed by daishan (6)
2006-10-25(svn r6939) WebTranslator2 update to 2006-10-25 07:48:50miham
american - 3 fixed by WhiteRabbit (3) brazilian_portuguese - 3 fixed by tucalipe (3) bulgarian - 7 fixed, 2 changed by groupsky (9) catalan - 1 fixed by arnaullv (1) dutch - 3 fixed by webfreakz (3) estonian - 3 fixed by vermon (3) french - 4 fixed by glx (4) galician - 46 fixed, 4 changed by Condex (50) german - 5 fixed, 2 changed by Neonox (5), chu (2) italian - 4 fixed, 3 changed by sidew (7)
2006-10-24(svn r6938) -Codechange: Comments, typo, variable naming, whitespace, ↵Darkvater
strecpy and simplification of order_gui (only disable a single widget if not local player, all others aren't visible anyways).
2006-10-24(svn r6937) -Codechange: Add an InitializeTextBuffer() function that handles ↵Darkvater
setting up the textbuffer instead of typing it out each and every time.
2006-10-24(svn r6935) -Fix up the languages changed in r6931Darkvater
2006-10-24(svn r6934) -Cleanup: Some minor cleanup for network_client and removing ↵Darkvater
'stupid' comment
2006-10-24(svn r6933) -Feature: Allow spectators to speak to eachother (team)Darkvater
2006-10-24(svn r6932) -Codechange: Send server messages with format ↵Darkvater
NETWORK_ACTION_SERVER_MESSAGE so it is general colour like the rest of the server messages. Spectators speak in grey.
2006-10-24(svn r6931) -Codechange: Change textmessage format a bit. Only the sender's ↵Darkvater
name and target are in the sender's colour, the actual message is in white. Should improve readability.
2006-10-24(svn r6930) -Codechange: Move industry name into IndustrySpecbelugas
-Codechange: member color_map is more related to random color, rename it as such
2006-10-24(svn r6928) WebTranslator2 update to 2006-10-24 18:38:04miham
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(svn r6927) -Codechange: No need to explicitly cast a boolean to a boolean ↵Darkvater
and move draw_default goto outside of switch statement.
2006-10-24(svn r6926) -Codechange: Rename WWT_4 to WWT_TEXTBTN_2 and WWT_6 to ↵Darkvater
WWT_INSET (credits to peter1138 for the aptly found name) -Codechange: Remove the explicit numbering from WindowWidgetTypes
2006-10-24(svn r6925) -Codechange: Be more strict with widget distinctions. WWT_PANEL ↵Darkvater
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(svn r6924) -Codechange: Give the last (in the widget arrays at least) ↵Darkvater
sprites meaningful names.
2006-10-24(svn r6923) -Codechange: Load nsignalsw.grf in the same way as other ↵Darkvater
mandatory additional grfs
2006-10-24(svn r6922) -Feature: Add proper cloning sprites and cursors, different for ↵Darkvater
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(svn r6921) - PEBKAC: Add an MD5 sum check of our own data files, and warn ↵peter1138
if they don't match.
2006-10-24(svn r6920) - Codechange: Ignore refit options of an engine if it has no ↵peter1138
capacity.
2006-10-23(svn r6912) - Feature: Show a list of cargo types that a vehicle is ↵peter1138
refittable to in the purchase information window. (mart3p)
2006-10-23(svn r6911) - Codechange: Add extra space to all purchase windows (and the ↵peter1138
replace window) to allow room for more text. (mart3p)
2006-10-23(svn r6910) - Codechange: Supply width of area when drawing purchase info ↵peter1138
instead of using hardcoded values. (mart3p)
2006-10-23(svn r6909) - Codechange: Base the decision to draw rail engine or wagon ↵peter1138
purchase information on the rail vehicle type, not an arbitrary value.
2006-10-23(svn r6908) - Codechange: Modify DrawStringMultiLine() to return the number ↵peter1138
of pixel lines used, and use it for drawing NewGRF additional text (mart3p)
2006-10-23(svn r6907) WebTranslator2 update to 2006-10-23 19:56:02miham
danish - 19 changed by ThomasA (19) hungarian - 5 changed by miham (5)
2006-10-23(svn r6906) - Fix [FS#370]: Clear 'large plane' flag if 'helicopter' flag is ↵peter1138
set. (mart3p)
2006-10-23(svn r6905) - Codechange: Copy cargo subtype when cloning vehicles.peter1138
2006-10-23(svn r6904) -CodeChange : Cleanup of industry_cmd (Step-5).belugas
Add member life_type to IndustrySpec and remove the now useless _industry_close_mode array
2006-10-23(svn r6901) WebTranslator2 update to 2006-10-23 10:28:46miham
bulgarian - 6 fixed by kokobongo (6) estonian - 46 deleted, 3 changed by kristjans (49)
2006-10-22(svn r6898) -Fix: lowercase Error/Warning/Fatal for strgen and remove static ↵Darkvater
on error() so strgen can compile with anal strecpy() :)
2006-10-22(svn r6897) - Fix (r6884): Another wrong last parametr :)peter1138
2006-10-22(svn r6896) - Fix (r6895): Supply last position of the correct buffer *again*peter1138
2006-10-22(svn r6895) - Fix (r6884): Add 'last' parameter to the town name generators.peter1138
2006-10-22(svn r6894) - Codechange: Lower the verbosity level of some NewGRF warningspeter1138
2006-10-22(svn r6893) WebTranslator2 update to 2006-10-22 07:37:19miham
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(svn r6890) - Fix (r6884): Supply last position of the correct buffer...peter1138
2006-10-21(svn r6888) - Fix (r6884): Missed a couple of strecpy()s in newgrf text handlingpeter1138
2006-10-21(svn r6886) -Be anal for the time being about string-wannabe-buffer-overflowsDarkvater