summaryrefslogtreecommitdiff
path: root/src/station_gui.cpp
AgeCommit message (Collapse)Author
2008-03-22(svn r12393) -Fix [FS#1872]: Vehicle lists related to stations not closed ↵rubidium
when the station is deleted.
2008-01-26(svn r11990) -Codechange: Show all cargo sources (en-route from) in the ↵peter1138
station view cargo waiting list instead of just one. The station view window is now resizable to cope with the extra information.
2008-01-18(svn r11915) -Codechange: Add a function to draw a sort button's up/down ↵peter1138
arrow. Arrows are now drawn in a consistent position based on the widget, instead of randomly positioned by pixel.
2008-01-17(svn r11904) -Codechange: use dropdown widget in 3 more windows, build ↵peter1138
vehicle, group vehicle list and station list.
2008-01-14(svn r11848) -Codechange: New class-based drop down list functionality. ↵peter1138
Lists are now dynamically generated, and can include parameters, or be extended however needed.
2008-01-13(svn r11832) -Codechange: get rid of (quite) some VARDEFs.rubidium
2008-01-13(svn r11828) -Codechange: include table/* as the last includes and remove an ↵rubidium
unneeded include from openttd.h.
2008-01-12(svn r11818) -Codechange: split player.h into smaller pieces.rubidium
2008-01-09(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.rubidium
2008-01-01(svn r11742) -Codechange [FS#1319]: Run window tick events when paused, so ↵peter1138
that news pop-ups and the about window still progress. For other windows the events are ignored when paused.
2007-12-27(svn r11706) -Codechange: split vehicle.h and remove another bunch of ↵rubidium
useless includes.
2007-12-26(svn r11702) -Codechange: move all date related stuff to date*.rubidium
2007-12-25(svn r11692) -Codechange: move some functions from 'functions.h' to a more ↵rubidium
logical place and remove about 50% of the includes of 'functions.h'
2007-12-25(svn r11691) -Codechange: move+rename helpers.hpp and only include it when ↵rubidium
it is really needed.
2007-12-22(svn r11682) -Codechange: move some 'generic' geometry related types into a ↵rubidium
single file and do not include gfx.h everywhere to get a Point type.
2007-12-21(svn r11677) -Codechange: move price and command related types/functions to ↵rubidium
their respective places.
2007-12-21(svn r11675) -Codechange: split the string types from the string functions.rubidium
2007-12-19(svn r11670) -Feature [FS#1565]: list neutral stations where the player has ↵smatz
service in the station list too
2007-12-19(svn r11668) -Codechange: more refactoring aimed at reducing compile time ↵rubidium
and making it more logic where function definitions can be found.
2007-12-19(svn r11667) -Codechange: split window.h into a header that defines some ↵rubidium
'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps.
2007-12-08(svn r11601) -Codechange: more strict break conditions for _userstring, ↵smatz
assert when it overflows anyway (eg. code change without proper check change)
2007-12-08(svn r11600) -Cleanup: remove extra out-of-memory checks, since it's now ↵glx
done in *allocT functions.
2007-12-05(svn r11576) -Codechange: enumerize and comment station GUIsmatz
2007-12-03(svn r11564) -Codechange: Increase the usage of the for_each_bit macro and ↵skidd13
rename it fitting to the naming style
2007-12-02(svn r11555) -Codechange: use the new members introduced in r11551.rubidium
2007-11-20(svn r11485) -Codechange: Remove the doubled function ToggleBitT and rename ↵skidd13
the remaining to fit with the naming style
2007-11-20(svn r11484) -Codechange: Remove the doubled function SetBitT and rename the ↵skidd13
remaining to fit with the naming style
2007-11-19(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming ↵skidd13
style
2007-11-15(svn r11437) -Change: when sorting stations by cargo sum, only sum the ↵rubidium
cargos that are selected in the filter. Patch by divide.
2007-11-08(svn r11392) -Codechange: Remove some MSVC warnings by removing boolean ↵belugas
typecast that can be avoided by using HASBIT instead. Although the code is old (r2817), it is the recent changes made in macros.h that brough it up.
2007-11-04(svn r11374) -Codechange: Give meaning to the magical number that specifies ↵belugas
the color of the text in a DrawString call. Patch heavily based on BiBB's work (FS#1383)
2007-08-26(svn r10981) -Fix [FS#1156] (r10970): stations gave ratings for accepted ↵rubidium
cargo too.
2007-07-27(svn r10704) -Codechange: provide an infrastructure to have resizable ↵rubidium
windows that are smaller than the default window size.
2007-06-25(svn r10323) -Codechange: reference company name, number and player ↵peter1138
(president) name by index
2007-06-22(svn r10266) -Codechange: keep track of the origin, time of travel and ↵rubidium
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.
2007-06-21(svn r10246) -Fix (r10297): some forgotten money conversions and truncation ↵rubidium
issues. Thanks to benc for providing the patch.
2007-05-20(svn r9888) -Codechange: [NewGRF] allow non-spec cargo action2s to work, and ↵peter1138
using the goods sprite if really nothing is returned.
2007-04-04(svn r9556) -Documentation: doxygen and comment-style changes. 'R', 'S'.. ↵belugas
The end of the preliminary work is near
2007-03-23(svn r9418) -Codechange: Implement actions 1/2/3 for cargos, callback ↵peter1138
handler and custom icon sprites
2007-03-23(svn r9417) -Fix (r1): Waiting cargo icons in the station view window were ↵peter1138
incorrectly drawn if the cargo list was scrolled, resulting in overlapping images
2007-03-21(svn r9388) -Codechange: variable scope and type, and standardify all ↵peter1138
CargoID loops.
2007-03-11(svn r9127) -Codechange: Check if a cargo is valid before displaying it in a ↵peter1138
station's cargo rating list. (And duff up the block a little)
2007-03-10(svn r9104) -Fix(r9080, r9081): UINT32_MAX is undefined on MSVC, ↵KUDr
std::numeric_limits doesn't exist in gcc 2.95 (MorphOS), so back to tree and use ~0 instead (peter1138)
2007-03-09(svn r9081) -Fix(r9080): UINT32_MAX is undefined on MSVC. Use ↵KUDr
std::numeric_limits<uint32>::max() instead.
2007-03-09(svn r9080) -Codechange: dynamically build cargo filter buttons in the ↵peter1138
station list window.
2007-03-08(svn r9069) -Codechange: Change a do ... while loop with a for loop. This ↵peter1138
fixes some warning that I never got anyway...
2007-03-08(svn r9068) -Codechange: capitalize the VEH_Train etc. enums to match the ↵rubidium
coding style (and rest of the code).
2007-03-08(svn r9062) -Fix (r4822, FS#595): The station list, sorted by cargo rating, ↵celestar
now takes stations into account that have no cargo waiting (KeeperOfTheSoul). While at it, doxygen the function
2007-03-07(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};rubidium
2007-03-07(svn r9050) -Codechange: Foo(void) -> Foo()rubidium