Commit Graph

101 Commits (f56e630e5cb839b307f04bf52465c4db4d1ad904)

Author SHA1 Message Date
rubidium f56e630e5c (svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with. 16 years ago
rubidium f49d5057ee (svn r14390) -Codechange: replace magic constants with symbolic constants. 16 years ago
smatz e543181b12 (svn r14334) -Feature: ability to reset name to default/automatic value (for vehicles, engines, towns, groups, stations, waypoints, managers and companies) 16 years ago
smatz ffa39caf3d (svn r14331) -Codechange: use an enum as additional parameter for ShowQueryString() 16 years ago
rubidium 4ea5308d49 (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.
16 years ago
glx 9788ce3757 (svn r14180) -Fix (r8293): close all related vehicle lists when closing a station window (and not only the train list). 16 years ago
rubidium c816cc37fd (svn r14063) -Codechange: replace some "magic" constants with enumified constants. 16 years ago
belugas e8be25baa6 (svn r13900) -Codechange: Replace numbers with Colours enum on settings, smallmaps, stations and signs guis. 16 years ago
rubidium cde65455ac (svn r13731) -Codechange: make a pool of the array of players. 16 years ago
rubidium 6898a76c5f (svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line with all other structs/classes that are in a pool. 16 years ago
rubidium 5a94972c2d (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'.
16 years ago
skidd13 241435226c (svn r13617) -Codechange: calculate the diff in StationWaitingSorter directly 16 years ago
rubidium adabce3d11 (svn r13302) -Fix (r13301): GCC doesn't necessarily like what MSVC likes... 16 years ago
rubidium 33e18c236d (svn r13301) -Fix [FS#1997]: resolve more MSVC 9 x64 warnings. 16 years ago
skidd13 0682b03046 (svn r13299) -Fix (r13286): Stations sort type isn't updated correctly 16 years ago
glx 382c45120b (svn r13292) -Fix (r13285): MSVC warnings 16 years ago
skidd13 831343435c (svn r13286) -Codechange: GUIList Sort returns now if the list sequence has been altered 16 years ago
skidd13 49010369d2 (svn r13285) -Codechange: station sorting uses GUILists Sort() now 16 years ago
skidd13 2094baf537 (svn r13283) -Codechange: convert the inheritance of GUIList in PlayerStationsWindow to a member object 16 years ago
peter1138 781b90ac91 (svn r13266) -Codechange: Use SmallVector in GUIList 16 years ago
peter1138 cfc45e97ab (svn r13225) -Fix (r13041): Missing calls to FindWindowPlacementAndResize() from lots
of windows causing 'two stage' opening effect.
16 years ago
rubidium 162e2e074b (svn r13185) -Codechange: remove everything related to the WindowProc callbacks. 16 years ago
rubidium 3ee2556585 (svn r13165) -Codechange: replace some RebuildXXXList/ResortXXXList+InvalidateWindowXXX with InvalidateWindowXXXData. 16 years ago
rubidium a89b5721a8 (svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming. 16 years ago
smatz dac285a74b (svn r13080) -Fix: warning about unused variable when compiling without asserts 16 years ago
rubidium a7db265bb6 (svn r13069) -Codechange: it is no longer needed to pass a void *data pointer with the WE_CREATE message because nothing uses it anymore. 16 years ago
rubidium d711d21199 (svn r13054) -Codechange: make a class of the PlayerStationsWindow. 16 years ago
rubidium e414ecdbdf (svn r13053) -Codechange: station sorting used it's own implementation of GUIList and the associated enums, now it doesn't anymore. 16 years ago
rubidium 33b830aabe (svn r13048) -Codechange: make a class of the StationViewWindow. 16 years ago
rubidium 2c96ce4506 (svn r13027) -Codechange: use StrEmpty instead of arr[0] == '\0' and remove the need for WE_ON_EDIT_TEXT_CANCEL. 16 years ago
rubidium 92aac531c2 (svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window. 16 years ago
rubidium 9db77e3808 (svn r12976) -Codechange: use w->SetDirty() instead of SetWindowDirty(w) when it's certain that w != NULL. 16 years ago
rubidium 1ce0b03bf0 (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. 16 years ago
peter1138 78c0929b18 (svn r12953) -Feature: Open a new viewport when ctrl-clicking on a 'Location' button, a town/station/industry list, or some news items. 16 years ago
rubidium 081f627018 (svn r12787) -Documentation: add/fix documentation of some functions. Patch by Alberth. 16 years ago
smatz fa4b5b1c18 (svn r12756) -Cleanup: variable scope and coding style in station* 16 years ago
rubidium 1dc0af3248 (svn r12619) -Codechange: lots of documentation about window related stuff. Patch by Alberth. 16 years ago
rubidium 877ca99198 (svn r12495) -Codechange: reduce the dependency on newgrf_station.h (especially because newgrf_station.h includes a lot of stuff). 16 years ago
rubidium c51b81c247 (svn r12489) -Codechange: split station.h into station_base.h and station_func.h. 16 years ago
rubidium 0e73ac2198 (svn r12458) -Codechange: split acquiring the sprite ID for cargos from the actual drawing of them. 16 years ago
peter1138 64979511e3 (svn r12446) -Feature: Add +/- toggle buttons to station cargo waiting list to show/hide the detailed transferred cargo information. 16 years ago
rubidium 1ee5e2e0aa (svn r12393) -Fix [FS#1872]: Vehicle lists related to stations not closed when the station is deleted. 16 years ago
peter1138 befe9fb43f (svn r11990) -Codechange: Show all cargo sources (en-route from) in the station view
cargo waiting list instead of just one. The station view window is now 
resizable to cope with the extra information.
17 years ago
peter1138 04da1e1d45 (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. 17 years ago
peter1138 727d07c67e (svn r11904) -Codechange: use dropdown widget in 3 more windows, build vehicle, group vehicle list and station list. 17 years ago
peter1138 1fa2285327 (svn r11848) -Codechange: New class-based drop down list functionality. Lists are now dynamically generated, and can include parameters, or be extended however needed. 17 years ago
rubidium fafab82a31 (svn r11832) -Codechange: get rid of (quite) some VARDEFs. 17 years ago
rubidium 90acd52f22 (svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h. 17 years ago
rubidium 2fc62eab05 (svn r11818) -Codechange: split player.h into smaller pieces. 17 years ago
rubidium 64d691bacc (svn r11787) -Codechange: more header rewrites. This time related to viewport.h. 17 years ago