summaryrefslogtreecommitdiff
path: root/src/station_gui.cpp
AgeCommit message (Collapse)Author
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
2007-03-03(svn r8988) -Fix: Indenting, variable scope, variable type and minor duffagepeter1138
2007-02-23(svn r8858) -Codechange: Replace magic number test with class method for ↵peter1138
determining if a cargo is valid/active.
2007-02-20(svn r8826) -Codechange: Replace _cargoc's separate arrays with a regular ↵peter1138
struct array (with accessor) and implement new initialization method using cargo labels.
2007-02-01(svn r8511) -Codechange: make WindowClass an enumerated value.rubidium
2007-01-21(svn r8293) -Codechange: overloaded ShowVehicleListWindow() so it can open ↵bjarni
all types of vehicle lists (depending on arguments) - Also removed some unneeded arguments - this also allows removing an if-else cascade in ShowVehicleListWindowLocal()
2007-01-14(svn r8128) -Codechange: Split sprite and palette remap into separate 32 bit ↵peter1138
values. This lets us increase the sprite width from 14 to up to 29 bits, effectively nulling the old sprite limit. Table changes in next commit.
2007-01-11(svn r8066) - Codechange: MallocT(), CallocT(), ReallocT() now return the ↵KUDr
pointer to allocated memory instead of modifying the pointer given as parameter
2007-01-11(svn r8065) -Feature: The station list does now remember the sort settingscelestar
2007-01-10(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, ↵rubidium
stillunknown and pv2b.
2007-01-10(svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files ↵KUDr
renamed to .cpp)