src/town_gui.cpp
Tue, 18 Nov 2008 22:43:59 +0000 smatz (svn r14591) -Fix [FS#2388](r14528): cached nearest town could be invalid after importing older savegame and during town generation
Sat, 25 Oct 2008 13:51:47 +0000 rubidium (svn r14528) -Codechange: cache the closest town for all road tiles instead 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)
Tue, 30 Sep 2008 20:51:04 +0000 rubidium (svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.
Tue, 30 Sep 2008 20:39:50 +0000 rubidium (svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with.
Mon, 15 Sep 2008 19:02:50 +0000 smatz (svn r14334) -Feature: ability to reset name to default/automatic value (for vehicles, engines, towns, groups, stations, waypoints, managers and companies)
Mon, 15 Sep 2008 16:29:40 +0000 smatz (svn r14331) -Codechange: use an enum as additional parameter for ShowQueryString()
Wed, 13 Aug 2008 06:05:01 +0000 rubidium (svn r14063) -Codechange: replace some "magic" constants with enumified constants.
Sat, 02 Aug 2008 02:28:17 +0000 belugas (svn r13919) -Codechange: Replace numbers with Colours enum on osk(forgot 2 assignations), statusbar, subsidy, terraform, timetable, toolbar, town, tree and vehicle guis.
Fri, 18 Jul 2008 16:40:29 +0000 rubidium (svn r13731) -Codechange: make a pool of the array of players.
Thu, 17 Jul 2008 20:13:01 +0000 rubidium (svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line with all other structs/classes that are in a pool.
Wed, 09 Jul 2008 02:18:51 +0000 belugas (svn r13683) -Codechange: privatize a function that is not used outside of the class who calls it
Mon, 16 Jun 2008 17:05:17 +0000 skidd13 (svn r13533) -Codechange: Replace direct class member access of GUIList with the appropriate function calls
Thu, 29 May 2008 15:13:28 +0000 rubidium (svn r13325) -Codechange: split the client-side only settings from the settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
Tue, 27 May 2008 21:41:00 +0000 rubidium (svn r13301) -Fix [FS#1997]: resolve more MSVC 9 x64 warnings.
Tue, 27 May 2008 20:05:36 +0000 peter1138 (svn r13297) -Codechange: Use GUIList for the town directory window
Sun, 25 May 2008 19:17:03 +0000 rubidium (svn r13251) -Codechange: rename _patches to _settings as that is more logic.
Sun, 25 May 2008 15:57:45 +0000 smatz (svn r13244) -Fix: allow only one town directory window to be opened
Sat, 24 May 2008 02:54:47 +0000 belugas (svn r13226) -Feature: Allow to have more than only two airports per town. 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.
Fri, 23 May 2008 23:02:13 +0000 peter1138 (svn r13225) -Fix (r13041): Missing calls to FindWindowPlacementAndResize() from lots
Thu, 22 May 2008 02:13:24 +0000 belugas (svn r13210) -Codechange: make town (previously named t) a private member of the different Town guis and assign it only once, at creation
Thu, 22 May 2008 02:03:05 +0000 belugas (svn r13209) -Codechange: Privatize what should be private.
Mon, 19 May 2008 09:48:47 +0000 rubidium (svn r13185) -Codechange: remove everything related to the WindowProc callbacks.
Mon, 19 May 2008 09:17:26 +0000 peter1138 (svn r13180) -Codechange: make a window class of the TownDirectoryWindow.
Mon, 19 May 2008 01:50:07 +0000 smatz (svn r13176) -Fix (r13153): town window was glitchy while opening
Sun, 18 May 2008 08:13:13 +0000 rubidium (svn r13153) -Codechange: make classes of the TownViewWindow and the ScenarioEditorTownGenerationWindow.
Sat, 17 May 2008 12:48:06 +0000 rubidium (svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming.
Thu, 15 May 2008 22:47:03 +0000 rubidium (svn r13113) -Codechange: make a class of the TownAuthorityWindow.
Sat, 10 May 2008 08:58:52 +0000 rubidium (svn r13027) -Codechange: use StrEmpty instead of arr[0] == '\0' and remove the need for WE_ON_EDIT_TEXT_CANCEL.
Fri, 09 May 2008 09:29:27 +0000 rubidium (svn r13024) -Codechange: do not use WE_MOUSELOOP when WE_TICK suffices, rename WE_4 to something more descriptive and correct some (completely incorrect) comments.
Thu, 08 May 2008 11:50:34 +0000 rubidium (svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window.
Wed, 07 May 2008 13:10:15 +0000 rubidium (svn r12987) -Codechange: split viewport and tile selection.
Tue, 06 May 2008 22:08:18 +0000 rubidium (svn r12976) -Codechange: use w->SetDirty() instead of SetWindowDirty(w) when it's certain that w != NULL.
Tue, 06 May 2008 15:11:33 +0000 rubidium (svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.
Mon, 05 May 2008 11:36:43 +0000 peter1138 (svn r12953) -Feature: Open a new viewport when ctrl-clicking on a 'Location' button, a town/station/industry list, or some news items.
Sat, 19 Apr 2008 13:17:19 +0000 rubidium (svn r12789) -Codechange: rename AssignWindowViewport to InitializeWindowViewport because the viewport is now part of the window struct. Patch by Alberth.
Fri, 18 Apr 2008 04:37:06 +0000 rubidium (svn r12761) -Codechange: lots of minor whitespace coding style fixes around operators.
Wed, 16 Apr 2008 03:05:56 +0000 belugas (svn r12733) -Codechange: Merge two more Widgets arrays (town views ) into one.
Mon, 14 Apr 2008 17:50:15 +0000 belugas (svn r12705) -Codechange: enumification of some more widgets
Mon, 14 Apr 2008 17:06:36 +0000 belugas (svn r12704) -Codechange: code style cleanup, mostly switch case alignment
Sun, 23 Mar 2008 07:35:29 +0000 rubidium (svn r12398) -Codechange [FS#1770]: Move toolbar related code to it's own little neighbourhood. Based on a patch by Dominik.
Sat, 22 Mar 2008 11:27:46 +0000 maedhros (svn r12391) -Feature: Show whether a town is a "city" in the town description title bar.
Sat, 16 Feb 2008 03:12:57 +0000 belugas (svn r12159) -Codechange: Enumify some widget magical numbers
Fri, 18 Jan 2008 10:36:55 +0000 peter1138 (svn r11915) -Codechange: Add a function to draw a sort button's up/down arrow. Arrows are now drawn in a consistent position based on the widget, instead of randomly positioned by pixel.
Sun, 13 Jan 2008 14:37:30 +0000 rubidium (svn r11834) -Codechange: only include settings_type.h if needed.
Sun, 13 Jan 2008 01:21:35 +0000 rubidium (svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h.
Sat, 12 Jan 2008 14:10:35 +0000 rubidium (svn r11818) -Codechange: split player.h into smaller pieces.
Wed, 09 Jan 2008 09:45:45 +0000 rubidium (svn r11787) -Codechange: more header rewrites. This time related to viewport.h.
Tue, 25 Dec 2007 11:26:07 +0000 rubidium (svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h'
Tue, 25 Dec 2007 09:48:53 +0000 rubidium (svn r11691) -Codechange: move+rename helpers.hpp and only include it when it is really needed.
Sat, 22 Dec 2007 23:30:28 +0000 rubidium (svn r11682) -Codechange: move some 'generic' geometry related types into a single file and do not include gfx.h everywhere to get a Point type.
Fri, 21 Dec 2007 21:50:46 +0000 rubidium (svn r11677) -Codechange: move price and command related types/functions to their respective places.
Fri, 21 Dec 2007 19:49:27 +0000 rubidium (svn r11675) -Codechange: split the string types from the string functions.
Wed, 19 Dec 2007 20:45:46 +0000 rubidium (svn r11668) -Codechange: more refactoring aimed at reducing compile time and making it more logic where function definitions can be found.
Wed, 19 Dec 2007 19:44:29 +0000 rubidium (svn r11667) -Codechange: split window.h into a header that defines some 'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps.
Sun, 16 Dec 2007 10:54:08 +0000 rubidium (svn r11643) -Codechange: conform with the coding style for the WP macro uses.
Sat, 08 Dec 2007 15:47:23 +0000 glx (svn r11600) -Cleanup: remove extra out-of-memory checks, since it's now done in *allocT functions.
Mon, 03 Dec 2007 09:19:19 +0000 skidd13 (svn r11564) -Codechange: Increase the usage of the for_each_bit macro and rename it fitting to the naming style
Sun, 02 Dec 2007 14:29:48 +0000 rubidium (svn r11555) -Codechange: use the new members introduced in r11551.
Wed, 28 Nov 2007 21:59:06 +0000 skidd13 (svn r11538) -Codechange: Rewrite GetNthSetBit in a more uncontroversial way and add its documentation
Sat, 24 Nov 2007 10:38:43 +0000 skidd13 (svn r11510) -Codechange: merge the IS_*INSIDE* functions and rename them fitting to the naming style