Commit Graph

118 Commits (dee172762f92f087e8a4401919525372dafd4e28)

Author SHA1 Message Date
rubidium 104128a145 (svn r17892) -Feature [FS#1760]: automatically select the railtype with the most engines for the autoreplace window/try to avoid showing an empty autoreplace list 15 years ago
rubidium c1365b3cc1 (svn r17853) -Codechange: remove the 'delta' parameter from OnResize; it was used in ways that aren't always wanted, causing bugs and the like. Also with nested widgets most reasons for handling OnResize have gone. 15 years ago
frosch 9259446b76 (svn r17830) -Fix [FS#3276]: Some windows already need their window_number when setting up smallest size (e.g. for DParams). So assign it earlier in Window::InitializeData instead of dealing with each window separately. 15 years ago
alberth 9669ae4869 (svn r17823) -Codechange: Use top of the matrix widget as offset for row calculation in autoreplace window. 15 years ago
frosch 0557a47162 (svn r17803) -Codechange: Remove update_(left|right) in favour of the rebuild flag of GUIList. 15 years ago
alberth 36b28dd48a (svn r17785) -Codechange: autoreplace window uses pure nested widgets. 15 years ago
alberth d2a66d68c5 (svn r17784) -Codechange: Replace 'i' with 'side' when side is intended in the autoreplace window. 15 years ago
alberth 0bc7475032 (svn r17783) -Codechange: Remove local pointer variable 'widget' from autoreplace window. 15 years ago
alberth 735c261633 (svn r17781) -Codechange: Remove local variable 'selected_group' from autoreplace window. 15 years ago
alberth 82a29ef80d (svn r17780) -Codechange: A bit more code style in the autoreplace window. 15 years ago
alberth df39af7be8 (svn r17764) -Codechange: Replace 'list' class variable in ReplacceVehicleWindow by 'engines'. 15 years ago
alberth ab4e195072 (svn r17763) -Codechange: Rename 'wagon_btnstate' to 'replace_engines', and 'init_lists' to 'reset_sel_engine' in ReplaceVehicleWindow, add doxygen comments. 15 years ago
alberth 628f175154 (svn r17761) -Codechange: Removed some unused/unneeded variables from ReplaceVehicleWindow. 15 years ago
smatz 7c74afb1c3 (svn r17692) -Codechange: minor coding style fixes 15 years ago
rubidium 1854c5efec (svn r17530) -Codechange: use QSortT instead of qsort for sorting EngineIDs 15 years ago
rubidium 2e59affde5 (svn r17367) -Codechange: make the autoreplace, bridge and build vehicle GUIs use the scrollbar wrappers 15 years ago
rubidium 99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
rubidium d61be2637e (svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives 15 years ago
alberth fe9f5cbc46 (svn r16845) -Codechange: Introduction of constants for describing the bits in a WWT_MATRIX data field. 15 years ago
rubidium e39646d93b (svn r16841) -Cleanup: spaces/tabs where they don't belong 15 years ago
belugas af54ba7bfc (svn r16611) -Doc Fix(r16606): "then" became "the" and now is gone.
In other words, fix a comment ;)
15 years ago
alberth 484a915ec2 (svn r16606) -Doc: Added/fixed doxygen comments. 15 years ago
yexo 68042a6dde (svn r16433) -Codechange: Remove most of CmdSetAutoreplace and replace it with calls to CmdChangeCompanySetting 15 years ago
smatz d495dc5dbc (svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index) 15 years ago
yexo d489f93473 (svn r16315) -Codechange: move the autorenew settings to a new CompanySettings struct 15 years ago
rubidium 3bd4eeb178 (svn r16162) -Codechange: remove needless TC_ colours from DrawString when they are part of strings and add some colours to a few strings. 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
alberth bbd546b792 (svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() callback 15 years ago
yexo 2965004426 (svn r15870) -Codechange: New widgets for the autoreplace window. 15 years ago
rubidium 64e7ab4025 (svn r15807) -Codechange: let the build vehicle gui helper function pass around left and right instead of only left and assuming infinite width. 15 years ago
alberth fc24b775bb (svn r15802) -Codechange: Complete autoreplace GUI widget numbers and add them as comment 15 years ago
rubidium c1aabd9842 (svn r15785) -Codechange: remove the *Truncated part of the old text drawing API. 15 years ago
rubidium 7f468dc142 (svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth) 16 years ago
rubidium c3e87f345d (svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too 16 years ago
rubidium f3e0fd7416 (svn r15711) -Codechange: lots of whitespace cleanup/fixes 16 years ago
peter1138 519277f980 (svn r15448) -Codechange: Don't show rail types in selection drop downs if they have no label. 16 years ago
rubidium c7f3daacbf (svn r15427) -Codechange: give w->caption_color a more sensible name as it holds the owner of whatever is shown in the window 16 years ago
rubidium 66cb1fe1ff (svn r15423) -Codechange: split widget related types to their own header and add a bit of type strictness. 16 years ago
rubidium 283b3d16ab (svn r15410) -Cleanup: get rid of most of the references to the 'patches' except where it's used for backward compatability. 16 years ago
rubidium 42fe0b65d2 (svn r15338) -Fix [FS#2598]: close all construction related windows whenever changing company. 16 years ago
smatz 9021c20b5e (svn r15299) -Cleanup: remove many redundant includes 16 years ago
rubidium 9e9af7f561 (svn r14989) -Codechange: remove a lookup table by reordering some items in english.txt (Swallow) 16 years ago
rubidium e83cca7d13 (svn r14754) -Codechange: get rid of _cmd_text and just pass it as (optional) parameter. 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
peter1138 6261063689 (svn r14157) -Codechange: Add and use string properties for rail types instead of relying on consecutive string IDs. 16 years ago
frosch 110a9f8fc0 (svn r14037) -Fix (r8610): The autoreplace gui showed vehicle types for replacement which CmdSetAutoReplace() did not accept. 16 years ago
belugas 2767042705 (svn r13887) -Codechange: Replace numbers with Colours enum on autoreplace, build_vehicle, cheat, depot and dock guis.
The fact that it goes alphabetically is pure coincidence.
16 years ago
frosch a3662216ee (svn r13850) -Fix [FS#2146]: Fix resp. implement refitting of articulated vehicles during autoreplace. 16 years ago
frosch 0e91a2f52f (svn r13840) -Fix: Some glitches in the autoreplace GUI. 16 years ago