summaryrefslogtreecommitdiff
path: root/src/newgrf_station.cpp
AgeCommit message (Collapse)Author
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-19(svn r11475) -Codechange: rename clamp and clampu to Clamp and ClampU to fit ↵skidd13
with the coding style
2007-09-26(svn r11173) -Codechange: rename some callback enums so they are more uniform.rubidium
2007-08-26(svn r10981) -Fix [FS#1156] (r10970): stations gave ratings for accepted ↵rubidium
cargo too.
2007-07-25(svn r10690) -Codechange: use the enum that describes all callback IDs in ↵rubidium
favor of "just" using an untyped integer.
2007-07-16(svn r10601) -Codechange: store (and use) the type of stations instead of ↵rubidium
hardcoding station types by graphics IDs.
2007-07-11(svn r10509) -Codechange: cache expensive newgrf station variables during peter1138
sprite lookups/callbacks.
2007-07-07(svn r10470) -Fix: clamp station build date to 16 bit value for newgrf, ↵peter1138
preventing overflow and incorrect graphics shown past a certain date.
2007-07-04(svn r10431) -Codechange: constness on static arraypeter1138
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-11(svn r10089) -Fix (r10040): Use GetTileZ instead of GetClearGround in ↵maedhros
GetTerrainType as GetTileZ is valid for any tile type. Also use GetTerrainType for stations.
2007-05-24(svn r9914) -Codechange: prepare GTTS and the pathfinders to handle multiple ↵rubidium
road types on a single tile.
2007-04-17(svn r9662) -Documentation: Doxygen corrections and @file omissionsbelugas
2007-04-13(svn r9620) -Codechange: apply cargo translation table to newstation ↵peter1138
variables 0x60..0x65
2007-04-11(svn r9601) -Codechange: Store grf file reference in station spec, not just ↵peter1138
GRF ID
2007-03-22(svn r9400) -Codechange: Use some more representative enum names for ↵belugas
landscape types.
2007-03-21(svn r9393) -Codechange: Use newgrf town resolver as station parent scope ↵peter1138
handler
2007-03-21(svn r9385) -Cleanup: doxygen changes. Today, we are exploring the letter N.belugas
2007-03-20(svn r9371) -Feature: Add support for variable snow lines in the arctic ↵maedhros
climate, supplied by newgrf files. When this is enabled forests cannot be built below the highest snow line, and farms can't be built above it. Houses still use the _opt.snow_line so they are all consistent, so to make them respect the snowline you may want to use some newhouses features as well.
2007-03-07(svn r9050) -Codechange: Foo(void) -> Foo()rubidium
2007-02-24(svn r8891) -Codechange: Remove remains of global cargo scheme. All cargo ↵peter1138
mapping is now dealt with only in NewGRF code, on load where possible.
2007-02-23(svn r8858) -Codechange: Replace magic number test with class method for ↵peter1138
determining if a cargo is valid/active.
2007-02-23(svn r8853) -Cleanup: doxygen changes. Correct forgotten c files to cpp ↵belugas
files with the @file tag as well as a few general comments style
2007-02-22(svn r8849) -Codechange: Replace hardcoded global/climate cargo mapping ↵peter1138
tables with dynamically generated data. Change associated code to use new functions.
2007-02-22(svn r8841) -Fixtron
Remove {,u}intswap() and replace them by Swap()
2007-01-26(svn r8423) -Fixtron
Do not explicitly pass the station specification and the station to ResolveStation(). They are already contained in the ResolverObject
2007-01-24(svn r8391) -Codechange: Make normal/desert/rainforest detection for newgrf ↵peter1138
stations work
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-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)