Home
last modified time | relevance | path

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

12

/dports/games/openttd/openttd-12.1/src/
H A Dnewgrf_airport.cpp89 AirportSpec AirportSpec::specs[NUM_AIRPORTS]; ///< Airport specifications.
97 /* static */ const AirportSpec *AirportSpec::Get(byte type) in Get()
100 const AirportSpec *as = &AirportSpec::specs[type]; in Get()
105 as = &AirportSpec::specs[subst_id]; in Get()
117 /* static */ AirportSpec *AirportSpec::GetWithoutOverride(byte type) in GetWithoutOverride()
120 return &AirportSpec::specs[type]; in GetWithoutOverride()
153 void AirportSpec::ResetAirports() in ResetAirports()
156 memset(&AirportSpec::specs, 0, sizeof(AirportSpec::specs)); in ResetAirports()
157 memcpy(&AirportSpec::specs, &_origin_airport_specs, sizeof(AirportSpec) * NEW_AIRPORT_OFFSET); in ResetAirports()
168 AirportSpec *as = AirportSpec::GetWithoutOverride(i); in BindAirportSpecs()
[all …]
H A Dnewgrf_airport.h98 struct AirportSpec { struct
120 static const AirportSpec *Get(byte type); argument
121 static AirportSpec *GetWithoutOverride(byte type);
135 static const AirportSpec dummy; ///< The dummy airport. argument
138 static AirportSpec specs[NUM_AIRPORTS]; ///< Specs of the airports.
142 typedef NewGRFClass<AirportSpec, AirportClassID, APC_MAX> AirportClass;
146 StringID GetAirportTextCallback(const AirportSpec *as, byte layout, uint16 callback);
H A Dairport_gui.cpp41 SpriteID GetCustomAirportSprite(const AirportSpec *as, byte layout);
268 const AirportSpec *as = ac->GetSpec(_selected_airport_index); in BuildAirportWindow()
328 const AirportSpec *as = AirportSpec::Get(i); in UpdateWidgetSize()
341 const AirportSpec *as = AirportSpec::Get(i); in UpdateWidgetSize()
357 const AirportSpec *as = AirportSpec::Get(i); in UpdateWidgetSize()
382 const AirportSpec *as = apclass->GetSpec(i); in DrawWidget()
423 …const AirportSpec *as = AirportClass::Get(_selected_airport_class)->GetSpec(_selected_airport_inde… in OnPaint()
463 …const AirportSpec *as = AirportClass::Get(_selected_airport_class)->GetSpec(_selected_airport_inde… in UpdateSelectSize()
490 const AirportSpec *as = AirportClass::Get(_selected_airport_class)->GetSpec(num_clicked); in OnClick()
529 const AirportSpec *as = sel_apclass->GetSpec(i); in SelectFirstAvailableAirport()
[all …]
H A Dstation_base.h317 const AirportSpec *GetSpec() const in GetSpec()
319 if (this->tile == INVALID_TILE) return &AirportSpec::dummy; in GetSpec()
320 return AirportSpec::Get(this->type); in GetSpec()
350 const AirportSpec *as = this->GetSpec(); in GetRotatedTileFromOffset()
372 const AirportSpec *as = this->GetSpec(); in GetHangarTile()
389 const AirportSpec *as = this->GetSpec(); in GetHangarExitDirection()
411 const AirportSpec *as = this->GetSpec(); in GetNumHangars()
430 const AirportSpec *as = this->GetSpec(); in GetHangarDataByTile()
/dports/games/openttd/openttd-12.1/src/script/api/
H A Dscript_airport.cpp20 return IsAirportInformationAvailable(type) && ::AirportSpec::Get(type)->IsAvailable(); in IsValidAirportType()
25 return type >= 0 && type < (AirportType)NUM_AIRPORTS && AirportSpec::Get(type)->enabled; in IsAirportInformationAvailable()
32 const AirportSpec *as = ::AirportSpec::Get(type); in GetPrice()
54 return ::AirportSpec::Get(type)->size_x; in GetAirportWidth()
61 return ::AirportSpec::Get(type)->size_y; in GetAirportHeight()
131 extern Town *AirportGetNearestTown(const AirportSpec *as, const TileIterator &it, uint &mindist); in GetNoiseLevelIncrease()
132 extern uint8 GetAirportNoiseLevelForDistance(const AirportSpec *as, uint distance); in GetNoiseLevelIncrease()
137 const AirportSpec *as = ::AirportSpec::Get(type); in GetNoiseLevelIncrease()
152 extern Town *AirportGetNearestTown(const AirportSpec *as, const TileIterator &it, uint &mindist); in GetNearestTown()
157 const AirportSpec *as = AirportSpec::Get(type); in GetNearestTown()
[all …]
/dports/lang/gcc10/gcc-10.3.0/gcc/testsuite/gcc.dg/
H A Dpr48235.c24 struct AirportSpec struct
31 struct AirportSpec dummy; argument
/dports/devel/arm-none-eabi-gcc492/gcc-4.9.2/gcc/testsuite/gcc.dg/
H A Dpr48235.c24 struct AirportSpec struct
31 struct AirportSpec dummy; argument
/dports/devel/riscv64-gcc/gcc-8.3.0/gcc/testsuite/gcc.dg/
H A Dpr48235.c24 struct AirportSpec struct
31 struct AirportSpec dummy; argument
/dports/devel/avr-gcc/gcc-10.2.0/gcc/testsuite/gcc.dg/
H A Dpr48235.c24 struct AirportSpec struct
31 struct AirportSpec dummy; argument
/dports/lang/gcc11/gcc-11.2.0/gcc/testsuite/gcc.dg/
H A Dpr48235.c24 struct AirportSpec struct
31 struct AirportSpec dummy; argument
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/gcc/testsuite/gcc.dg/
H A Dpr48235.c24 struct AirportSpec struct
31 struct AirportSpec dummy; argument
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/gcc.dg/
H A Dpr48235.c24 struct AirportSpec struct
31 struct AirportSpec dummy; argument
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/gcc.dg/
H A Dpr48235.c24 struct AirportSpec struct
31 struct AirportSpec dummy; argument
/dports/lang/gcc9-aux/gcc-9.1.0/gcc/testsuite/gcc.dg/
H A Dpr48235.c24 struct AirportSpec struct
31 struct AirportSpec dummy; argument
/dports/lang/gcc48/gcc-4.8.5/gcc/testsuite/gcc.dg/
H A Dpr48235.c24 struct AirportSpec struct
31 struct AirportSpec dummy; argument
/dports/lang/gcc9-devel/gcc-9-20211007/gcc/testsuite/gcc.dg/
H A Dpr48235.c24 struct AirportSpec struct
31 struct AirportSpec dummy; argument
/dports/devel/riscv32-unknown-elf-gcc/gcc-8.4.0/gcc/testsuite/gcc.dg/
H A Dpr48235.c24 struct AirportSpec struct
31 struct AirportSpec dummy; argument
/dports/lang/gcc11-devel/gcc-11-20211009/gcc/testsuite/gcc.dg/
H A Dpr48235.c24 struct AirportSpec struct
31 struct AirportSpec dummy; argument
/dports/lang/gcc8/gcc-8.5.0/gcc/testsuite/gcc.dg/
H A Dpr48235.c24 struct AirportSpec struct
31 struct AirportSpec dummy; argument
/dports/lang/gnat_util/gcc-6-20180516/gcc/testsuite/gcc.dg/
H A Dpr48235.c24 struct AirportSpec struct
31 struct AirportSpec dummy; argument
/dports/lang/gcc9/gcc-9.4.0/gcc/testsuite/gcc.dg/
H A Dpr48235.c24 struct AirportSpec struct
31 struct AirportSpec dummy; argument
/dports/misc/cxx_atomics_pic/gcc-11.2.0/gcc/testsuite/gcc.dg/
H A Dpr48235.c24 struct AirportSpec struct
31 struct AirportSpec dummy; argument
/dports/lang/gcc10-devel/gcc-10-20211008/gcc/testsuite/gcc.dg/
H A Dpr48235.c24 struct AirportSpec struct
31 struct AirportSpec dummy; argument
/dports/devel/mingw32-gcc/gcc-4.8.1/gcc/testsuite/gcc.dg/
H A Dpr48235.c24 struct AirportSpec struct
31 struct AirportSpec dummy; argument
/dports/lang/gcc12-devel/gcc-12-20211205/gcc/testsuite/gcc.dg/
H A Dpr48235.c24 struct AirportSpec struct
31 struct AirportSpec dummy; argument

12