log src/station_gui.cpp @ 11361:02313cc6114e draft

age author description
Sat, 14 Mar 2009 18:16:29 +0000 rubidium (svn r15711) -Codechange: lots of whitespace cleanup/fixes draft
Mon, 09 Feb 2009 02:33:10 +0000 rubidium (svn r15427) -Codechange: give w->caption_color a more sensible name as it holds the owner of whatever is shown in the window draft
Mon, 09 Feb 2009 01:06:23 +0000 rubidium (svn r15423) -Codechange: split widget related types to their own header and add a bit of type strictness. draft
Sun, 08 Feb 2009 15:45:34 +0000 rubidium (svn r15413) -Fix [FS#2529/2533]: inconsistencies between station and bridge building w.r.t. tile selection and when the window should be closed. draft
Wed, 04 Feb 2009 16:59:41 +0000 rubidium (svn r15338) -Fix [FS#2598]: close all construction related windows whenever changing company. draft
Wed, 04 Feb 2009 16:45:07 +0000 rubidium (svn r15336) -Fix: do not use _current_company in the GUI as there are no guarantees that _current_company is the same as _local_company. draft
Sat, 31 Jan 2009 20:16:06 +0000 smatz (svn r15299) -Cleanup: remove many redundant includes draft
Thu, 29 Jan 2009 02:42:36 +0000 Yexo (svn r15291) -Cleanup: Move the station list widgets to their class from station_gui.h draft
Tue, 13 Jan 2009 19:55:27 +0000 frosch (svn r15072) -Fix (r14919): Distant-join search-area was determined inconsistently. draft
Tue, 13 Jan 2009 18:41:56 +0000 frosch (svn r15069) -Change (r14919): Make distant-join less intelligent but more transparent to the user by always showing the selection window, even if there is only one option to choose from. (PhilSophus) draft
Tue, 13 Jan 2009 17:28:11 +0000 frosch (svn r15065) -Change (r14919): Allow to select a new station location by ctrl-clicking while distant-join window is open. (PhilSophus) draft
Mon, 12 Jan 2009 15:29:40 +0000 frosch (svn r15015) -Fix (r14919): Distant-join always failed for docks. Based on patch by PhilSophus. draft
Sat, 10 Jan 2009 00:31:47 +0000 rubidium (svn r14949) -Cleanup: pointer coding style draft
Thu, 08 Jan 2009 16:35:45 +0000 rubidium (svn r14919) -Feature: distant joining of stations (Frostregen and PhilSophus) draft
Sun, 04 Jan 2009 11:11:11 +0000 rubidium (svn r14822) -Change: save 'build station' settings in the config file, like drag'n'drop and and show coverage area (Rexxars) draft
Fri, 02 Jan 2009 20:59:04 +0000 rubidium (svn r14785) -Fix [FS#2132]: vehicle list for station gets closed when station view is closed even when the vehicle list is stickied. Other vehicle lists are not deleted when their 'opening' window gets closed so do the same with the station view. draft
Sun, 28 Dec 2008 14:37:19 +0000 rubidium (svn r14754) -Codechange: get rid of _cmd_text and just pass it as (optional) parameter. draft
Fri, 26 Dec 2008 18:01:15 +0000 smatz (svn r14743) -Codechange: use INVALID_TILE to indicate station doesn't have queried facility (or station/roadstop is invalid) instead of 0 (Yexo) draft
Tue, 30 Sep 2008 20:51:04 +0000 rubidium (svn r14422) -Codechange: also reflect the changes of r14421 in the filenames. draft
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. draft
Tue, 23 Sep 2008 15:24:15 +0000 rubidium (svn r14390) -Codechange: replace magic constants with symbolic constants. draft
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) draft
Mon, 15 Sep 2008 16:29:40 +0000 smatz (svn r14331) -Codechange: use an enum as additional parameter for ShowQueryString() draft
Sat, 13 Sep 2008 10:04:36 +0000 rubidium (svn r14306) -Codechange: unify the code to draw the vehicle list. draft
Wed, 27 Aug 2008 21:30:20 +0000 glx (svn r14180) -Fix (r8293): close all related vehicle lists when closing a station window (and not only the train list). draft
Wed, 13 Aug 2008 06:05:01 +0000 rubidium (svn r14063) -Codechange: replace some "magic" constants with enumified constants. draft
Thu, 31 Jul 2008 17:45:52 +0000 belugas (svn r13900) -Codechange: Replace numbers with Colours enum on settings, smallmaps, stations and signs guis. draft
Fri, 18 Jul 2008 16:40:29 +0000 rubidium (svn r13731) -Codechange: make a pool of the array of players. draft
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. draft
Thu, 17 Jul 2008 13:47:04 +0000 rubidium (svn r13715) -Fix [FS#2129]: C-like strings had to be rebound each time they were printed, otherwise the text could change due to the few number of slots that could be used to bind. draft
Mon, 23 Jun 2008 22:51:21 +0000 skidd13 (svn r13617) -Codechange: calculate the diff in StationWaitingSorter directly draft
Tue, 27 May 2008 22:02:26 +0000 rubidium (svn r13302) -Fix (r13301): GCC doesn't necessarily like what MSVC likes... draft
Tue, 27 May 2008 21:41:00 +0000 rubidium (svn r13301) -Fix [FS#1997]: resolve more MSVC 9 x64 warnings. draft
Tue, 27 May 2008 20:33:44 +0000 skidd13 (svn r13299) -Fix (r13286): Stations sort type isn't updated correctly draft
Tue, 27 May 2008 16:56:58 +0000 glx (svn r13292) -Fix (r13285): MSVC warnings draft
Tue, 27 May 2008 10:27:30 +0000 skidd13 (svn r13286) -Codechange: GUIList Sort returns now if the list sequence has been altered draft
Tue, 27 May 2008 09:57:29 +0000 skidd13 (svn r13285) -Codechange: station sorting uses GUILists Sort() now draft
Tue, 27 May 2008 09:24:45 +0000 skidd13 (svn r13283) -Codechange: convert the inheritance of GUIList in PlayerStationsWindow to a member object draft
Mon, 26 May 2008 16:23:23 +0000 peter1138 (svn r13266) -Codechange: Use SmallVector in GUIList draft
Fri, 23 May 2008 23:02:13 +0000 peter1138 (svn r13225) -Fix (r13041): Missing calls to FindWindowPlacementAndResize() from lots draft
Mon, 19 May 2008 09:48:47 +0000 rubidium (svn r13185) -Codechange: remove everything related to the WindowProc callbacks. draft
Sun, 18 May 2008 16:51:44 +0000 rubidium (svn r13165) -Codechange: replace some RebuildXXXList/ResortXXXList+InvalidateWindowXXX with InvalidateWindowXXXData. draft
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. draft
Tue, 13 May 2008 22:19:20 +0000 smatz (svn r13080) -Fix: warning about unused variable when compiling without asserts draft
Tue, 13 May 2008 14:43:33 +0000 rubidium (svn r13069) -Codechange: it is no longer needed to pass a void *data pointer with the WE_CREATE message because nothing uses it anymore. draft
Sun, 11 May 2008 18:50:12 +0000 rubidium (svn r13054) -Codechange: make a class of the PlayerStationsWindow. draft
Sun, 11 May 2008 18:32:33 +0000 rubidium (svn r13053) -Codechange: station sorting used it's own implementation of GUIList and the associated enums, now it doesn't anymore. draft
Sun, 11 May 2008 17:24:52 +0000 rubidium (svn r13048) -Codechange: make a class of the StationViewWindow. draft
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. draft
Thu, 08 May 2008 11:50:34 +0000 rubidium (svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window. draft
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. draft
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. draft
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. draft
Sat, 19 Apr 2008 13:05:05 +0000 rubidium (svn r12787) -Documentation: add/fix documentation of some functions. Patch by Alberth. draft
Thu, 17 Apr 2008 20:03:28 +0000 smatz (svn r12756) -Cleanup: variable scope and coding style in station* draft
Mon, 07 Apr 2008 20:28:58 +0000 rubidium (svn r12619) -Codechange: lots of documentation about window related stuff. Patch by Alberth. draft
Mon, 31 Mar 2008 06:42:26 +0000 rubidium (svn r12495) -Codechange: reduce the dependency on newgrf_station.h (especially because newgrf_station.h includes a lot of stuff). draft
Mon, 31 Mar 2008 00:06:17 +0000 rubidium (svn r12489) -Codechange: split station.h into station_base.h and station_func.h. draft
Fri, 28 Mar 2008 04:57:32 +0000 rubidium (svn r12458) -Codechange: split acquiring the sprite ID for cargos from the actual drawing of them. draft
Thu, 27 Mar 2008 15:51:11 +0000 peter1138 (svn r12446) -Feature: Add +/- toggle buttons to station cargo waiting list to show/hide the detailed transferred cargo information. draft
Sat, 22 Mar 2008 16:23:47 +0000 rubidium (svn r12393) -Fix [FS#1872]: Vehicle lists related to stations not closed when the station is deleted. draft
Sat, 26 Jan 2008 22:15:39 +0000 peter1138 (svn r11990) -Codechange: Show all cargo sources (en-route from) in the station view draft
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. draft
Thu, 17 Jan 2008 18:49:39 +0000 peter1138 (svn r11904) -Codechange: use dropdown widget in 3 more windows, build vehicle, group vehicle list and station list. draft
Mon, 14 Jan 2008 16:10:58 +0000 peter1138 (svn r11848) -Codechange: New class-based drop down list functionality. Lists are now dynamically generated, and can include parameters, or be extended however needed. draft
Sun, 13 Jan 2008 13:36:01 +0000 rubidium (svn r11832) -Codechange: get rid of (quite) some VARDEFs. draft
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. draft
Sat, 12 Jan 2008 14:10:35 +0000 rubidium (svn r11818) -Codechange: split player.h into smaller pieces. draft
Wed, 09 Jan 2008 09:45:45 +0000 rubidium (svn r11787) -Codechange: more header rewrites. This time related to viewport.h. draft
Tue, 01 Jan 2008 22:34:00 +0000 peter1138 (svn r11742) -Codechange [FS#1319]: Run window tick events when paused, so that news pop-ups and the about window still progress. For other windows the events are ignored when paused. draft
Thu, 27 Dec 2007 13:35:39 +0000 rubidium (svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes. draft
Wed, 26 Dec 2007 13:50:40 +0000 rubidium (svn r11702) -Codechange: move all date related stuff to date*. draft
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' draft
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. draft
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. draft
Fri, 21 Dec 2007 21:50:46 +0000 rubidium (svn r11677) -Codechange: move price and command related types/functions to their respective places. draft
Fri, 21 Dec 2007 19:49:27 +0000 rubidium (svn r11675) -Codechange: split the string types from the string functions. draft
Wed, 19 Dec 2007 23:35:14 +0000 smatz (svn r11670) -Feature [FS#1565]: list neutral stations where the player has service in the station list too draft
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. draft
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. draft
Sat, 08 Dec 2007 18:50:39 +0000 smatz (svn r11601) -Codechange: more strict break conditions for _userstring, assert when it overflows anyway (eg. code change without proper check change) draft
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. draft
Wed, 05 Dec 2007 17:08:10 +0000 smatz (svn r11576) -Codechange: enumerize and comment station GUI draft
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 draft
Sun, 02 Dec 2007 14:29:48 +0000 rubidium (svn r11555) -Codechange: use the new members introduced in r11551. draft
Tue, 20 Nov 2007 14:11:19 +0000 skidd13 (svn r11485) -Codechange: Remove the doubled function ToggleBitT and rename the remaining to fit with the naming style draft
Tue, 20 Nov 2007 13:35:54 +0000 skidd13 (svn r11484) -Codechange: Remove the doubled function SetBitT and rename the remaining to fit with the naming style draft
Mon, 19 Nov 2007 21:02:30 +0000 skidd13 (svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style draft
Thu, 15 Nov 2007 17:54:46 +0000 rubidium (svn r11437) -Change: when sorting stations by cargo sum, only sum the cargos that are selected in the filter. Patch by divide. draft
Thu, 08 Nov 2007 16:09:04 +0000 belugas (svn r11392) -Codechange: Remove some MSVC warnings by removing boolean typecast that can be avoided by using HASBIT instead. draft
Sun, 04 Nov 2007 00:08:57 +0000 belugas (svn r11374) -Codechange: Give meaning to the magical number that specifies the color of the text in a DrawString call. draft
Sun, 26 Aug 2007 13:55:36 +0000 rubidium (svn r10981) -Fix [FS#1156] (r10970): stations gave ratings for accepted cargo too. draft
Fri, 27 Jul 2007 12:49:04 +0000 rubidium (svn r10704) -Codechange: provide an infrastructure to have resizable windows that are smaller than the default window size. draft
Mon, 25 Jun 2007 13:30:38 +0000 peter1138 (svn r10323) -Codechange: reference company name, number and player (president) name draft
Fri, 22 Jun 2007 11:58:59 +0000 rubidium (svn r10266) -Codechange: keep track of the origin, time of travel and accumulated feeder share (transfers) of individual pieces of cargo. This means that cargo isn't thrown on a big pile when it's put in a station or unloaded at a station, however the GUI does not reflect these changes yet so you will not actually see it. draft
Thu, 21 Jun 2007 14:32:27 +0000 rubidium (svn r10246) -Fix (r10297): some forgotten money conversions and truncation issues. Thanks to benc for providing the patch. draft
Sun, 20 May 2007 09:17:42 +0000 peter1138 (svn r9888) -Codechange: [NewGRF] allow non-spec cargo action2s to work, and using the goods sprite if really nothing is returned. draft
Wed, 04 Apr 2007 01:35:16 +0000 belugas (svn r9556) -Documentation: doxygen and comment-style changes. 'R', 'S'.. The end of the preliminary work is near draft
Fri, 23 Mar 2007 20:55:45 +0000 peter1138 (svn r9418) -Codechange: Implement actions 1/2/3 for cargos, callback handler and custom icon sprites draft
Fri, 23 Mar 2007 20:51:42 +0000 peter1138 (svn r9417) -Fix (r1): Waiting cargo icons in the station view window were incorrectly drawn if the cargo list was scrolled, resulting in overlapping images draft
Wed, 21 Mar 2007 13:19:01 +0000 peter1138 (svn r9388) -Codechange: variable scope and type, and standardify all CargoID loops. draft
Sun, 11 Mar 2007 22:29:37 +0000 peter1138 (svn r9127) -Codechange: Check if a cargo is valid before displaying it in a station's cargo rating list. (And duff up the block a little) draft
Sat, 10 Mar 2007 20:05:31 +0000 KUDr (svn r9104) -Fix(r9080, r9081): UINT32_MAX is undefined on MSVC, std::numeric_limits doesn't exist in gcc 2.95 (MorphOS), so back to tree and use ~0 instead (peter1138) draft
Fri, 09 Mar 2007 23:26:21 +0000 KUDr (svn r9081) -Fix(r9080): UINT32_MAX is undefined on MSVC. Use std::numeric_limits<uint32>::max() instead. draft
Fri, 09 Mar 2007 22:55:57 +0000 peter1138 (svn r9080) -Codechange: dynamically build cargo filter buttons in the station list window. draft
Thu, 08 Mar 2007 19:23:49 +0000 peter1138 (svn r9069) -Codechange: Change a do ... while loop with a for loop. This fixes some warning that I never got anyway... draft
Thu, 08 Mar 2007 16:27:54 +0000 rubidium (svn r9068) -Codechange: capitalize the VEH_Train etc. enums to match the coding style (and rest of the code). draft
Thu, 08 Mar 2007 12:26:31 +0000 celestar (svn r9062) -Fix (r4822, FS#595): The station list, sorted by cargo rating, now takes stations into account that have no cargo waiting (KeeperOfTheSoul). While at it, doxygen the function draft
Wed, 07 Mar 2007 12:11:48 +0000 rubidium (svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {}; draft
Wed, 07 Mar 2007 11:47:46 +0000 rubidium (svn r9050) -Codechange: Foo(void) -> Foo() draft
Sat, 03 Mar 2007 09:40:34 +0000 peter1138 (svn r8988) -Fix: Indenting, variable scope, variable type and minor duffage draft
Fri, 23 Feb 2007 09:56:20 +0000 peter1138 (svn r8858) -Codechange: Replace magic number test with class method for determining if a cargo is valid/active. draft
Tue, 20 Feb 2007 22:09:21 +0000 peter1138 (svn r8826) -Codechange: Replace _cargoc's separate arrays with a regular struct array (with accessor) and implement new initialization method using cargo labels. draft
Thu, 01 Feb 2007 15:49:12 +0000 rubidium (svn r8511) -Codechange: make WindowClass an enumerated value. draft
Sun, 21 Jan 2007 00:01:47 +0000 bjarni (svn r8293) -Codechange: overloaded ShowVehicleListWindow() so it can open all types of vehicle lists (depending on arguments) draft
Sun, 14 Jan 2007 19:57:49 +0000 peter1138 (svn r8128) -Codechange: Split sprite and palette remap into separate 32 bit values. draft
Thu, 11 Jan 2007 17:29:39 +0000 KUDr (svn r8066) - Codechange: MallocT(), CallocT(), ReallocT() now return the pointer to allocated memory instead of modifying the pointer given as parameter draft
Thu, 11 Jan 2007 15:30:35 +0000 celestar (svn r8065) -Feature: The station list does now remember the sort settings draft
Wed, 10 Jan 2007 18:56:51 +0000 rubidium (svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, stillunknown and pv2b. draft
Wed, 10 Jan 2007 18:12:09 +0000 KUDr (svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files renamed to .cpp) draft