Home
last modified time | relevance | path

Searched refs:MP_INDUSTRY (Results 1 – 25 of 25) sorted by relevance

/dports/games/openttd/openttd-12.1/src/
H A Dindustry_map.h65 assert(IsTileType(t, MP_INDUSTRY)); in GetIndustryIndex()
77 assert(IsTileType(t, MP_INDUSTRY)); in IsIndustryCompleted()
90 assert(IsTileType(tile, MP_INDUSTRY)); in SetIndustryCompleted()
102 assert(IsTileType(tile, MP_INDUSTRY)); in GetIndustryConstructionStage()
114 assert(IsTileType(tile, MP_INDUSTRY)); in SetIndustryConstructionStage()
127 assert(IsTileType(t, MP_INDUSTRY)); in GetCleanIndustryGfx()
139 assert(IsTileType(t, MP_INDUSTRY)); in GetIndustryGfx()
151 assert(IsTileType(t, MP_INDUSTRY)); in SetIndustryGfx()
164 assert(IsTileType(tile, MP_INDUSTRY)); in GetIndustryConstructionCounter()
176 assert(IsTileType(tile, MP_INDUSTRY)); in SetIndustryConstructionCounter()
[all …]
H A Dnewgrf_industrytiles.cpp37 bool is_same_industry = (IsTileType(tile, MP_INDUSTRY) && GetIndustryIndex(tile) == index); in GetNearbyIndustryTileInformation()
65 …case 0x40: return (IsTileType(this->tile, MP_INDUSTRY)) ? GetIndustryConstructionStage(this->tile)… in GetVariable()
77 case 0x44: return IsTileType(this->tile, MP_INDUSTRY) ? GetAnimationFrame(this->tile) : 0; in GetVariable()
86 if (IsTileType(tile, MP_INDUSTRY) && Industry::GetByTile(tile) == this->industry) { in GetVariable()
105 assert(this->industry->index == INVALID_INDUSTRY || IsTileType(this->tile, MP_INDUSTRY)); in GetRandomBits()
113 assert(this->industry->index == INVALID_INDUSTRY || IsTileType(this->tile, MP_INDUSTRY)); in GetTriggers()
184 assert(industry->index == INVALID_INDUSTRY || IsTileType(tile, MP_INDUSTRY)); in GetIndustryTileCallback()
312 assert(IsValidTile(tile) && IsTileType(tile, MP_INDUSTRY)); in DoTriggerIndustryTile()
H A Dtile_map.h182 assert(!IsTileType(tile, MP_INDUSTRY)); in GetTileOwner()
202 assert(!IsTileType(tile, MP_INDUSTRY)); in SetTileOwner()
252 …assert(IsTileType(t, MP_HOUSE) || IsTileType(t, MP_OBJECT) || IsTileType(t, MP_INDUSTRY) ||IsTileT… in GetAnimationFrame()
264 …assert(IsTileType(t, MP_HOUSE) || IsTileType(t, MP_OBJECT) || IsTileType(t, MP_INDUSTRY) ||IsTileT… in SetAnimationFrame()
H A Dtile_type.h54 MP_INDUSTRY, ///< Part of an industry enumerator
H A Deffectvehicle.cpp52 if (!IsTileType(tile, MP_INDUSTRY)) { in ChimneySmokeTick()
514 …if (IsTileType(tile, MP_INDUSTRY) && GetIndustryGfx(tile) == GFX_BUBBLE_CATCHER) AddAnimatedTile(t… in BubbleTick()
H A Dindustry.h119 return IsTileType(tile, MP_INDUSTRY) && GetIndustryIndex(tile) == this->index; in TileBelongsToIndustry()
H A Dwater_cmd.cpp192 if (IsTileType(tile, MP_INDUSTRY)) { in CheckForDockingTile()
654 (IsTileType(src_tile, MP_INDUSTRY))) return true; in IsWateredTile()
660 case MP_INDUSTRY: { in IsWateredTile()
665 …(IsTileType(src_tile, MP_INDUSTRY) && GetIndustryIndex(src_tile) == GetIndustryIndex(tile))) retur… in IsWateredTile()
1088 case MP_INDUSTRY: in GetFloodingBehaviour()
H A Dstation.cpp420 if (IsTileType(tile, MP_INDUSTRY) && GetIndustryIndex(tile) == this->industry->index) { in RecomputeCatchment()
456 if (IsTileType(tile, MP_INDUSTRY)) { in RecomputeCatchment()
H A Dindustry_cmd.cpp106 assert(IsTileType(tile, MP_INDUSTRY)); in GetIndustryType()
153 if (IsTileType(tile_cur, MP_INDUSTRY)) { in ~Industry()
772 if (IsTileType(other, MP_INDUSTRY) && in MakeIndustryTileBigger()
826 if (!IsTileType(tile, MP_INDUSTRY)) return; in TileLoop_Industry()
965 if (!IsTileType(tile, MP_INDUSTRY)) return false; in IsTileForestIndustry()
1643 if (GetTileType(atile) == MP_INDUSTRY) { in CheckIfFarEnoughFromConflictingIndustry()
1707 if (!IsTileType(tile, MP_INDUSTRY) || GetIndustryIndex(tile) != ind->index) return false; in PopulateStationsNearby()
H A Dwater_map.h97 …return IsTileType(t, MP_WATER) || IsTileType(t, MP_STATION) || IsTileType(t, MP_INDUSTRY) || IsTil…
H A Dsmallmap_gui.cpp542 case MP_INDUSTRY: in GetSmallMapVegetationPixels()
568 case MP_INDUSTRY: return MKCOLOUR_XXXX(PC_DARK_GREY); in GetSmallMapOwnerPixels()
768 case MP_INDUSTRY: in GetTileColours()
H A Dstation_cmd.cpp158 if (!IsTileType(tile, MP_INDUSTRY)) return false; in CMSAMine()
226 if (!IsTileType(tile, MP_INDUSTRY)) return false; in FindNearIndustryName()
515 if (IsTileType(tile, MP_INDUSTRY)) industries.insert(GetIndustryIndex(tile)); in GetProductionAroundTiles()
554 …if (!_settings_game.station.serve_neutral_industries && IsTileType(tile, MP_INDUSTRY) && Industry:… in GetAcceptanceAroundTiles()
2607 } else if (IsTileType(tile, MP_INDUSTRY)) { in RemoveDockingTile()
4140 assert(IsTileType(tile, MP_INDUSTRY)); in BuildOilRig()
H A Dnewgrf_commons.cpp395 case MP_INDUSTRY: in GetTerrainType()
H A Dship_cmd.cpp617 if (IsTileType(t, MP_INDUSTRY)) { in IsShipDestinationTile()
H A Dnewgrf_debug_gui.cpp775 case MP_INDUSTRY: return GSF_INDUSTRYTILES; in GetGrfSpecFeature()
H A Ddisaster_vehicle.cpp469 if (!IsTileType(tile, MP_INDUSTRY)) return true; in DisasterTick_Aircraft()
H A Dscreenshot.cpp1012 case MP_INDUSTRY: o = OWNER_DEITY; break; in GetMinimapOwner()
H A Dtown_cmd.cpp1576 case MP_INDUSTRY: in CanFollowRoad()
3008 case MP_INDUSTRY: in CmdDeleteTown()
H A Dorder_gui.cpp394 if (IsTileType(tile, MP_STATION) || IsTileType(tile, MP_INDUSTRY)) { in GetOrderCmdFromTile()
H A Drail_cmd.cpp2708 if (!IsValidTile(tile2) || IsTileType(tile2, MP_HOUSE) || IsTileType(tile2, MP_INDUSTRY) || in TileLoop_Track()
/dports/games/openttd/openttd-12.1/src/script/api/
H A Dscript_tilelist.cpp59 if (!::IsTileType(cur_tile, MP_INDUSTRY) || ::GetIndustryIndex(cur_tile) != i->index) continue; in FillIndustryCatchment()
69 if (::IsTileType(tile, MP_INDUSTRY) && ::GetIndustryIndex(tile) == i->index) continue; in FillIndustryCatchment()
H A Dscript_industry.cpp39 if (!::IsValidTile(tile) || !::IsTileType(tile, MP_INDUSTRY)) return INVALID_INDUSTRY; in GetIndustryID()
H A Dscript_tile.cpp207 if (::IsTileType(tile, MP_INDUSTRY)) return ScriptCompany::COMPANY_INVALID; in GetOwner()
/dports/games/openttd/openttd-12.1/src/saveload/
H A Dafterload.cpp945 if (!IsTileType(t1, MP_INDUSTRY) || GetIndustryGfx(t1) != GFX_OILRIG_1) { in AfterLoadGame()
1517 if (IsTileType(t, MP_INDUSTRY)) { in AfterLoadGame()
1930 if (IsTileType(t, MP_INDUSTRY)) { in AfterLoadGame()
2462 case MP_INDUSTRY: { in AfterLoadGame()
H A Doldloader_sl.cpp296 case MP_INDUSTRY: in FixTTOMapArray()