summaryrefslogtreecommitdiff
path: root/src/town_gui.cpp
AgeCommit message (Collapse)Author
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
2008-05-25(svn r13251) -Codechange: rename _patches to _settings as that is more logic.rubidium
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
2008-05-25(svn r13244) -Fix: allow only one town directory window to be openedsmatz
2008-05-24(svn r13226) -Feature: Allow to have more than only two airports per town. ↵belugas
The number of airports is now controlled by the noise each of them generates, the distance from town's center and how tolerant the town is. Initial concept : TTDPatch (moreairpots), Initial code : Pasky Thanks to BigBB (help coding), Smatz Skidd13 and frosch for bugcatches and advices
2008-05-23(svn r13225) -Fix (r13041): Missing calls to FindWindowPlacementAndResize() ↵peter1138
from lots of windows causing 'two stage' opening effect.
2008-05-22(svn r13210) -Codechange: make town (previously named t) a private member of ↵belugas
the different Town guis and assign it only once, at creation
2008-05-22(svn r13209) -Codechange: Privatize what should be private.belugas
2008-05-19(svn r13185) -Codechange: remove everything related to the WindowProc callbacks.rubidium
2008-05-19(svn r13180) -Codechange: make a window class of the TownDirectoryWindow.peter1138
2008-05-19(svn r13176) -Fix (r13153): town window was glitchy while openingsmatz
2008-05-18(svn r13153) -Codechange: make classes of the TownViewWindow and the ↵rubidium
ScenarioEditorTownGenerationWindow.