Age | Commit message (Collapse) | Author |
|
Remove the unnecessary attribute RoadStop::used. The same information can be derived from RoadStop::xy
|
|
Remove the write-only attribute RoadStop::station
|
|
custom station is in use.
|
|
gave them proper constructors/destructors (Thanks to KUDr for a nice interactive C++ lesson)
|
|
old savegames.
|
|
ShowRejectOrAcceptNews() to work with cargo IDs instead of cargo names, and explicitly list the different strings to use.
|
|
excessive payment any longer, as the origin TILE is now stored as long as the origin STATION for the transported cargos. Basically this is only a temporary fix until cargopackets are implemented, but it fixes one of the oldest known bugs (Special Thanks to Darkvater for lots of testing)
|
|
|
|
for savegames with version 24 or lower and do not calculate roadstop->num_vehicles when reading the roadstops as the vehicles might not be loaded at that moment.
|
|
StationRect::methods.
|
|
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.
|
|
Station destructor (Tron)
|
|
(still some warnings, working on it)
|
|
new/delete operators (don't worry, they still use the same memory pool). Few station related functions turned into Station::methods (just first step). All this new stuff moved from station_cmd.cpp to the new file (station.cpp).
|
|
not unsigned. This resulted in cargo magically appearing...
|
|
pointer to allocated memory instead of modifying the pointer given as parameter
|
|
macros by a simple template function max(), that requires two arguments of the same type. While I'm at it change a variable called "max" to "maxval" in a function that calls max().
|
|
stillunknown and pv2b.
|
|
renamed to .cpp)
|