Commit Graph

298 Commits (0fa6870eca6a0a9fcd5b5802a25bfbf8af44cd37)

Author SHA1 Message Date
rubidium 5e40d05c51 (svn r17216) -Update: MiniLZO from 1.08 to 2.03. 15 years ago
rubidium 6174908dff (svn r17210) -Update: credits to reflect the (current) truth a bit better 15 years ago
rubidium d61be2637e (svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives 15 years ago
rubidium 5bb7b8ad35 (svn r17062) -Change: unify the naming of some 125 strings 15 years ago
rubidium 39e6dbd5e3 (svn r16886) -Codechange: unify naming of some string IDs related to string codes and group them logically 15 years ago
smatz 8718babe90 (svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get() 15 years ago
yexo bd8f92d3ff (svn r16789) -Codechange: unify the drawing of the Accepts/Supplies cargo lists in the station build windows. 15 years ago
frosch 523cde0798 (svn r16678) -Codechange: Turn CargoArray into a class, so one does not have to deal with sizeof() wrt. typedef-ed arrays. 15 years ago
alberth c52fe937d5 (svn r16677) -Codechange: Dimension width and height are unsigned. 15 years ago
frosch 4c3f480f92 (svn r16676) -Codechange: Rename AcceptedCargo to CargoArray and its instances to more meaningful names. 15 years ago
smatz 5d301445a2 (svn r16659) -Codechange: rename GetAcceptedCargo() to AddAcceptedCargo() and change its behaviour accordingly
-Codechange: remove dummy GetAcceptedCargo_*() handlers
15 years ago
alberth cbf2d24ebb (svn r16516) -Codechange: Added click and drag handling for nested widgets. 15 years ago
alberth dd43a1b97f (svn r16489) -Fix [FS#2937] (r16258): Do not resize a widget twice (erikjanp) 15 years ago
alberth feaaf78a63 (svn r16463) -Cleanup: Code style fixes. 15 years ago
frosch 6e06e82bc4 (svn r16414) -Change: Make it harder to ignore/close important error messages. Esp. do not close them automatically after some time. 15 years ago
smatz 50624d5c0f (svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation time, binary size and run time (with asserts disabled) should be improved 15 years ago
smatz 53ae829b0b (svn r16359) -Codechange: don't abuse company 0 when determining 'cost to clear land' in the LandInfoWindow 15 years ago
smatz 0c10daa243 (svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index) 15 years ago
smatz d495dc5dbc (svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index) 15 years ago
alberth 20dab97717 (svn r16259) -Codechange: Added nested widgets to the load and save dialogue windows. 15 years ago
alberth 904e5dc1d3 (svn r16258) -Codechange: Remove panel with negative height and some small adjustments in the load/save dialogue windows. 15 years ago
alberth 92f7cc590d (svn r16257) -Codechange: Added empty widgets in load dialogue to move the resize box to the right place in the array. 15 years ago
alberth ba0cf5ae1b (svn r16256) -Codechange: Moved load/save dialogue widget numbers outside the window struct. 15 years ago
rubidium 241af768f0 (svn r16242) -Codechange: rework pausing
-Fix [FS#2864]: autopause and manual pausing conflict with eachother
-Fix: new game + pause on new game + autopause make the game not unpause on the first join
15 years ago
alberth a3abbfc204 (svn r16227) -Codechange: Added nested widgets for error windows, tooltip window, and dropdown window. 15 years ago
rubidium f5335b6aaa (svn r16183) -Fix [FS#2872]: wrong string alignment for error messages with face 15 years ago
rubidium 4a0301cf29 (svn r16182) -Fix: hardcoded (old sized) MAX_COMPANIES constant 15 years ago
rubidium 650cb3694e (svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for DrawString. 15 years ago
rubidium dd2661bbbd (svn r16156) -Codechange: make the parameters of DrawStringMultiline the same as for DrawString (except the addition of the bottom parameter) 15 years ago
rubidium 5c5b357043 (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 e88cb7f70f (svn r16088) -Codechange: merge HighLightStyle and ViewportHighlightMode as they are basically the same thing 15 years ago
alberth 4f5bd05db6 (svn r16033) -Codechange: Added nested widgets to about window, land-info window, and both query windows. 15 years ago
alberth 730c6b4e6c (svn r16032) -Codechange: Completing widget numbers of query windows. 15 years ago
rubidium 11e2ca71e6 (svn r16024) -Codechange: harden string copying on places where it's possible 15 years ago
glx 13b6aaa425 (svn r15907) -Fix (r15841): some strings in save/load dialog were drawn with a 2 pixel offset 15 years ago
alberth bbd546b792 (svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() callback 15 years ago
rubidium bce8a0a4fe (svn r15843) -Codechange: with RTL the caret would always be drawn at the end of the textbox. 15 years ago
rubidium cfae23076d (svn r15841) -Fix: the saveload window could draw directory partly outside the window 15 years ago
rubidium 12f1abbce0 (svn r15808) -Codechange: use the new DrawString API in a number of GUIs 15 years ago
rubidium 31a5457c03 (svn r15803) -Codechange: use the new text drawing API for multicenter
-Fix (r15800): off-by-one w.r.t. offsets
15 years ago
peter1138 82a535085d (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 dcd5ad8b19 (svn r15797) -Codechange: make users of the old DrawStringMultiLine use the new one. 15 years ago
rubidium a1088869f5 (svn r15794) -Codechange: remove the DoDrawString part of the old text drawing API 15 years ago
rubidium fa6e82adfa (svn r15787) -Codechange: enumify the land info and about window widgets and use them. 15 years ago
rubidium c1aabd9842 (svn r15785) -Codechange: remove the *Truncated part of the old text drawing API. 15 years ago
glx 6d9b2ac76a (svn r15762) -Codechange: inlined utf8 chars are not handled properly on eastern version of windows so escape them 15 years ago
yexo 6c6e1cccb1 (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. 15 years ago
rubidium 7f468dc142 (svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth) 16 years ago
yexo af5c6f7996 (svn r15719) -Update: the credit section. 16 years ago
rubidium 0bb1fd18ad (svn r15702) -Feature(tte): direct content download 'links' in the play scenario/heightmap windows. 16 years ago
yexo fbe159ab9e (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 9e3449ecc9 (svn r15605) -Codechange: constify a function 16 years ago
yexo b8601d903d (svn r15584) -Codechange: Move several variables from variables.h to more appropriate headers. 16 years ago
rubidium a9dd6dc2f5 (svn r15578) -Change: unexternalise squirrel. 16 years ago
rubidium 5c8cf85613 (svn r15434) -Codechange: bit of type safety for the DC_xxx flags. 16 years ago
rubidium 89e1afdaa0 (svn r15428) -Codechange: consistently use colour instead of having both color and colour. 16 years ago
rubidium 5080feba0d (svn r15424) -Codechange: make it possible to have multiple windows with edit box open simultaniously (Zuu). 16 years ago
smatz 9021c20b5e (svn r15299) -Cleanup: remove many redundant includes 16 years ago
belugas 6891d8f2e8 (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 7668633f92 (svn r15273) -Fix: OSK of the chat did not update the caret graphics 16 years ago
Yexo bc5c4a2ae2 (svn r15151) -Fix: tile 0 can now be highlighted as error tile 16 years ago
rubidium eff693d2e9 (svn r15104) -Codechange: unify the resolving of the xyz kbytes/megabytes strings. 16 years ago
rubidium c0e7434f38 (svn r14944) -Cleanup: add spaces around some operators 16 years ago
glx c61674221c (svn r14840) -Cleanup: remove duplicate includes 16 years ago
smatz 91233ea596 (svn r14828) -Codechange: move most of save/load-specific code to separate files 16 years ago
rubidium c27460e29c (svn r14820) -Codechange: use (the correct) enum-type instead of just int (Zuu) 16 years ago
rubidium 72d89337ee (svn r14804) -Codechange: unify opening the OSK (Zuu) 16 years ago
rubidium 741f0a86fe (svn r14790) -Codechange: unify generation of default savegame/screenshot names (PhilSophus) 16 years ago
rubidium e83cca7d13 (svn r14754) -Codechange: get rid of _cmd_text and just pass it as (optional) parameter. 16 years ago
rubidium f183e1c6cf (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 94a5f66427 (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 9b282b3e51 (svn r14555) -Codechange: replace ttd_strlcat and ttd_strlcpy with strecat and strecpy where direct conversion is possible 16 years ago
glx 48a047d73b (svn r14534) -Codechange [FS#2382]: Enumify magic return values of HandleEditBox function (Zuu) 16 years ago
smatz bc1d994f6c (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 e589c7e580 (svn r14422) -Codechange: also reflect the changes of r14421 in the filenames. 16 years ago
rubidium f56e630e5c (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
rubidium 5ab74534da (svn r14414) -Fix: replace instances of strncpy with strecpy as strncpy doesn't guarantee the resulting string is '\0'-terminated. 16 years ago
rubidium 7935517470 (svn r14371) -Fix [FS#2313]: loading indicator didn't stay with the front engine when turning a train in a station. 16 years ago
smatz e543181b12 (svn r14334) -Feature: ability to reset name to default/automatic value (for vehicles, engines, towns, groups, stations, waypoints, managers and companies) 16 years ago
smatz ffa39caf3d (svn r14331) -Codechange: use an enum as additional parameter for ShowQueryString() 16 years ago
rubidium a20b833516 (svn r14199) -Codechange: split fileio.h into fileio_type.h and fileio_func.h so not everything that includes saveload.h needs to include everything else too. 16 years ago
belugas e4e3259433 (svn r14099) -Codechange: Welcome back, Celestar.
While at it, an alphabetic error been fixed
16 years ago
rubidium a7d3d86f55 (svn r14069) -Fix: silence MSVC 64-bits compile warnings. 16 years ago
rubidium 122f029b93 (svn r14046) -Codechange: make the size of querystring "widgets" more configurable. 16 years ago
rubidium fc47ae96c4 (svn r13932) -Add [YAPP]: PBS signals added to the map array. The signals are drawn using the old Patch-like PBS sprites. (michi_cc) 16 years ago
frosch 196268b7ff (svn r13922) -Codechange: Move measurement-tooltip related stuff out of the general tooltip window. 16 years ago
belugas 195f40b123 (svn r13888) -Codechange: Replace numbers with Colours enum on miscellaneous guis. 16 years ago
smatz abea03fb89 (svn r13830) -Feature: show additional NewGRF info in the Tile Info window for stations, houses and industries 16 years ago
smatz 9943ac2942 (svn r13826) -Codechange: use 'INVALID_DATE' instead of '0' as placeholder in tile description 16 years ago
smatz a49260b0da (svn r13800) -Codechange: minor comment style fixes in misc_gui.cpp 16 years ago
smatz 766e57df5f (svn r13787) -Codechange: resize the red error message box if needed 16 years ago
rubidium cde65455ac (svn r13731) -Codechange: make a pool of the array of players. 16 years ago
rubidium 6898a76c5f (svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line with all other structs/classes that are in a pool. 16 years ago
rubidium 5a94972c2d (svn r13715) -Fix [FS#2129]: C-like strings had to be rebound each time they were printed, otherwise the text could change due to the few number of slots that could be used to bind.
-Codechange: remove all BindCString and related functions and replace it by RAW_STRING which prints the C-string raw pointer that is on the 'print stack'.
16 years ago
smatz d4a4075dc6 (svn r13601) -Codechange: resize the Tile Info window when it is needed, make it better readable 16 years ago
skidd13 f1c954e842 (svn r13359) -Codechange: convert _fios_items to a SmallVector
-Cleanup: some reincarnations of _fios_items in the code
16 years ago
rubidium e7a501100a (svn r13325) -Codechange: split the client-side only settings from the settings stored in the savegame so there is no need to have a duplicate copy of it for new games. 16 years ago
rubidium 3716f4814d (svn r13318) -Codechange: move some functions from gui.h/misc_gui.cpp to window_gui.h/window.cpp because they belong there. 16 years ago
smatz 3f000be670 (svn r13310) -Fix: invalidate OSK when parent editbox changes (from keyboard) 16 years ago
peter1138 9a78083c8a (svn r13305) -Fix (r13039): Confirmation window sent both yes and no answers instead of just yes. 16 years ago