Commit Graph

222 Commits (afada70bac8e40e87006f7c526feeaabc2feb953)

Author SHA1 Message Date
rubidium afada70bac (svn r16182) -Fix: hardcoded (old sized) MAX_COMPANIES constant 15 years ago
rubidium 53887e07bb (svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for DrawString. 15 years ago
rubidium 11c6d30e77 (svn r16156) -Codechange: make the parameters of DrawStringMultiline the same as for DrawString (except the addition of the bottom parameter) 15 years ago
rubidium 59d45a04d6 (svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible. 15 years ago
rubidium 329cabab4f (svn r16088) -Codechange: merge HighLightStyle and ViewportHighlightMode as they are basically the same thing 15 years ago
alberth e5ab73e762 (svn r16033) -Codechange: Added nested widgets to about window, land-info window, and both query windows. 15 years ago
alberth 23f0277526 (svn r16032) -Codechange: Completing widget numbers of query windows. 15 years ago
rubidium bee930f9b3 (svn r16024) -Codechange: harden string copying on places where it's possible 15 years ago
glx e4a90f9688 (svn r15907) -Fix (r15841): some strings in save/load dialog were drawn with a 2 pixel offset 15 years ago
alberth 9d2738b9c4 (svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() callback 15 years ago
rubidium 4a500bbcdb (svn r15843) -Codechange: with RTL the caret would always be drawn at the end of the textbox. 15 years ago
rubidium 86b97f3127 (svn r15841) -Fix: the saveload window could draw directory partly outside the window 15 years ago
rubidium 57174a9301 (svn r15808) -Codechange: use the new DrawString API in a number of GUIs 15 years ago
rubidium e74dc1e1d6 (svn r15803) -Codechange: use the new text drawing API for multicenter
-Fix (r15800): off-by-one w.r.t. offsets
15 years ago
peter1138 4c02622cae (svn r15801) -Fix (r15797): The new DrawStringMultiLine() now returns the new y position instead of the height, so we don't need to add it on. 15 years ago
rubidium d837fc4d03 (svn r15797) -Codechange: make users of the old DrawStringMultiLine use the new one. 15 years ago
rubidium f11300d1f9 (svn r15794) -Codechange: remove the DoDrawString part of the old text drawing API 15 years ago
rubidium 2d66f8e467 (svn r15787) -Codechange: enumify the land info and about window widgets and use them. 15 years ago
rubidium 45f189fdca (svn r15785) -Codechange: remove the *Truncated part of the old text drawing API. 15 years ago
glx ea2c50281e (svn r15762) -Codechange: inlined utf8 chars are not handled properly on eastern version of windows so escape them 16 years ago
yexo 5e1cad1b1b (svn r15753) -Fix (r15702)[FS#2742]: Crash when clicking the small area between the savegame list and the save button in the save game window. 16 years ago
rubidium f9def73be6 (svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth) 16 years ago
yexo e5204f96f9 (svn r15719) -Update: the credit section. 16 years ago
rubidium 27bcfd115b (svn r15702) -Feature(tte): direct content download 'links' in the play scenario/heightmap windows. 16 years ago
yexo 2b0b9a6367 (svn r15669) -Change: Key presses that are not handles by an input box are no longer marked as handled but given to other OnKeyPress handlers. This makes the global shortcuts like F1 work again when an input box is open. 16 years ago
rubidium 908e850b5a (svn r15605) -Codechange: constify a function 16 years ago
yexo fb7b0536e7 (svn r15584) -Codechange: Move several variables from variables.h to more appropriate headers. 16 years ago
rubidium 1ad50ce4e6 (svn r15578) -Change: unexternalise squirrel. 16 years ago
rubidium d846eef0b6 (svn r15434) -Codechange: bit of type safety for the DC_xxx flags. 16 years ago
rubidium c0a8d09ca7 (svn r15428) -Codechange: consistently use colour instead of having both color and colour. 16 years ago
rubidium 861e9cefb3 (svn r15424) -Codechange: make it possible to have multiple windows with edit box open simultaniously (Zuu). 16 years ago
smatz 0d3f5e6e74 (svn r15299) -Cleanup: remove many redundant includes 16 years ago
belugas 9bb57ec840 (svn r15283) -Documentation: Apply some widget naming to the widget arrays.
-Codechange : use a pointer of the same repetitive reference of a widget, rather than an index in the array.
16 years ago
rubidium 18ed717410 (svn r15273) -Fix: OSK of the chat did not update the caret graphics 16 years ago
Yexo 8b04787d09 (svn r15151) -Fix: tile 0 can now be highlighted as error tile 16 years ago
rubidium b1a33a494f (svn r15104) -Codechange: unify the resolving of the xyz kbytes/megabytes strings. 16 years ago
rubidium cda853872a (svn r14944) -Cleanup: add spaces around some operators 16 years ago
glx c7959ce2a9 (svn r14840) -Cleanup: remove duplicate includes 16 years ago
smatz 7368c740a6 (svn r14828) -Codechange: move most of save/load-specific code to separate files 16 years ago
rubidium fad3519d4f (svn r14820) -Codechange: use (the correct) enum-type instead of just int (Zuu) 16 years ago
rubidium e5c1a7b5c3 (svn r14804) -Codechange: unify opening the OSK (Zuu) 16 years ago
rubidium 3a0d966ae4 (svn r14790) -Codechange: unify generation of default savegame/screenshot names (PhilSophus) 16 years ago
rubidium 87e5a8b52b (svn r14754) -Codechange: get rid of _cmd_text and just pass it as (optional) parameter. 16 years ago
rubidium b8d82cc28c (svn r14752) -Fix [FS#2438]: revenue when clearing land would show up in red in the land info window as negative cost. 16 years ago
rubidium 1599ade7ca (svn r14679) -Fix [FS#2431]: opening the OSK on the chatbox did disable map scrolling (with keyboard) until another window with editbox was opened and closed. Just "refcount" the open edit boxes instead of setting/clearing a bit when opening/closing a window. 16 years ago
skidd13 706dd0f86c (svn r14555) -Codechange: replace ttd_strlcat and ttd_strlcpy with strecat and strecpy where direct conversion is possible 16 years ago
glx a6bfd7f15b (svn r14534) -Codechange [FS#2382]: Enumify magic return values of HandleEditBox function (Zuu) 16 years ago
smatz c10f7db576 (svn r14514) -Codechange: use 'size' instead of 'length' for querystring and textbuf, explicitly say it includes the terminating zero
-Fix: one couldn't rename things with too long default/automatic name
-Fix: buffer overflow in console when too long (1024 bytes) command was entered
16 years ago
rubidium b650a86e58 (svn r14422) -Codechange: also reflect the changes of r14421 in the filenames. 16 years ago
rubidium 3b798599b6 (svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with. 16 years ago