Commit Graph

154 Commits (ae93b5e03fe57a3dad72a443edbe4cc8931b9852)

Author SHA1 Message Date
frosch 040404c5d3 (svn r18005) -Codechange: Convert the Prices struct into an array and an enum. 15 years ago
alberth 5a97b64d73 (svn r17928) -Codechange: ShowErrorMessage() now takes the summary string before the details string.
Gentlemen, swap your string parameters.
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
rubidium b72898c8a3 (svn r17786) -Fix [FS#3265]: graphical glitches (matrices/scrollbars with wrong 'size') upon reiniting windows 15 years ago
rubidium fa1c023da5 (svn r17752) -Fix [FS#3231]: OSK could reset town name to an already used town name for the 'Generate Town' window 15 years ago
rubidium 982b8ee5fc (svn r17693) -Cleanup: remove some unneeded includes 15 years ago
rubidium 72fe81b401 (svn r17654) -Fix [FS#3220] (r17612): the edit box of the town fund window wasn't updated properly (based on patch of Terkhen) 15 years ago
smatz ad2c641bca (svn r17612) -Feature: possibility to choose (randomise or enter custom) town name before its creation (original patch by Terkhen) 15 years ago
smatz a2f43040af (svn r17608) -Codechange: use CmdFoundTown when founding 'Random town' too 15 years ago
smatz 13437a998e (svn r17603) -Codechange: since now, towns are 'founded' instead of 'built' 15 years ago
alberth 93112ceaef (svn r17587) -Codechange: Town authority window uses pure nested widgets. 15 years ago
alberth f568b0c98a (svn r17586) -Codechange: Adding documentation, and replacing some numbers with constants in the town authority window. 15 years ago
alberth ba5e072881 (svn r17582) -Codechange: Move TownActions and _town_action_costs[] to a header file to allow sharing. 15 years ago
alberth d54028fde8 (svn r17572) -Codechange: Use the Window::GetWidget() function to access nested widgets through the nested_array. 15 years ago
rubidium 1be2568438 (svn r17571) -Fix [FS#3213] (r17569): town view didn't show the right town in most of the cases 15 years ago
alberth d3577d3d5d (svn r17569) -Codechange: Town view window runs with nested widgets. 15 years ago
smatz 2b4458da63 (svn r17540) -Codechange: move functionality of PlaceProc_Town() to FoundTownWindow::OnPlaceObject() 15 years ago
alberth a76da0e36a (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 fc193fd902 (svn r17374) -Codechange: make the town and vehicle GUIs use the scrollbar wrappers 15 years ago
smatz f22e1cf9ab (svn r17348) -Fix: don't mix 'sort by' strings used for buttons and dropdowns 15 years ago
rubidium 751dc4ad3d (svn r17323) -Codechange: replace some magic numbers with constants in the town directory. 15 years ago
rubidium ecf50ba58e (svn r17321) -Codechange: minor coding style fixes for the town directory 15 years ago
rubidium d4a98be94a (svn r17271) -Fix: SetFill sometimes used 1/0 when it should be using true/false 15 years ago
rubidium 99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
smatz 073e163b7f (svn r17131) -Codechange: apply coding style to some switch statements 15 years ago
rubidium d61be2637e (svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives 15 years ago
alberth 42714792dc (svn r16953) -Codechange: Use SetStringParameters() for simple parameterized strings. 15 years ago
alberth a8e5d36868 (svn r16952) -Codechange: Use a label for the world population in the town directory window. 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
alberth 543b86307f (svn r16871) -Codechange: Generalize GetWidgetContentSize to UpdateWidgetSize for better control over widget size and resize steps. 15 years ago
smatz 8718babe90 (svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get() 15 years ago
rubidium 34570f4e93 (svn r16842) -Cleanup: add some spaces around a few operators 15 years ago
alberth 4458a1ec32 (svn r16840) -Codechange: Small merge in town directory widget content method. 15 years ago
alberth 43ee12137b (svn r16740) -Codechange: Self-sizing widgets in intro screen, town directory, and found town windows. 15 years ago
alberth 9cfbe11e3a (svn r16739) -Codechange: Initialize internal data before computing the widgets. 15 years ago
alberth 4d577b8cc1 (svn r16734) -Codechange: Prepare intro, town directory, and found town windows for more flexible widget contents. 15 years ago
alberth 14d5eb0427 (svn r16733) -Codechange: Move rebuilding and sorting the town list out of TownDirectoryWindow::OnPaint. 15 years ago
alberth 2509f55d87 (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 0365d15306 (svn r16688) -Codechange: Some cleanup of intro screen and town directory. 15 years ago
alberth 0b66eb938f (svn r16558) -Codechange: Switch found-town window to nested widgets. 15 years ago
alberth e47ca002d2 (svn r16517) -Codechange: Switched intro-screen and town directory window to nested widget trees. 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
rubidium 650cb3694e (svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for DrawString. 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 0f30d27872 (svn r16049) -Codechange: Added nested widgets to town windows. 15 years ago
alberth 26630d4870 (svn r16047) -Codechange: Extracting widget number enums from their window classes. 15 years ago
alberth bc960f7406 (svn r16043) -Codechange: Prepare town-view widgets for nesting. 15 years ago
alberth da83135dd4 (svn r16040) -Codechange: Use coordinates from the widget for the town-view viewport instead of magic constants. 15 years ago