Commit Graph

120 Commits

Author SHA1 Message Date
rubidium 9d018723b7 (svn r15711) -Codechange: lots of whitespace cleanup/fixes 2009-03-14 18:16:29 +00:00
rubidium 90e2465d7d (svn r15427) -Codechange: give w->caption_color a more sensible name as it holds the owner of whatever is shown in the window 2009-02-09 02:33:10 +00:00
rubidium 9907742a0f (svn r15423) -Codechange: split widget related types to their own header and add a bit of type strictness. 2009-02-09 01:06:23 +00:00
rubidium 856f26e35b (svn r15413) -Fix [FS#2529/2533]: inconsistencies between station and bridge building w.r.t. tile selection and when the window should be closed. 2009-02-08 15:45:34 +00:00
rubidium ac7757324e (svn r15338) -Fix [FS#2598]: close all construction related windows whenever changing company. 2009-02-04 16:59:41 +00:00
rubidium 7da743a0dc (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. 2009-02-04 16:45:07 +00:00
smatz 0d3f5e6e74 (svn r15299) -Cleanup: remove many redundant includes 2009-01-31 20:16:06 +00:00
Yexo 0e42a7bac7 (svn r15291) -Cleanup: Move the station list widgets to their class from station_gui.h
-Fix: comment for ReallocT was wrong, the memory is not zeroed.
2009-01-29 02:42:36 +00:00
frosch dab9de2e61 (svn r15072) -Fix (r14919): Distant-join search-area was determined inconsistently. 2009-01-13 19:55:27 +00:00
frosch 9ca1e15f51 (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) 2009-01-13 18:41:56 +00:00
frosch 4780c73224 (svn r15065) -Change (r14919): Allow to select a new station location by ctrl-clicking while distant-join window is open. (PhilSophus) 2009-01-13 17:28:11 +00:00
frosch 9a80c0b1de (svn r15015) -Fix (r14919): Distant-join always failed for docks. Based on patch by PhilSophus. 2009-01-12 15:29:40 +00:00
rubidium 11da45ee55 (svn r14949) -Cleanup: pointer coding style 2009-01-10 00:31:47 +00:00
rubidium c8c61e36bd (svn r14919) -Feature: distant joining of stations (Frostregen and PhilSophus) 2009-01-08 16:35:45 +00:00
rubidium 2a47aaf4a8 (svn r14822) -Change: save 'build station' settings in the config file, like drag'n'drop and and show coverage area (Rexxars) 2009-01-04 11:11:11 +00:00
rubidium b3f2f40db7 (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. 2009-01-02 20:59:04 +00:00
rubidium 87e5a8b52b (svn r14754) -Codechange: get rid of _cmd_text and just pass it as (optional) parameter. 2008-12-28 14:37:19 +00:00
smatz 419f6e099f (svn r14743) -Codechange: use INVALID_TILE to indicate station doesn't have queried facility (or station/roadstop is invalid) instead of 0 (Yexo) 2008-12-26 18:01:15 +00:00
rubidium b650a86e58 (svn r14422) -Codechange: also reflect the changes of r14421 in the filenames. 2008-09-30 20:51:04 +00:00
rubidium 3b798599b6 (svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with. 2008-09-30 20:39:50 +00:00
rubidium 6a931d67cd (svn r14390) -Codechange: replace magic constants with symbolic constants. 2008-09-23 15:24:15 +00:00
smatz 1266b1a73f (svn r14334) -Feature: ability to reset name to default/automatic value (for vehicles, engines, towns, groups, stations, waypoints, managers and companies) 2008-09-15 19:02:50 +00:00
smatz 606f4defdc (svn r14331) -Codechange: use an enum as additional parameter for ShowQueryString() 2008-09-15 16:29:40 +00:00
rubidium fc62d736f7 (svn r14306) -Codechange: unify the code to draw the vehicle list.
-Fix [FS#2292]: inconsistency between drawn vehicle lists in the vehicle list and group windows.
2008-09-13 10:04:36 +00:00
glx e598fa4701 (svn r14180) -Fix (r8293): close all related vehicle lists when closing a station window (and not only the train list). 2008-08-27 21:30:20 +00:00
rubidium 97c184f8f8 (svn r14063) -Codechange: replace some "magic" constants with enumified constants. 2008-08-13 06:05:01 +00:00
belugas 10f450e2d4 (svn r13900) -Codechange: Replace numbers with Colours enum on settings, smallmaps, stations and signs guis. 2008-07-31 17:45:52 +00:00
rubidium 3a799389eb (svn r13731) -Codechange: make a pool of the array of players. 2008-07-18 16:40:29 +00:00
rubidium d06529ef4d (svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line with all other structs/classes that are in a pool. 2008-07-17 20:13:01 +00:00
rubidium ab234cf90c (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.
-Codechange: remove all BindCString and related functions and replace it by RAW_STRING which prints the C-string raw pointer that is on the 'print stack'.
2008-07-17 13:47:04 +00:00
skidd13 6e1dd7f719 (svn r13617) -Codechange: calculate the diff in StationWaitingSorter directly 2008-06-23 22:51:21 +00:00
rubidium 14d8aacebb (svn r13302) -Fix (r13301): GCC doesn't necessarily like what MSVC likes... 2008-05-27 22:02:26 +00:00
rubidium 5c5ee7eb57 (svn r13301) -Fix [FS#1997]: resolve more MSVC 9 x64 warnings. 2008-05-27 21:41:00 +00:00
skidd13 49a0bd7f90 (svn r13299) -Fix (r13286): Stations sort type isn't updated correctly 2008-05-27 20:33:44 +00:00
glx 20f2bc3138 (svn r13292) -Fix (r13285): MSVC warnings 2008-05-27 16:56:58 +00:00
skidd13 6d46851b61 (svn r13286) -Codechange: GUIList Sort returns now if the list sequence has been altered 2008-05-27 10:27:30 +00:00
skidd13 e42690b381 (svn r13285) -Codechange: station sorting uses GUILists Sort() now 2008-05-27 09:57:29 +00:00
skidd13 825f8266e2 (svn r13283) -Codechange: convert the inheritance of GUIList in PlayerStationsWindow to a member object 2008-05-27 09:24:45 +00:00
peter1138 02b5ffa13f (svn r13266) -Codechange: Use SmallVector in GUIList 2008-05-26 16:23:23 +00:00
peter1138 6f233b1f8f (svn r13225) -Fix (r13041): Missing calls to FindWindowPlacementAndResize() from lots
of windows causing 'two stage' opening effect.
2008-05-23 23:02:13 +00:00
rubidium 27c38052b7 (svn r13185) -Codechange: remove everything related to the WindowProc callbacks. 2008-05-19 09:48:47 +00:00
rubidium 9defec7876 (svn r13165) -Codechange: replace some RebuildXXXList/ResortXXXList+InvalidateWindowXXX with InvalidateWindowXXXData. 2008-05-18 16:51:44 +00:00
rubidium 8b54212900 (svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming. 2008-05-17 12:48:06 +00:00
smatz 311f2482fa (svn r13080) -Fix: warning about unused variable when compiling without asserts 2008-05-13 22:19:20 +00:00
rubidium dddfaaac7d (svn r13069) -Codechange: it is no longer needed to pass a void *data pointer with the WE_CREATE message because nothing uses it anymore. 2008-05-13 14:43:33 +00:00
rubidium 526d5de867 (svn r13054) -Codechange: make a class of the PlayerStationsWindow. 2008-05-11 18:50:12 +00:00
rubidium 4a809a692c (svn r13053) -Codechange: station sorting used it's own implementation of GUIList and the associated enums, now it doesn't anymore. 2008-05-11 18:32:33 +00:00
rubidium 1be2847668 (svn r13048) -Codechange: make a class of the StationViewWindow. 2008-05-11 17:24:52 +00:00
rubidium f23026cce8 (svn r13027) -Codechange: use StrEmpty instead of arr[0] == '\0' and remove the need for WE_ON_EDIT_TEXT_CANCEL. 2008-05-10 08:58:52 +00:00
rubidium 23fc96c3e8 (svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window. 2008-05-08 11:50:34 +00:00