summaryrefslogtreecommitdiff
path: root/src/unmovable_cmd.cpp
AgeCommit message (Collapse)Author
2010-03-14(svn r19415) -Codechange: Forward CommandCost with an error back to the caller.alberth
2010-03-07(svn r19372) -Codechange: CheckTileOwnership() returns a CommandCost.alberth
2010-03-05(svn r19319) -Codechange: EnsureNoVehicleOnGround() returns a CommandCost.alberth
2010-02-20(svn r19171) -Codechange: Split CheckFlatLandBelow into different functions.terkhen
2010-02-20(svn r19170) -Codechange: Make CheckFlatLandBelow use TileArea.terkhen
2010-02-14(svn r19128) -Codechange: CommandCost cost methods return void instead of a ↵alberth
copy of *this.
2010-02-10(svn r19084) -Codechange: minor coding-style fixupssmatz
2010-01-31(svn r18976) -Fix: Estimating the cost of removing statues could clear the ↵frosch
presence flag in the town.
2010-01-22(svn r18890) -Codechange: Unify drawing of foundations for MP_UNMOVABLE.frosch
2010-01-21(svn r18872) -Codechange: introduce PaletteID and use itrubidium
2010-01-18(svn r18866) -Codechange: remove the CmdFailed(ret)/CmdSucceeded(ret) ↵rubidium
wrapper functions
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2010-01-04(svn r18715) -Codechange: make StationFinder a subclass of TileArearubidium
2009-11-28(svn r18330) -Cleanup: remove some unneeded includesrubidium
2009-11-24(svn r18283) -Feature: [NewGRF] Add new price bases for removing industries, ↵frosch
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-15(svn r18110) -Codechange [FS#3316]: search for stations nearby only once per ↵smatz
producer (instead of once pre produced cargo type) (fonsinchen)
2009-11-07(svn r18005) -Codechange: Convert the Prices struct into an array and an enum.frosch
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-09-20(svn r17589) -Codechange: rename town_acc to always_acceptedsmatz
2009-09-18(svn r17567) -Fix: some doxygen warningsrubidium
2009-09-13(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty ↵frosch
for more consistency and distinguishability.
2009-09-07(svn r17460) -Feature: allow building rail stations over existing rail ↵rubidium
without signals but will upgrade normal rail to electrified rail if necessary (based on patch by laurijh)
2009-09-07(svn r17439) -Fix (r17436): you weren't paid for cargo delivered to houses ↵smatz
and headquarters anymore
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-08(svn r17113) -Change [FS#265][FS#2094][FS#2589]: apply the subsidy when ↵smatz
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-07-26(svn r16966) -Codechange: BEGIN_TILE_LOOP and END_TILE_LOOP reworked into ↵rubidium
TILE_LOOP, which means no more duplication of parameters between BEGIN_TILE_LOOP and END_TILE_LOOP
2009-06-27(svn r16678) -Codechange: Turn CargoArray into a class, so one does not have ↵frosch
to deal with sizeof() wrt. typedef-ed arrays.
2009-06-27(svn r16676) -Codechange: Rename AcceptedCargo to CargoArray and its ↵frosch
instances to more meaningful names.
2009-06-27(svn r16673) -Codechange: rename GetProducedCargo() to AddProducedCargo() ↵smatz
and change its behaviour accordingly
2009-06-25(svn r16660) -Codechange: get rid of more dummy tile_type_procssmatz
2009-06-25(svn r16659) -Codechange: rename GetAcceptedCargo() to AddAcceptedCargo() ↵smatz
and change its behaviour accordingly -Codechange: remove dummy GetAcceptedCargo_*() handlers
2009-06-01(svn r16491) -Codechange: Added parentheses around bitwise operators for ↵alberth
code style.
2009-05-26(svn r16434) -Cleanup: remove some dead code; primarily stuff that can't be ↵rubidium
reached like break after returns or break after functions that never return (i.e. NOT_REACHED)
2009-05-16(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)smatz
2009-04-21(svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had ↵rubidium
this ID' from 'some' strings and replace the string name with something more sensible.
2009-03-15(svn r15718) -Cleanup: apply some comment coding style on the rest of the ↵rubidium
sources too
2009-02-25(svn r15585) -Codechange: Remove TILE_ASSERT and replace all instances with ↵yexo
assert(tile < MapSize()).
2009-02-25(svn r15583) -Fix: Do not use TILE_MASK when you do not want to wrap around ↵frosch
them map.
2009-02-21(svn r15550) -Fix [FS#2654]: bogus secondary error message when dynamiting ↵rubidium
industries/unmoveables; "X is in the way" isn't helpful at all in that case.
2009-02-10(svn r15437) -Codechange: Do not run a code section when you already know it ↵belugas
is useless -Codechange: Do not rely on a decision based on something that has already been evaluated
2009-02-09(svn r15434) -Codechange: bit of type safety for the DC_xxx flags.rubidium
2009-02-09(svn r15428) -Codechange: consistently use colour instead of having both ↵rubidium
color and colour.
2009-02-07(svn r15393) -Fix: little typobelugas
2009-02-07(svn r15392) -Codechange: move the spec getter to a place where it's only ↵belugas
required, without the use of extern
2009-02-05(svn r15350) -Codechange: Create a spec array to hold the data definitions ↵belugas
of unmovables objects. Note that this is the very basic spec, it will be populated a bit more, later.
2009-02-05(svn r15349) -Codechange: no need to call a function when we know there is ↵belugas
not going to be any change to the returned result
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-28(svn r15290) -Codechange: Isolate size and section of the UnMovable HQ ↵belugas
object, in order to keep the Unmovable type free of any irrelevant data
2009-01-21(svn r15190) -Feature: Allow terraforming of the tiles at the edges of the map.Yexo
2009-01-03(svn r14812) -Codechange: use INVALID_TILE instead of 0 to mark company ↵smatz
without HQ