Commit Graph

133 Commits

Author SHA1 Message Date
rubidium
c8efb43aaf (svn r20345) -Codechange: unify removing of objects a bit more 2010-08-03 13:03:25 +00:00
rubidium
16ea560aaf (svn r20343) -Fix (r20342): don't start svn commit too early... it won't see the later changes 2010-08-03 12:47:11 +00:00
rubidium
ac5e8d9825 (svn r20342) -Codechange: unify the construction of objects 2010-08-03 12:41:24 +00:00
rubidium
f475a7f5e7 (svn r20341) -Codechange: pass the tile of the HQ instead of the company to UpdateCompanyHQ 2010-08-03 12:36:40 +00:00
rubidium
e72a0a39bb (svn r20340) -Codechange: introduce some flags for objects and use them in some places 2010-08-03 12:07:55 +00:00
rubidium
fbda65a676 (svn r20339) -Codechange: reorder the HQ drawing data so it's in a slightly more logical order from the map array's point of view. 2010-08-03 11:39:17 +00:00
rubidium
d23e2d64b8 (svn r20338) -Codechange: unify the unmovable tile drawing 2010-08-03 11:35:57 +00:00
rubidium
d7921b24e6 (svn r20337) -Codechange: unify the construction of objects on the map 2010-08-03 08:58:12 +00:00
rubidium
3a971a7f03 (svn r20336) -Codechange: rework the HQ updating 2010-08-03 08:32:58 +00:00
rubidium
eb0fa68722 (svn r20335) -Codechange: change the name of some unmovable map accessors 2010-08-03 08:16:06 +00:00
rubidium
5ed887648c (svn r20334) -Codechange: reorder the unmovable bits a bit for futher extension 2010-08-03 08:09:45 +00:00
rubidium
b5b5c21ee5 (svn r20330) -Codechange: unify the removal of unmovables a bit 2010-08-02 23:05:54 +00:00
rubidium
7fe695dc28 (svn r20328) -Codechange: unify the unmovable related commands and make building lighthouses/transmitters actually happen via a command 2010-08-02 22:10:05 +00:00
rubidium
2ac0a086ce (svn r20327) -Change: don't let building e.g. road remove light houses and transmitters in the scenario editor 2010-08-02 22:03:28 +00:00
rubidium
9d76cac1a7 (svn r20326) -Codechange: move UnmovableType to its own file 2010-08-02 21:35:59 +00:00
rubidium
fd08e5d2d7 (svn r20321) -Codechange: rename GetUnmovableSpec to UnmovableSpec::Get and add+use a ::GetByTile 2010-08-02 20:57:32 +00:00
rubidium
742c0cd614 (svn r20316) -Document: some members/structs and functions and rename some slightly to better catch their meaning 2010-08-02 20:12:02 +00:00
frosch
c18839704b (svn r20286) -Codechange: Unify end of doxygen comments. 2010-08-01 19:44:49 +00:00
frosch
5b86c79fce (svn r20283) -Codechange: Unify start of doygen comments. 2010-08-01 19:22:34 +00:00
alberth
137e2b64c9 (svn r20211) -Codechange: Indented code should have curly braces around it. 2010-07-24 10:14:39 +00:00
alberth
72d62fd6fc (svn r19494) -Codechange: Remove _error_message. 2010-03-20 17:58:24 +00:00
alberth
cb10444807 (svn r19415) -Codechange: Forward CommandCost with an error back to the caller. 2010-03-14 12:58:51 +00:00
alberth
6005227ac9 (svn r19372) -Codechange: CheckTileOwnership() returns a CommandCost. 2010-03-07 20:44:05 +00:00
alberth
4c0d4990f5 (svn r19319) -Codechange: EnsureNoVehicleOnGround() returns a CommandCost. 2010-03-05 21:20:22 +00:00
terkhen
304806e066 (svn r19171) -Codechange: Split CheckFlatLandBelow into different functions. 2010-02-20 18:12:56 +00:00
terkhen
ffcddf9295 (svn r19170) -Codechange: Make CheckFlatLandBelow use TileArea. 2010-02-20 17:56:05 +00:00
alberth
a2af272a52 (svn r19128) -Codechange: CommandCost cost methods return void instead of a copy of *this. 2010-02-14 15:30:08 +00:00
smatz
6d92880bb3 (svn r19084) -Codechange: minor coding-style fixups 2010-02-10 17:37:47 +00:00
frosch
6c74e1c4f2 (svn r18976) -Fix: Estimating the cost of removing statues could clear the presence flag in the town. 2010-01-31 20:56:24 +00:00
frosch
2f3b26ae32 (svn r18890) -Codechange: Unify drawing of foundations for MP_UNMOVABLE. 2010-01-22 22:32:39 +00:00
rubidium
7127338414 (svn r18872) -Codechange: introduce PaletteID and use it 2010-01-21 01:38:13 +00:00
rubidium
f618acfb7d (svn r18866) -Codechange: remove the CmdFailed(ret)/CmdSucceeded(ret) wrapper functions 2010-01-18 22:57:21 +00:00
rubidium
9467b7c6d6 (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 2010-01-15 16:41:15 +00:00
rubidium
e202a26990 (svn r18715) -Codechange: make StationFinder a subclass of TileArea 2010-01-04 18:12:10 +00:00
rubidium
da30e736ca (svn r18330) -Cleanup: remove some unneeded includes 2009-11-28 20:35:25 +00:00
frosch
13a72bb345 (svn r18283) -Feature: [NewGRF] Add new price bases for removing industries, building/removing unmovables (new objects), building/removing rail-waypoints/buoys, interacting with town-authority, building foundations, funding primary industries (when not prospecting) and towns.
If a GRF does not set price multipliers for these new prices, but for the previously used ones, the old modifiers will be propagated to the new bases.
2009-11-24 22:15:42 +00:00
smatz
2c63d0d323 (svn r18110) -Codechange [FS#3316]: search for stations nearby only once per producer (instead of once pre produced cargo type) (fonsinchen) 2009-11-15 21:06:13 +00:00
frosch
040404c5d3 (svn r18005) -Codechange: Convert the Prices struct into an array and an enum. 2009-11-07 22:47:54 +00:00
rubidium
982b8ee5fc (svn r17693) -Cleanup: remove some unneeded includes 2009-10-04 17:16:41 +00:00
smatz
c3a80f1518 (svn r17589) -Codechange: rename town_acc to always_accepted 2009-09-20 17:44:33 +00:00
rubidium
06e490fadc (svn r17567) -Fix: some doxygen warnings 2009-09-18 14:23:58 +00:00
frosch
0e36260337 (svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability. 2009-09-13 19:15:59 +00:00
rubidium
c631790b6f (svn r17460) -Feature: allow building rail stations over existing rail without signals but will upgrade normal rail to electrified rail if necessary (based on patch by laurijh) 2009-09-07 18:35:38 +00:00
smatz
5d622fd840 (svn r17439) -Fix (r17436): you weren't paid for cargo delivered to houses and headquarters anymore 2009-09-07 07:39:08 +00:00
rubidium
99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 2009-08-21 20:21:05 +00:00
smatz
0502a6df42 (svn r17113) -Change [FS#265][FS#2094][FS#2589]: apply the subsidy when subsidy's destination is in station's catchment area and cargo packets originate from subsidy's source
-Change [FS#1134]: subsidies aren't bound to stations after awarding anymore, they still apply to town or industry, no matter what station is used for loading and unloading. Awarded subsidies from older savegames are lost
-Change [NoAI]: due to these changes, AISubsidy::GetSource and AISubsidy::GetDestination now return STATION_INVALID for awarded subsidies
2009-08-08 16:42:55 +00:00
rubidium
30d9e54279 (svn r16966) -Codechange: BEGIN_TILE_LOOP and END_TILE_LOOP reworked into TILE_LOOP, which means no more duplication of parameters between BEGIN_TILE_LOOP and END_TILE_LOOP 2009-07-26 21:50:30 +00:00
frosch
523cde0798 (svn r16678) -Codechange: Turn CargoArray into a class, so one does not have to deal with sizeof() wrt. typedef-ed arrays. 2009-06-27 21:06:58 +00:00
frosch
4c3f480f92 (svn r16676) -Codechange: Rename AcceptedCargo to CargoArray and its instances to more meaningful names. 2009-06-27 18:26:50 +00:00
smatz
837b3628d9 (svn r16673) -Codechange: rename GetProducedCargo() to AddProducedCargo() and change its behaviour accordingly 2009-06-27 17:05:20 +00:00