summaryrefslogtreecommitdiff
path: root/src/unmovable_cmd.cpp
AgeCommit message (Collapse)Author
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
2009-01-02(svn r14789) -Feature: allow scrolling with the left mouse button pressed ↵rubidium
(if enabled). Primarily useful for systems with touch screen (aapo)
2008-12-28(svn r14754) -Codechange: get rid of _cmd_text and just pass it as ↵rubidium
(optional) parameter.
2008-09-30(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.rubidium
2008-09-30(svn r14421) -Codechange: rename all player variables/types to company *or* ↵rubidium
client so it is immediatelly clear which one you are working with.
2008-08-25(svn r14169) -Codechange: rename location_of_house for location_of_HQ, which ↵belugas
is more exact and less subject to interpretation
2008-05-29(svn r13325) -Codechange: split the client-side only settings from the ↵rubidium
settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
2008-05-25(svn r13255) -Codechange: move _opt to _settings.rubidium
2008-05-21(svn r13206) -Feature(ette): Display all owners of a tile in the ↵frosch
tile-info-window.
2008-05-07(svn r12986) -Codechange: move the landscape and transport related types ↵rubidium
from openttd.h to their own headers.
2008-05-06(svn r12971) -Documentation: add @file in files that missed them and add ↵rubidium
something more than whitespace as description of files that don't have a description.
2008-04-25(svn r12898) -Codechange: coding style in unmovable_cmd.cpp.rubidium
2008-04-18(svn r12761) -Codechange: lots of minor whitespace coding style fixes around ↵rubidium
operators.
2008-04-17(svn r12757) -Codechange: move all cheat related stuff from all over the ↵rubidium
place to a single location.
2008-04-17(svn r12754) -Codechange: split depot.h into depot_map.h, depot_func.h and ↵rubidium
depot_base.h and remove quite a lot of unneeded (before this) includes of depot.h.
2008-04-03(svn r12547) -Feature: invisibility options to make objects invisible ↵smatz
instead of transparent
2008-03-31(svn r12489) -Codechange: split station.h into station_base.h and ↵rubidium
station_func.h.
2008-02-20(svn r12199) -Codechange: Remove magic around the results of ↵frosch
GetTileTrackStatus().
2008-02-18(svn r12177) -Codechange: use 'side' parameter in GetTileTrackStatus so ↵smatz
there can be less checks in pathfinders for depots/stations/tunnels/bridges
2008-02-16(svn r12157) -Codechange: Remove a structure definition and replace it with ↵belugas
another one closely matching -Codechange: Replace two magic numbers with according sprite names
2008-02-15(svn r12149) -Codechange: Merge 'ground_sprite' and 'ground_pal' of ↵frosch
DrawTileSprites into one PalSpriteID
2008-02-15(svn r12148) -Codechange: Merge 'image' and 'pal' of DrawTileSeqStruct into ↵frosch
one PalSpriteID
2008-02-01(svn r12038) -Fix: Change ownership of or remove statues when ↵peter1138
merging/bankrupting companies.
2008-01-31(svn r12032) -Fix: When removing a statue, remove town statue flag for the ↵peter1138
statue owner, not current player.