src/station_cmd.cpp
Thu, 18 Jan 2007 09:34:44 +0000 KUDr (svn r8231) -Fix (r8125): MP desync caused by calling Random() from station constructor. This was wrong because station constructor is called also when loading savegame and when player tries to build station when it is not sure that it will succeed (thanks Rubidium)
Wed, 17 Jan 2007 22:32:34 +0000 tron (svn r8212) -Fix
Wed, 17 Jan 2007 21:14:17 +0000 tron (svn r8207) -Fix
Wed, 17 Jan 2007 12:57:35 +0000 peter1138 (svn r8186) -Fix (FS#557): Apply railtype offset to station graphics if no custom station is in use.
Wed, 17 Jan 2007 11:15:51 +0000 celestar (svn r8185) -Codechange: Equipped Roadstops with new/delete operators and gave them proper constructors/destructors (Thanks to KUDr for a nice interactive C++ lesson)
Tue, 16 Jan 2007 18:31:58 +0000 rubidium (svn r8161) -Fix (FS#555, r8144): enroute_from_xy was not set properly for old savegames.
Tue, 16 Jan 2007 11:13:00 +0000 peter1138 (svn r8153) -Codechange: Change UpdateStationAcceptance() and ShowRejectOrAcceptNews() to work with cargo IDs instead of cargo names, and explicitly list the different strings to use.
Mon, 15 Jan 2007 14:42:24 +0000 celestar (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)
Sun, 14 Jan 2007 23:43:59 +0000 KUDr (svn r8139) -Cleanup: simplify auto_ptr initialization (Tron)
Sun, 14 Jan 2007 23:09:25 +0000 rubidium (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.
Sun, 14 Jan 2007 23:02:12 +0000 KUDr (svn r8136) -Codechange: Station spread rectangle manipulators turned into StationRect::methods.
Sun, 14 Jan 2007 19:57:49 +0000 peter1138 (svn r8128) -Codechange: Split sprite and palette remap into separate 32 bit values.
Sun, 14 Jan 2007 19:44:27 +0000 KUDr (svn r8127) -Fix (r8125): removed redundant free() call which is also in Station destructor (Tron)
Sun, 14 Jan 2007 19:29:21 +0000 KUDr (svn r8126) -Fix (r8125): missing #include fixes compilation error on g++ (still some warnings, working on it)
Sun, 14 Jan 2007 19:18:50 +0000 KUDr (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).
Sun, 14 Jan 2007 18:38:40 +0000 peter1138 (svn r8120) -Fix (r8055): Station cargo waiting value clamp should be signed not unsigned. This resulted in cargo magically appearing...
Thu, 11 Jan 2007 17:29:39 +0000 KUDr (svn r8066) - Codechange: MallocT(), CallocT(), ReallocT() now return the pointer to allocated memory instead of modifying the pointer given as parameter
Thu, 11 Jan 2007 11:05:01 +0000 celestar (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().
Wed, 10 Jan 2007 18:56:51 +0000 rubidium (svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, stillunknown and pv2b.
Wed, 10 Jan 2007 18:12:09 +0000 KUDr (svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files renamed to .cpp)