Commit Graph

143 Commits (46cd3ee9449a4024ec09a517f26a677bd8aeff84)

Author SHA1 Message Date
alberth 46cd3ee944 (svn r17586) -Codechange: Adding documentation, and replacing some numbers with constants in the town authority window. 15 years ago
alberth 17a52eb852 (svn r17582) -Codechange: Move TownActions and _town_action_costs[] to a header file to allow sharing. 15 years ago
alberth 116c77c342 (svn r17572) -Codechange: Use the Window::GetWidget() function to access nested widgets through the nested_array. 15 years ago
rubidium 9d7fe9bd86 (svn r17571) -Fix [FS#3213] (r17569): town view didn't show the right town in most of the cases 15 years ago
alberth fa33b92b0f (svn r17569) -Codechange: Town view window runs with nested widgets. 15 years ago
smatz 95dd198053 (svn r17540) -Codechange: move functionality of PlaceProc_Town() to FoundTownWindow::OnPlaceObject() 15 years ago
alberth 9fd22f727f (svn r17423) -Fix [FS#3174]: Show '- None -' with empty town or industry list, and use that text in the size computation as well. 15 years ago
rubidium 900aedf270 (svn r17374) -Codechange: make the town and vehicle GUIs use the scrollbar wrappers 15 years ago
smatz 352d07b1b5 (svn r17348) -Fix: don't mix 'sort by' strings used for buttons and dropdowns 15 years ago
rubidium 0d3ab7c72d (svn r17323) -Codechange: replace some magic numbers with constants in the town directory. 15 years ago
rubidium 0007a599c3 (svn r17321) -Codechange: minor coding style fixes for the town directory 15 years ago
rubidium aca7ba714a (svn r17271) -Fix: SetFill sometimes used 1/0 when it should be using true/false 15 years ago
rubidium 7fbc33dae1 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
smatz e707c82412 (svn r17131) -Codechange: apply coding style to some switch statements 15 years ago
rubidium 1fe3ad3288 (svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives 15 years ago
alberth e3033ee895 (svn r16953) -Codechange: Use SetStringParameters() for simple parameterized strings. 15 years ago
alberth e5bfc5660d (svn r16952) -Codechange: Use a label for the world population in the town directory window. 15 years ago
rubidium e3053660c6 (svn r16886) -Codechange: unify naming of some string IDs related to string codes and group them logically 15 years ago
alberth 36576371c0 (svn r16871) -Codechange: Generalize GetWidgetContentSize to UpdateWidgetSize for better control over widget size and resize steps. 15 years ago
smatz 1f29e38b83 (svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get() 15 years ago
rubidium 594070194f (svn r16842) -Cleanup: add some spaces around a few operators 15 years ago
alberth 6767a59827 (svn r16840) -Codechange: Small merge in town directory widget content method. 15 years ago
alberth d65c6cae54 (svn r16740) -Codechange: Self-sizing widgets in intro screen, town directory, and found town windows. 15 years ago
alberth 2385aeae3c (svn r16739) -Codechange: Initialize internal data before computing the widgets. 15 years ago
alberth 527dd3dcf7 (svn r16734) -Codechange: Prepare intro, town directory, and found town windows for more flexible widget contents. 15 years ago
alberth 50ca187524 (svn r16733) -Codechange: Move rebuilding and sorting the town list out of TownDirectoryWindow::OnPaint. 15 years ago
alberth baab325b54 (svn r16689) -Codechange: Allow for rendering of parameterized text of nested widgets in Window::DrawWidget, adapt intro and town directory windows. 15 years ago
alberth d5a42ee825 (svn r16688) -Codechange: Some cleanup of intro screen and town directory. 15 years ago
alberth bc7e9514d2 (svn r16558) -Codechange: Switch found-town window to nested widgets. 15 years ago
alberth 19ccf6912c (svn r16517) -Codechange: Switched intro-screen and town directory window to nested widget trees. 15 years ago
smatz 871107f529 (svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index) 15 years ago
smatz 6221d74644 (svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index) 15 years ago
rubidium 53887e07bb (svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for DrawString. 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 eaa98482e4 (svn r16049) -Codechange: Added nested widgets to town windows. 15 years ago
alberth 848404eea5 (svn r16047) -Codechange: Extracting widget number enums from their window classes. 15 years ago
alberth f17d6df0a6 (svn r16043) -Codechange: Prepare town-view widgets for nesting. 15 years ago
alberth d0f91fbea2 (svn r16040) -Codechange: Use coordinates from the widget for the town-view viewport instead of magic constants. 15 years ago
alberth 0196f06744 (svn r16039) -Codechange: Completing widget number enums of town windows and adding them as comment to the widget arrays. 15 years ago
alberth e85e8ca4db (svn r16036) -Codechange [FS#2825]: Renamed TVW_SHOWAUTORITY to TVW_SHOWAUTHORITY (bilbo) 15 years ago
alberth 9d2738b9c4 (svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() callback 15 years ago
rubidium 57174a9301 (svn r15808) -Codechange: use the new DrawString API in a number of GUIs 15 years ago
rubidium d837fc4d03 (svn r15797) -Codechange: make users of the old DrawStringMultiLine use the new one. 15 years ago
rubidium f9def73be6 (svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth) 16 years ago
rubidium b25a4f8231 (svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too 16 years ago
frosch a987c7299b (svn r15559) -Feature: Show required/already-delivered cargo needed for town-growth in town-view-window. (and only if it is really needed) 16 years ago
smatz 42747e222c (svn r15506) -Codechange: rename ScenarioEditorTownGenerationWindow to FoundTownWindow 16 years ago
smatz 0878541cf2 (svn r15505) -Codechange: pass name of new town as parameter to CMD_BUILD_TOWN 16 years ago
rubidium 8dae160d0f (svn r15425) -Codechange: some color->colour changes and type safety. 16 years ago