summaryrefslogtreecommitdiff
path: root/src/disaster_cmd.cpp
AgeCommit message (Collapse)Author
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
2009-01-09(svn r14933) -Codechange: check the whether a pool item can be constructed ↵rubidium
instead of trying to make it and check for NULL.
2009-01-03(svn r14808) -Fix (r1): coal mine subsidence could wrap around map edgessmatz
2008-12-26(svn r14749) -Codechange: replace a few wrapper functions that only called ↵rubidium
delete by a direct delete instead.
2008-12-26(svn r14747) -Codechange: remove DeleteVehicleChain in favour of the vehicle ↵rubidium
destructor as that was already doing the same for a few vehicle types.
2008-12-26(svn r14746) -Fix: don't let any disaster vehicle (Helicopter or Airplane) ↵smatz
target invalid industry
2008-12-26(svn r14743) -Codechange: use INVALID_TILE to indicate station doesn't have ↵smatz
queried facility (or station/roadstop is invalid) instead of 0 (Yexo)
2008-12-19(svn r14694) -Fix (r1): zeppeliner (disaster) should target ↵smatz
st->airport_tile, not st->xy
2008-10-14(svn r14464) -Codechange: replace (uint)-1 with UINT_MAX (PhilSophus)rubidium
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-09-07(svn r14270) -Fix: make small UFO aware of articulated RVssmatz
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