Commit Graph

5059 Commits (76736281616fdac9f2017f9054b5b5ca6d26bb9c)
 

Author SHA1 Message Date
Darkvater 6db3e0bf4a (svn r6957) -Cleanup: comments, coding style 18 years ago
Darkvater fce635719a (svn r6956) -Feature: Increase the chatbuffer of chat messages. Messages longer than the allocated
graphical box will be wrapped to a new line.
18 years ago
Darkvater 7a3fb176db (svn r6955) -Codechange: Change some variable names for _textmessage_box, and replace 5 different
global variables with a single struct.
18 years ago
Darkvater f49372feaa (svn r6954) -Feature: Constrain the drawing of a string inside an editbox to 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.
18 years ago
Darkvater e8f8bf829b (svn r6953) -Codechange: Change FormatStringLinebreaks in such a way that if 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.
18 years ago
peter1138 2ba985d6e5 (svn r6948) - Codechange: Clear out all NewGRF file data before loading files again 18 years ago
peter1138 5490f29f81 (svn r6946) - Fix (r6654): This applies to all vehicle types, not just rail vehicles... (mart3p) 18 years ago
miham 23d70c925f (svn r6942) WebTranslator2 update to 2006-10-25 21:34:26
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)
18 years ago
miham e894a28f29 (svn r6939) WebTranslator2 update to 2006-10-25 07:48:50
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)
18 years ago
Darkvater 8c5650b22f (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).
18 years ago
Darkvater c8a176b73f (svn r6937) -Codechange: Add an InitializeTextBuffer() function that handles setting up the
textbuffer instead of typing it out each and every time.
18 years ago
Darkvater 906ca1a217 (svn r6935) -Fix up the languages changed in r6931 18 years ago
Darkvater e8fad6334e (svn r6934) -Cleanup: Some minor cleanup for network_client and removing 'stupid' comment 18 years ago
Darkvater a7c484f1ea (svn r6933) -Feature: Allow spectators to speak to eachother (team) 18 years ago
Darkvater 883d84a93e (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.
18 years ago
Darkvater a28048a4ea (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.
18 years ago
belugas c4ac95efa8 (svn r6930) -Codechange: Move industry name into IndustrySpec
-Codechange: member color_map is more related to random color, rename it as such
18 years ago
miham d58e43a95e (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)
18 years ago
Darkvater cee082d1f8 (svn r6927) -Codechange: No need to explicitly cast a boolean to a boolean and move draw_default
goto outside of switch statement.
18 years ago
Darkvater 02a6df391d (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
18 years ago
Darkvater c7c65ce6d5 (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.
18 years ago
Darkvater 13df23c586 (svn r6924) -Codechange: Give the last (in the widget arrays at least) sprites meaningful names. 18 years ago
Darkvater 2d9fa602d1 (svn r6923) -Codechange: Load nsignalsw.grf in the same way as other mandatory additional grfs 18 years ago
Darkvater bf4c0b6f51 (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.
18 years ago
peter1138 158bbdb440 (svn r6921) - PEBKAC: Add an MD5 sum check of our own data files, and warn if they don't match. 18 years ago
peter1138 e965ac67b3 (svn r6920) - Codechange: Ignore refit options of an engine if it has no capacity. 18 years ago
peter1138 6b3abe6508 (svn r6912) - Feature: Show a list of cargo types that a vehicle is refittable to in the purchase information window. (mart3p) 18 years ago
peter1138 259cad1985 (svn r6911) - Codechange: Add extra space to all purchase windows (and the replace window) to allow room for more text. (mart3p) 18 years ago
peter1138 4c11b5aef5 (svn r6910) - Codechange: Supply width of area when drawing purchase info instead of using hardcoded values. (mart3p) 18 years ago
peter1138 f1b57ead1b (svn r6909) - Codechange: Base the decision to draw rail engine or wagon purchase information on the rail vehicle type, not an arbitrary value. 18 years ago
peter1138 9693ec3afb (svn r6908) - Codechange: Modify DrawStringMultiLine() to return the number of pixel lines used, and use it for drawing NewGRF additional text (mart3p) 18 years ago
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)
18 years ago
peter1138 42f2da1f35 (svn r6906) - Fix [FS#370]: Clear 'large plane' flag if 'helicopter' flag is set. (mart3p) 18 years ago
peter1138 7797301012 (svn r6905) - Codechange: Copy cargo subtype when cloning vehicles. 18 years ago
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
18 years ago
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)
18 years ago
Darkvater c2b326180e (svn r6898) -Fix: lowercase Error/Warning/Fatal for strgen and remove static on error() so strgen
can compile with anal strecpy() :)
18 years ago
peter1138 0c8d63d9c2 (svn r6897) - Fix (r6884): Another wrong last parametr :) 18 years ago
peter1138 751ebde7b4 (svn r6896) - Fix (r6895): Supply last position of the correct buffer *again* 18 years ago
peter1138 961eda2a64 (svn r6895) - Fix (r6884): Add 'last' parameter to the town name generators. 18 years ago
peter1138 114337a1f5 (svn r6894) - Codechange: Lower the verbosity level of some NewGRF warnings 18 years ago
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)
18 years ago
peter1138 5f361a5813 (svn r6890) - Fix (r6884): Supply last position of the correct buffer... 18 years ago
peter1138 0558d2465e (svn r6888) - Fix (r6884): Missed a couple of strecpy()s in newgrf text handling 18 years ago
Darkvater 286cfdc067 (svn r6886) -Be anal for the time being about string-wannabe-buffer-overflows 18 years ago
peter1138 6d95049f75 (svn r6885) - Fix (r1379): List of actions panel in the town authority window went underneath its scrollbar 18 years ago
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.
18 years ago
Darkvater c15e699479 (svn r6882) -Fix r6777: Off by one drawing error for cargo buttons 18 years ago
Darkvater 5e140bd7bc (svn r6881) -Fix r6874: uint > int to remove signedness warning MSVC (peter1138) 18 years ago
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
18 years ago