src/economy.cpp
Mon, 18 Jun 2007 10:48:15 +0000 rubidium (svn r10197) -Codechange: replace int32 with CommandCost where appropriate.
Tue, 12 Jun 2007 23:35:10 +0000 rubidium (svn r10125) -Fix [FS#865]: under some circumstances the wagons of a train didn't get loaded properly.
Tue, 12 Jun 2007 22:13:49 +0000 maedhros (svn r10122) -Codechange: Add a CountBitsSet function and use it to replace some less efficient loops.
Tue, 12 Jun 2007 17:10:52 +0000 maedhros (svn r10117) -Fix [FS#863]: When deleting the vehicles of bankrupt players, delete trains as
Mon, 11 Jun 2007 14:00:16 +0000 maedhros (svn r10097) -Feature: Add support for articulated road vehicles, or callbacks 11 and 17 for
Sun, 10 Jun 2007 20:27:28 +0000 rubidium (svn r10084) -Fix [FS#855]: reversing a train when loading at a station crashed.
Fri, 08 Jun 2007 09:35:39 +0000 peter1138 (svn r10062) -Codechange: Don't redraw all station tiles when cargo is added or removed if the station has no custom graphics.
Thu, 07 Jun 2007 14:38:45 +0000 rubidium (svn r10058) -Codechange: give some industry variable sensible names (like not telling "last_mo_production" when it is the production of the current month).
Fri, 01 Jun 2007 12:03:10 +0000 maedhros (svn r10009) -Codechange: Add and use Vehicle::IsPrimaryVehicle to replace individual checks depending on the vehicle type.
Sat, 26 May 2007 09:13:59 +0000 rubidium (svn r9930) -Fix (r9838): obiwan could cause vehicles to way a long time (2.5 years) at stations.
Sat, 19 May 2007 09:40:18 +0000 rubidium (svn r9874) -Feature: advanced vehicle lists a.k.a. group interface. Now you can make groups of vehicles and perform all kinds of tasks on that given group. Original code by nycom and graphics by skidd13.
Fri, 18 May 2007 17:55:07 +0000 belugas (svn r9870) -Codechange: Silence two compiler warnings and give proper type to the "type" member of industry struct
Fri, 18 May 2007 00:33:47 +0000 belugas (svn r9867) -Codechange: Remove data duplication. The exact same values can be found in the industry spec, so take it from there instead.
Thu, 17 May 2007 20:19:55 +0000 rubidium (svn r9866) -Codechange: remove the technical one-input-cargo-creates-one-output-cargo limit in the factories, sawmills, steelmills and the ones I'm forgetting to mention right now. Use of this functionality will come later.
Tue, 15 May 2007 11:28:22 +0000 rubidium (svn r9841) -Codechange: add a little more type strictness to the vehicle types.
Tue, 15 May 2007 06:20:16 +0000 rubidium (svn r9840) -Fix (r9838): MSVC is complaining about signedness again (Belugas).
Mon, 14 May 2007 20:12:32 +0000 rubidium (svn r9838) -Fix: make "improved loading" a proper improved loading instead of loading one (semi-)random vehicle at a time:
Mon, 14 May 2007 16:07:05 +0000 rubidium (svn r9836) -Codechange: make non-improved loading happen FIFO-ish; generally loading/unloading will happen fifo, but there are no guarantees on the FIFO-ness. For (better) FIFO guarantees you still need to use improved loading.
Sun, 13 May 2007 21:24:58 +0000 rubidium (svn r9831) -Codechange: more refactoring of the loading/unloading.
Sat, 12 May 2007 09:09:10 +0000 rubidium (svn r9829) -Codechange: more refactoring of the unloading algorithm.
Tue, 08 May 2007 16:42:48 +0000 rubidium (svn r9815) -Fix (r9761) [FS#769): transfers weren't accounted in the vehicle profits.
Sun, 06 May 2007 14:59:01 +0000 rubidium (svn r9794) -Codechange: refactor the question whether a vehicle can be loaded into LoadUnloadVehicle instead of duplicating it for each vehicle.
Wed, 02 May 2007 18:29:11 +0000 rubidium (svn r9770) -Codechange: perform the payment of cargo when loading/unloading, but when arriving at the station.
Tue, 01 May 2007 16:45:03 +0000 rubidium (svn r9761) -Codechange: refactor cargo payment out of LoadUnloadVehicle.
Fri, 20 Apr 2007 08:00:30 +0000 rubidium (svn r9683) -Fix [FS#423]: improved loading does not use a huge amount of processing power anymore when having a lot of trains.
Sun, 15 Apr 2007 16:20:35 +0000 peter1138 (svn r9638) -Feature: Increase cargo types from 12 to 32 and enable newcargo flag in NewGRF loader.
Thu, 12 Apr 2007 19:33:05 +0000 peter1138 (svn r9617) -Codechange: Implement callback for cargo profit calculation
Thu, 12 Apr 2007 13:07:15 +0000 maedhros (svn r9609) -Codechange: Move some function prototypes out of functions.h and into landscape.h, and add a few where they didn't exist.
Fri, 06 Apr 2007 04:10:19 +0000 belugas (svn r9568) -Documentation: doxygen and comment changes: Root of src is finally done. Now, time to start clearing as much as possible
Sun, 01 Apr 2007 10:55:31 +0000 celestar (svn r9541) -Codechange: Safeguard the company-buying routines so that the buying player and the bought player need to be two different entities
Sat, 31 Mar 2007 12:19:22 +0000 truelight (svn r9533) -Fix [FS#274]: when a company is removed (either via auto-clean, bankrupt, or take over), sell all the shares he has first, then sell the shares all people have on this company, and then remove the company.
Sat, 24 Mar 2007 14:42:11 +0000 peter1138 (svn r9427) -Codechange: remove redundant variable
Thu, 22 Mar 2007 03:42:43 +0000 belugas (svn r9400) -Codechange: Use some more representative enum names for landscape types.
Wed, 21 Mar 2007 13:19:01 +0000 peter1138 (svn r9388) -Codechange: variable scope and type, and standardify all CargoID loops.
Fri, 16 Mar 2007 17:40:31 +0000 peter1138 (svn r9257) -Codechange: Use cargo's town effect property for determining subsidy source/target type.
Thu, 08 Mar 2007 21:05:05 +0000 truelight (svn r9071) -Fix [FS#459]: when in networking an other player takes over an AI which is also controlled by a player, move the player with the company to the company who bought out the AI
Thu, 08 Mar 2007 16:27:54 +0000 rubidium (svn r9068) -Codechange: capitalize the VEH_Train etc. enums to match the coding style (and rest of the code).
Wed, 07 Mar 2007 12:11:48 +0000 rubidium (svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
Wed, 07 Mar 2007 11:47:46 +0000 rubidium (svn r9050) -Codechange: Foo(void) -> Foo()
Tue, 06 Mar 2007 19:12:56 +0000 maedhros (svn r9029) -Fix (r7326): Only call the gradual loading amount callback if the bit for it is set in the vehicle's callbackmask.
Fri, 02 Mar 2007 18:57:54 +0000 rubidium (svn r8979) -Fix (r8978): unsigned vs signed comparisons.
Fri, 02 Mar 2007 18:49:11 +0000 richk (svn r8978) -Feature: Rewrite of transfer system.
Fri, 02 Mar 2007 01:17:11 +0000 rubidium (svn r8969) -Codechange: rework of the player face bits.
Wed, 28 Feb 2007 17:18:36 +0000 maedhros (svn r8945) -Codechange: Rename v->load_status to v->vehicle_flags so it can be used for more than just the gradual loading status.
Fri, 23 Feb 2007 18:55:07 +0000 belugas (svn r8862) -Cleanup: doxygen changes, again. Mostly @files missing tags and a few comments style.
Fri, 23 Feb 2007 08:03:30 +0000 tron (svn r8855) -Fix
Thu, 22 Feb 2007 19:05:26 +0000 tron (svn r8847) -Fix
Tue, 20 Feb 2007 22:09:21 +0000 peter1138 (svn r8826) -Codechange: Replace _cargoc's separate arrays with a regular struct array (with accessor) and implement new initialization method using cargo labels.
Tue, 13 Feb 2007 16:36:38 +0000 celestar (svn r8709) -Fix/Codechange: Rename the function GetStationPlatforms into GetPlatformLength because that is what it really does. Overload it because there is already a GetPlatformLength (one gives the length of the whole platform, the other gives the remaining length in a given direction). Turned both functions into methods of Station. While messing around with it, fix a problem where loading times for overhanging trains are miscomputed.
Wed, 07 Feb 2007 19:10:19 +0000 bjarni (svn r8621) -Codechange: assigned new numbers to the VEH_(type) enum so that VEH_Train is 0, VEH_Road is 1 and so on
Wed, 31 Jan 2007 22:33:24 +0000 maedhros (svn r8501) -Fix (r7377) [FS#539]: Keep track of how much cargo has been paid for, so that cargo cannot be paid for more than once.
Sat, 27 Jan 2007 12:29:55 +0000 Darkvater (svn r8428) -Codechange: Add proper names to aircraft subtypes instead of magic numbers and add a function IsNormalAircraft() which tells us whether the aircraft is in fact some flying device or a rotor/shadow.
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 19:57:49 +0000 peter1138 (svn r8128) -Codechange: Split sprite and palette remap into separate 32 bit values.
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).
Fri, 12 Jan 2007 20:19:49 +0000 rubidium (svn r8083) -Codechange: make a NetworkSocketHandler as base for all sockets and move a little of NetworkClientState functionality to the NetworkSocketHandler. Move the rest of the NetworkClientState to the new NetworkTCPSocketHandler class/struct, which is not yet implemented in an object oriented manner. The UDP socket handler now extends the NetworkSocketHandler instead of having a reference to a NetworkClientState.
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)