summaryrefslogtreecommitdiff
path: root/src/town_gui.cpp
AgeCommit message (Collapse)Author
2009-07-25(svn r16953) -Codechange: Use SetStringParameters() for simple parameterized ↵alberth
strings.
2009-07-25(svn r16952) -Codechange: Use a label for the world population in the town ↵alberth
directory window.
2009-07-20(svn r16886) -Codechange: unify naming of some string IDs related to string ↵rubidium
codes and group them logically
2009-07-18(svn r16871) -Codechange: Generalize GetWidgetContentSize to ↵alberth
UpdateWidgetSize for better control over widget size and resize steps.
2009-07-16(svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get()smatz
2009-07-16(svn r16842) -Cleanup: add some spaces around a few operatorsrubidium
2009-07-15(svn r16840) -Codechange: Small merge in town directory widget content method.alberth
2009-07-04(svn r16740) -Codechange: Self-sizing widgets in intro screen, town ↵alberth
directory, and found town windows.
2009-07-04(svn r16739) -Codechange: Initialize internal data before computing the widgets.alberth
2009-07-03(svn r16734) -Codechange: Prepare intro, town directory, and found town ↵alberth
windows for more flexible widget contents.
2009-07-03(svn r16733) -Codechange: Move rebuilding and sorting the town list out of ↵alberth
TownDirectoryWindow::OnPaint.
2009-06-28(svn r16689) -Codechange: Allow for rendering of parameterized text of ↵alberth
nested widgets in Window::DrawWidget, adapt intro and town directory windows.
2009-06-28(svn r16688) -Codechange: Some cleanup of intro screen and town directory.alberth
2009-06-10(svn r16558) -Codechange: Switch found-town window to nested widgets.alberth
2009-06-04(svn r16517) -Codechange: Switched intro-screen and town directory window to ↵alberth
nested widget trees.
2009-05-17(svn r16327) -Codechange: replace IsValidPoolItemID(index) by ↵smatz
PoolItem::IsValidID(index)
2009-05-16(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)smatz
2009-04-26(svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for ↵rubidium
DrawString.
2009-04-21(svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had ↵rubidium
this ID' from 'some' strings and replace the string name with something more sensible.
2009-04-19(svn r16088) -Codechange: merge HighLightStyle and ViewportHighlightMode as ↵rubidium
they are basically the same thing
2009-04-12(svn r16049) -Codechange: Added nested widgets to town windows.alberth
2009-04-12(svn r16047) -Codechange: Extracting widget number enums from their window ↵alberth
classes.
2009-04-12(svn r16043) -Codechange: Prepare town-view widgets for nesting.alberth
2009-04-12(svn r16040) -Codechange: Use coordinates from the widget for the town-view ↵alberth
viewport instead of magic constants.
2009-04-12(svn r16039) -Codechange: Completing widget number enums of town windows and ↵alberth
adding them as comment to the widget arrays.
2009-04-12(svn r16036) -Codechange [FS#2825]: Renamed TVW_SHOWAUTORITY to ↵alberth
TVW_SHOWAUTHORITY (bilbo)
2009-03-29(svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() ↵alberth
callback
2009-03-22(svn r15808) -Codechange: use the new DrawString API in a number of GUIsrubidium
2009-03-21(svn r15797) -Codechange: make users of the old DrawStringMultiLine use the ↵rubidium
new one.
2009-03-15(svn r15723) -Codechange: use a constructor for WindowDescs as that makes ↵rubidium
expanding them much easier (Alberth)
2009-03-15(svn r15718) -Cleanup: apply some comment coding style on the rest of the ↵rubidium
sources too
2009-02-23(svn r15559) -Feature: Show required/already-delivered cargo needed for ↵frosch
town-growth in town-view-window. (and only if it is really needed)
2009-02-17(svn r15506) -Codechange: rename ScenarioEditorTownGenerationWindow to ↵smatz
FoundTownWindow
2009-02-16(svn r15505) -Codechange: pass name of new town as parameter to CMD_BUILD_TOWNsmatz
2009-02-09(svn r15425) -Codechange: some color->colour changes and type safety.rubidium
2009-02-05(svn r15357) -Codechange: unify the way buttons are updated in the 'found ↵smatz
town' window
2009-02-05(svn r15356) -Codechange: make PlaceProc_Town and some global variables a ↵smatz
static function/variables of the scenedit window
2009-02-05(svn r15353) -Feature(tte): make it possible to have cities of various sizessmatz
2009-02-05(svn r15352) -Codechange: make the arguments passed around while founding a ↵smatz
town a bit more readable
2009-02-04(svn r15342) -Feature: allow changing town layout in the 'Found new town' windowsmatz
2009-02-04(svn r15336) -Fix: do not use _current_company in the GUI as there are no ↵rubidium
guarantees that _current_company is the same as _local_company.
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-19(svn r15149) -Codechange: GetMaskOfTownActions() is used by a Cmd handler, ↵peter1138
therefore it does not belong in _gui.
2009-01-15(svn r15088) -Fix [FS#2536]: Resize company list in town authority window if ↵peter1138
required.
2009-01-15(svn r15087) -Codechange: Less hardcoding of y positions in town authority ↵peter1138
window.
2009-01-07(svn r14902) -Feature: Advanced setting to keep various building tools ↵frosch
active, which are usually closed after placing an object. (planetmaker)
2009-01-03(svn r14807) -Codechange: use INVALID_TILE instead of 0 to mark invalid ↵smatz
depots, industries, towns and waypoints
2008-12-28(svn r14754) -Codechange: get rid of _cmd_text and just pass it as ↵rubidium
(optional) parameter.
2008-11-18(svn r14591) -Fix [FS#2388](r14528): cached nearest town could be invalid ↵smatz
after importing older savegame and during town generation -Codechange: rewrite parts of code responsible for caching index of nearest town
2008-10-25(svn r14528) -Codechange: cache the closest town for all road tiles instead ↵rubidium
of only roads owned by tiles. This replaces a O(n) search over all towns from the road's tileloop with a O(1) lookup (PhilSophus)