summaryrefslogtreecommitdiff
path: root/src/disaster_cmd.cpp
AgeCommit message (Collapse)Author
2012-12-26(svn r24856) -Fix [FS#5406]: Don't let UFOs and coal mines destroy depots.frosch
2012-12-23(svn r24846) -Add: Advanced settings to disable certain sound effects.frosch
2012-05-26(svn r24284) -Codechange: Remove NewsSubtypes and directly use NewsTypes and ↵frosch
NewsFlag instead.
2012-05-26(svn r24283) -Codechange: Add AddTileNewsItem function to preemptively ↵frosch
deduplicate code.
2012-01-02(svn r23713) -Codechange: split VehicleMove() into two functions, to ↵truebrain
minimalize the work done where possible
2011-12-19(svn r23622) -Add: a set of events to trigger in a GameScripttruebrain
2011-12-09(svn r23457) -Codechange: introduce Industry::TileBelongsToIndustry() to ↵yexo
simplify code checking for that
2011-11-29(svn r23355) -Codechange: rename all AI* to Script* (Rubidium)truebrain
2011-11-04(svn r23108) -Codechange: more uint -> int / byte -> int conversions for Z ↵rubidium
related variables
2011-11-04(svn r23104) -Codechange: prepare the vehicle/sign z for some further ↵rubidium
changes to reduce casting
2011-11-04(svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ ↵rubidium
functions if they return the Z in pixels (like TilePixelHeight)
2011-05-28(svn r22505) -Add: Separate EffectVehicleTypes for broken aircraft and smoke ↵frosch
at copper ore mine, to make them distinguishable from each other and from smoke due to disasters. (only affects newly spawned effects)
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