Commit Graph

1831 Commits (d52d44760362201b5c576667f05149fc86761fba)

Author SHA1 Message Date
celestar 8c54793068 (svn r8185) -Codechange: Equipped Roadstops with new/delete operators and gave them proper constructors/destructors (Thanks to KUDr for a nice interactive C++ lesson) 18 years ago
rubidium f9c6f7d0a7 (svn r8161) -Fix (FS#555, r8144): enroute_from_xy was not set properly for old savegames. 18 years ago
rubidium 3d6b021faa (svn r8161) -Fix (FS#555, r8144): enroute_from_xy was not set properly for old savegames. 18 years ago
peter1138 0e86608bf6 (svn r8153) -Codechange: Change UpdateStationAcceptance() and ShowRejectOrAcceptNews() to work with cargo IDs instead of cargo names, and explicitly list the different strings to use. 18 years ago
peter1138 9b73684733 (svn r8153) -Codechange: Change UpdateStationAcceptance() and ShowRejectOrAcceptNews() to work with cargo IDs instead of cargo names, and explicitly list the different strings to use. 18 years ago
celestar f69794b8c1 (svn r8144) -Fix: [FS#163] When a station is removed, vehicles do not get 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) 18 years ago
celestar 05b783e551 (svn r8144) -Fix: [FS#163] When a station is removed, vehicles do not get 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) 18 years ago
KUDr 97ee8287ab (svn r8139) -Cleanup: simplify auto_ptr initialization (Tron) 18 years ago
KUDr fd383668f8 (svn r8139) -Cleanup: simplify auto_ptr initialization (Tron) 18 years ago
rubidium 2352e76a8f (svn r8137) -Fix (FS#551, r4259, r4320): roadstop->num_vehicles was wrong 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. 18 years ago
rubidium 48611e1e20 (svn r8137) -Fix (FS#551, r4259, r4320): roadstop->num_vehicles was wrong 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. 18 years ago
KUDr 48c99c8174 (svn r8136) -Codechange: Station spread rectangle manipulators turned into StationRect::methods. 18 years ago
KUDr cd74706c54 (svn r8136) -Codechange: Station spread rectangle manipulators turned into StationRect::methods. 18 years ago
peter1138 ca9843424b (svn r8128) -Codechange: Split sprite and palette remap into separate 32 bit 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.
18 years ago
peter1138 92d418b031 (svn r8128) -Codechange: Split sprite and palette remap into separate 32 bit 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.
18 years ago
KUDr c04c2b2824 (svn r8127) -Fix (r8125): removed redundant free() call which is also in Station destructor (Tron) 18 years ago
KUDr 19d31c7417 (svn r8127) -Fix (r8125): removed redundant free() call which is also in Station destructor (Tron) 18 years ago
KUDr 97993d279e (svn r8126) -Fix (r8125): missing #include fixes compilation error on g++ (still some warnings, working on it) 18 years ago
KUDr 1eac31a1d8 (svn r8126) -Fix (r8125): missing #include fixes compilation error on g++ (still some warnings, working on it) 18 years ago
KUDr 3ad14cc7a8 (svn r8125) -Codechange: Station is now constructed/destroyed using 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). 18 years ago
KUDr 8b65342449 (svn r8125) -Codechange: Station is now constructed/destroyed using 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). 18 years ago
peter1138 b4dbfe5e59 (svn r8120) -Fix (r8055): Station cargo waiting value clamp should be signed not unsigned. This resulted in cargo magically appearing... 18 years ago
peter1138 bfa618ef89 (svn r8120) -Fix (r8055): Station cargo waiting value clamp should be signed not unsigned. This resulted in cargo magically appearing... 18 years ago
KUDr 28e969924b (svn r8066) - Codechange: MallocT(), CallocT(), ReallocT() now return the pointer to allocated memory instead of modifying the pointer given as parameter 18 years ago
KUDr 33be1ecfb1 (svn r8066) - Codechange: MallocT(), CallocT(), ReallocT() now return the pointer to allocated memory instead of modifying the pointer given as parameter 18 years ago
celestar 08de6b082a (svn r8055) -Codechange: Replace the different max, dmax, maxu whatever 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(). 18 years ago
celestar 2ac0410767 (svn r8055) -Codechange: Replace the different max, dmax, maxu whatever 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(). 18 years ago
rubidium a7d0cdf95f (svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, stillunknown and pv2b. 18 years ago
rubidium f35ed4bbc2 (svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, stillunknown and pv2b. 18 years ago
KUDr 07c30785ab (svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files renamed to .cpp) 18 years ago
KUDr e373ea7096 (svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files renamed to .cpp) 18 years ago