summaryrefslogtreecommitdiff
path: root/src/town_gui.cpp
AgeCommit message (Collapse)Author
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)
2008-09-30(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.rubidium
2008-09-30(svn r14421) -Codechange: rename all player variables/types to company *or* ↵rubidium
client so it is immediatelly clear which one you are working with.
2008-09-15(svn r14334) -Feature: ability to reset name to default/automatic value (for ↵smatz
vehicles, engines, towns, groups, stations, waypoints, managers and companies)
2008-09-15(svn r14331) -Codechange: use an enum as additional parameter for ↵smatz
ShowQueryString()
2008-08-13(svn r14063) -Codechange: replace some "magic" constants with enumified ↵rubidium
constants.
2008-08-02(svn r13919) -Codechange: Replace numbers with Colours enum on osk(forgot 2 ↵belugas
assignations), statusbar, subsidy, terraform, timetable, toolbar, town, tree and vehicle guis.
2008-07-18(svn r13731) -Codechange: make a pool of the array of players.rubidium
2008-07-17(svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line ↵rubidium
with all other structs/classes that are in a pool.
2008-07-09(svn r13683) -Codechange: privatize a function that is not used outside of ↵belugas
the class who calls it
2008-06-16(svn r13533) -Codechange: Replace direct class member access of GUIList with ↵skidd13
the appropriate function calls
2008-05-29(svn r13325) -Codechange: split the client-side only settings from the ↵rubidium
settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
2008-05-27(svn r13301) -Fix [FS#1997]: resolve more MSVC 9 x64 warnings.rubidium
2008-05-27(svn r13297) -Codechange: Use GUIList for the town directory windowpeter1138