summaryrefslogtreecommitdiff
path: root/src/disaster_cmd.cpp
AgeCommit message (Collapse)Author
2011-02-07(svn r22017) -Codechange: move MarkTileDirtyByTile to viewport_func.hrubidium
2011-02-02(svn r21949) -Change: randomize the vehicle a small UFO targets, do not use ↵smatz
the one with lowest index
2011-02-02(svn r21944) -Codechange: give name to one magic constantsmatz
2011-01-19(svn r21860) -Codechange: Rename road vehicle subtype functions to match the ↵terkhen
train names.
2010-12-14(svn r21516) -Codechange: Add IsGroundVehicle function to the Vehicle class.terkhen
2010-10-08(svn r20910) -Fix [FS#4155]: helicopters fired a bit too laterubidium
2010-08-26(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to ↵rubidium
some headers
2010-08-01(svn r20286) -Codechange: Unify end of doxygen comments.frosch
2010-08-01(svn r20283) -Codechange: Unify start of doygen comments.frosch
2010-07-19(svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be ↵rubidium
missed :)
2010-07-19(svn r20184) -Codechange: make _trees_tick_ctr and _disaster_delay not use ↵rubidium
VARDEF and put them in a more logical location
2010-06-05(svn r19931) -Fix (r19914): Convert assertion in Backup<> destructor into ↵frosch
DEBUG() output. It was triggered on exceptions, especially when aborting world generation.
2010-05-31(svn r19914) -Codechange: Wrap a helper class around temporary assignments ↵frosch
of _current_company to ensure proper restoration.
2010-05-13(svn r19817) -Fix: MSVC compile warningsrubidium
2010-05-13(svn r19816) -Codechange: use static const uint for the unnamed 'tile ↵rubidium
consts' enum as well
2010-03-18(svn r19455) -Codechange: split all airport information in Station to a ↵yexo
seperate class
2010-03-05(svn r19319) -Codechange: EnsureNoVehicleOnGround() returns a CommandCost.alberth
2010-02-22(svn r19198) -Codechange: store the size of stations in savegamesyexo
2010-01-18(svn r18858) -Codechange: use IsAirportTile where possibleyexo
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 r18717) -Codechange: use TileArea in industry instead of three separate ↵rubidium
variables. Also make use of TileArea functions for determining the 'width' and 'height' of an industry.
2009-12-04(svn r18402) -Codechange: unify/centralise the code for crashing vehiclesrubidium
2009-08-30(svn r17316) -Codechange: use Industry::GetByTile() instead of ↵smatz
GetIndustryByTile()
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-07-27(svn r16967) -Fix [FS#0356]: assert when UFO tried to destroy railrubidium
2009-07-02(svn r16721) -Codechange: make Is/SetRoadVehicleFront, ↵rubidium
Is/Set/HasArticulatedPart member of RoadVehicle.
2009-06-24(svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile()smatz
2009-06-23(svn r16634) -Codechange: use Company::IsHumanID() instead of IsHumanCompany()smatz
2009-06-06(svn r16527) -Codechange: use static member functions instead of simple ↵smatz
casts when converting Vehicle to specialised vehicle types. Includes safety check
2009-06-06(svn r16525) -Codechange: Notify small ufos on deletion of road vehicles, so ↵frosch
they can head for somewhere else instead of stumbling over a ghost.
2009-06-06(svn r16523) -Fix (rNewPool): Segfault when small ufos were heading for ↵frosch
deleted vehicles.
2009-05-26(svn r16442) -Codechange: use new Vehicle accessors at more placessmatz
2009-05-24(svn r16416) -Fix [FS#2912]: Rework deleting of news when referenced ↵frosch
vehicles/stations/industries are deleted.
2009-05-22(svn r16390) -Codechange: move u.road to RoadVehicle.rubidium
2009-05-22(svn r16385) -Codechange: move u.disaster to DisasterVehicle.rubidium
2009-05-22(svn r16376) -Codechange: Vehicle::Tick() now returns false if the vehicle ↵smatz
was deleted
2009-05-18(svn r16349) -Codechange: rename IsPlainRailTile() to IsPlainRail(), ↵smatz
introduce shiny new IsPlainRailTile()
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-24(svn r15838) -Fix: MSVC 64 bits warningsrubidium
2009-03-17(svn r15750) -Fix: The big ufo sometimes landed just outside the map. ↵yexo
Instead of landing, just disappear (fly away) in those cases.
2009-03-17(svn r15749) -Codechange: apply coding style to disaster_cmd.cppyexo
2009-03-16(svn r15748) -Fix (r1722): the assumption that the number of tiles on the X ↵rubidium
side equals the number of tiles on the Y side does not hold anymore. As a result of this submarines could be created far outside of the map. Later in r15733 we would test whether that tile would be a water tile and we'd find out the tile isn't within the map.
2009-03-15(svn r15733) -Fix: Enabling freeform edges could cause submarines to get ↵yexo
stuck on land tiles.
2009-03-15(svn r15732) -Fix: enumified constant name stylerubidium
2009-03-15(svn r15731) -Codechange: unify submarine creationrubidium
2009-03-11(svn r15676) -Codechange: remove the need for BeginVehicleMove and merge ↵rubidium
VehiclePositionChanged and EndVehicleMove.
2009-02-25(svn r15583) -Fix: Do not use TILE_MASK when you do not want to wrap around ↵frosch
them map.
2009-02-05(svn r15359) -Add [NoAI]: AIEventVehicleCrashed::CRASH_RV_UFO, ↵frosch
AIEventDisasterZeppelinerCrashed and AIEventDisasterZeppelinerCleared as aliens accepted NoAIs as competing life-form.
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz