economy.c
Mon, 28 Aug 2006 18:53:03 +0000 rubidium (svn r6204) -Cleanup: replace non-indentation with spaces; like '}<TAB>else {' -> '} else {', tabs between code and comment, etc.
Sun, 27 Aug 2006 21:20:29 +0000 truelight (svn r6178) -Fix r5886: only setting ->money64 isn't enough, as some routines still use ->player_money.
Tue, 22 Aug 2006 21:14:45 +0000 truelight (svn r6057) -Codechange: made a function GetRandomXXX, that _always_ returns a valid XXX, unless there are none to pick from. Then NULL is returned.
Tue, 22 Aug 2006 20:41:26 +0000 truelight (svn r6055) -Codechange: added GetXXXArraySize, which returns HighestID + 1 (or, will do that).
Tue, 22 Aug 2006 15:33:35 +0000 truelight (svn r6047) -Codechange: FOR_ALL now _only_ loops valid items, and skips invalid ones
Tue, 22 Aug 2006 14:38:37 +0000 rubidium (svn r6045) -Cleanup: align all table-like structures using spaces, i.e. whitespace fixes only except for a few comments to make them uniform for the whole enum/struct.
Sun, 20 Aug 2006 19:31:58 +0000 rubidium (svn r6005) -Cleanup: introduce IndustryID and use it
Sun, 20 Aug 2006 19:05:28 +0000 rubidium (svn r6002) -Cleanup: remove the now redundant BASE_YEAR constant.
Wed, 16 Aug 2006 11:39:55 +0000 rubidium (svn r5926) -Codechange: make _cur_year contain the full year, instead of the offset since 1920
Tue, 15 Aug 2006 15:18:03 +0000 rubidium (svn r5916) -Cleanup: use MIN_YEAR/MAX_YEAR for the year boundaries and BASE_YEAR when comparing _cur_year with a 'full' year.
Mon, 14 Aug 2006 14:21:15 +0000 rubidium (svn r5887) -Cleanup: move date related functions, defines and variables to date.[ch]
Mon, 14 Aug 2006 11:44:19 +0000 Darkvater (svn r5886) -Fix [FS#273]: Incomplete removal of player owned property due to lack of money.
Tue, 27 Jun 2006 21:25:53 +0000 tron (svn r5391) Miscellaneous, mostly bracing and whitespace, nothing spectacular
Tue, 25 Apr 2006 06:56:22 +0000 peter1138 (svn r4570) - Fix: subsidy calculation was too high, broken in r3564
Fri, 21 Apr 2006 20:25:34 +0000 celestar (svn r4508) -Fix: (FS#125) Fixed a problem that caused DeliverGoodsToIndustry to not work as intended. Note: write something better for this entire function
Tue, 18 Apr 2006 08:50:17 +0000 celestar (svn r4466) -Fix: (FS#71) Game no longer crashes when the last vehicle serving a station has been deleted.
Mon, 10 Apr 2006 07:15:58 +0000 tron (svn r4342) Change the first two parameters of commands - virtual pixel coordinates of the tile to operate on - to a TileIndex
Mon, 03 Apr 2006 05:32:11 +0000 celestar (svn r4246) -Codechange. Replaced about 100 occurences of '16' by TILE_SIZE
Fri, 31 Mar 2006 08:59:19 +0000 celestar (svn r4194) -Codechange: Renamed UpdatePlayerHouse to UpdateCompanyHQ because the rest of the code calls it Comapany HQ. Moved it to unmovable_cmd.c because CompanyHQ is an unmovable and has nothing to do with economy.
Sun, 26 Mar 2006 22:55:27 +0000 Darkvater (svn r4131) - CodeChange: Add proper semantics for StationID for such variables instead of using the general uint16-type. StationID was added for depots, waypoints and stations where necessary. We probably need to change GetDepot(), IsDepotIndex(), IsStationIndex(), GetWaypoint() and IsWaypointIndex() as well to use StationID.
Sun, 26 Mar 2006 22:23:32 +0000 Darkvater (svn r4128) - CodeChange: Add proper semantics for CargoID for such variables instead of using the general byte-type.
Mon, 20 Feb 2006 19:43:26 +0000 Darkvater (svn r3627) - Change all hardcoded 255 max-saveload versions with the define SL_MAX_VERSION
Sat, 18 Feb 2006 14:41:24 +0000 tron (svn r3613) Some more const, indentation, whitespace and similar stuff
Mon, 13 Feb 2006 21:15:00 +0000 tron (svn r3597) Miscellaneous (I like that word) changes: Fix some indentation, add consts, reduce indentation level by short-circuit logic, convert if cascades to switch, whitespace, bracing, plus some minor stuff
Mon, 06 Feb 2006 09:18:04 +0000 tron (svn r3564) Several smaller changes:
Fri, 03 Feb 2006 12:55:21 +0000 peter1138 (svn r3524) - Split newgrf features from engine.[ch] into newgrf_engine.[ch], and add the new files to project files.
Wed, 01 Feb 2006 07:36:15 +0000 tron (svn r3511) More whitespace ([FS#46] by Rubidium)
Wed, 01 Feb 2006 06:32:03 +0000 tron (svn r3510) Fiddle with whitespace and parentheses
Fri, 06 Jan 2006 22:16:17 +0000 truelight (svn r3377) -Fix: [ FS#24 ] Min. profit in detail performance rating gave you full points if you had no vehicles, and was limited to 20k. Solved both. (Partly based on Graphite his patch)
Thu, 05 Jan 2006 11:18:58 +0000 truelight (svn r3363) -Fix: 'fixed' the transfer problem. This doesn't really fix it, but gives a bit more fair amount of money. Can only be fixed correctly with CargoPackets as suggested in branch.
Tue, 22 Nov 2005 15:55:38 +0000 truelight (svn r3226) -Fix: GPMI implementation had minor glitches
Fri, 18 Nov 2005 23:41:03 +0000 bjarni (svn r3218) -Feature: Multiheaded train engines will now stay in the same train
Tue, 15 Nov 2005 08:49:46 +0000 tron (svn r3184) GB/SB
Mon, 14 Nov 2005 19:48:04 +0000 tron (svn r3181) -Bracing
Sun, 13 Nov 2005 13:43:55 +0000 tron (svn r3172) static, const
Thu, 03 Nov 2005 09:22:24 +0000 peter1138 (svn r3124) Alter train loading/unloading time to use the actual length of the train instead of the number of wagons. The actual length is cached in the first vehicle of the train.
Sat, 22 Oct 2005 06:39:32 +0000 tron (svn r3077) static, const, bracing, indentation, 0 -> '\0'/NULL, typos in comments, excess empty lines, minor other changes
Thu, 20 Oct 2005 17:43:13 +0000 tron (svn r3073) int/byte -> EngineID/PlayerID/VehicleID
Sun, 16 Oct 2005 14:07:11 +0000 tron (svn r3051) Remove the unused function RemoteSubsidyAdd()
Wed, 12 Oct 2005 09:54:29 +0000 peter1138 (svn r3034) -NewGRF: Improve error checking of setting price bases.
Wed, 12 Oct 2005 07:27:56 +0000 peter1138 (svn r3032) -NewGRF, Feature: Add support for changing base prices.
Tue, 11 Oct 2005 13:54:21 +0000 tron (svn r3030) More work for GB/SB, this time concerning the waiting_acceptance attribute of stations
Fri, 07 Oct 2005 07:35:15 +0000 tron (svn r3024) -Codechange: Another batch of replacements of int/uint/int16/byte/-1 with proper types and constants
Fri, 30 Sep 2005 20:37:25 +0000 tron (svn r3001) s/Player*/const Player*/
Wed, 28 Sep 2005 19:35:36 +0000 tron (svn r2995) Replace 0xFF/0xFFFF with CT_INVALID/OWNER_SPECTATOR/INVALID_STATION where appropriate
Sun, 18 Sep 2005 20:56:44 +0000 Darkvater (svn r2962) - const correctness for all Get* functions and most Draw* functions that don't change their pointer parameters
Wed, 14 Sep 2005 18:03:38 +0000 Darkvater (svn r2951) - Fix: [ 1259345 ] Changing engine in netgame opens train window for everyone
Wed, 07 Sep 2005 15:10:11 +0000 truelight (svn r2921) -Codechange: moved all AI-code to 1 central place (ai/ai.c)
Sun, 07 Aug 2005 12:41:57 +0000 tron (svn r2830) Move CheckSwitchToEuro() to currency.[ch] and hide the truth about the custom currency behind a #define
Sat, 06 Aug 2005 14:59:54 +0000 tron (svn r2815) Store the currency information in one central place instead of scattering it in several unrelated files
Tue, 02 Aug 2005 20:04:09 +0000 tron (svn r2794) Fix a comment and get rid of some parentheses using DeMorgan's law
Mon, 01 Aug 2005 16:31:19 +0000 ludde (svn r2781) Fix some of the issues with variables in .h files.
Thu, 28 Jul 2005 09:17:32 +0000 celestar (svn r2736) -Codechange: De-mystified GfxDrawFillRect a bit, and used enums from table/sprites.h. You can now change the number of bits used for sprites and switches in the SpriteSetup enum and the rest should work automagically. Can be used to increase the number of active sprites to 2^19 in case there are no colortables (recolor sprites) in any newgrf. We should possibly move the the colortables to an own list, but how to detect them in a newgrf.
Sun, 24 Jul 2005 14:12:37 +0000 tron (svn r2701) Insert Id tags into all source files
Fri, 22 Jul 2005 07:02:20 +0000 tron (svn r2673) Include functions.h directly, not globally via openttd.h
Thu, 21 Jul 2005 22:15:02 +0000 tron (svn r2669) Shuffle some more stuff around to reduce dependencies
Thu, 21 Jul 2005 06:31:02 +0000 tron (svn r2660) Get rid of some more shifting/anding/casting
Fri, 15 Jul 2005 18:30:13 +0000 ludde (svn r2580) Change: Added {INDUSTRY} command for printing industry names instead of the old {TOWN} {STRING} way.
Fri, 15 Jul 2005 14:53:44 +0000 ludde (svn r2572) - Codechange: [string] Changed string system so it's not as dependent on decode_parameters
Wed, 13 Jul 2005 18:04:01 +0000 tron (svn r2558) Change the internal map format from 7 arrays to one array of structs, this doesn't change the saved format for now. It's a stepping stone for further changes.