2010-02-22 14:15:28 +00:00
|
|
|
/* $Id$ */
|
|
|
|
|
|
|
|
/*
|
|
|
|
* This file is part of OpenTTD.
|
|
|
|
* OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
|
|
|
|
* OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
* See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/** @file newgrf_airporttiles.cpp NewGRF handling of airport tiles. */
|
|
|
|
|
|
|
|
#include "stdafx.h"
|
2010-02-22 14:16:41 +00:00
|
|
|
#include "debug.h"
|
2010-02-22 14:15:28 +00:00
|
|
|
#include "newgrf_airporttiles.h"
|
2010-02-22 14:16:41 +00:00
|
|
|
#include "newgrf_spritegroup.h"
|
2010-02-22 14:16:57 +00:00
|
|
|
#include "newgrf_sound.h"
|
2010-02-22 14:16:41 +00:00
|
|
|
#include "station_base.h"
|
|
|
|
#include "water.h"
|
|
|
|
#include "landscape.h"
|
|
|
|
#include "company_base.h"
|
|
|
|
#include "town.h"
|
2010-02-22 14:17:17 +00:00
|
|
|
#include "table/strings.h"
|
2010-02-22 14:15:28 +00:00
|
|
|
#include "table/airporttiles.h"
|
2010-08-26 17:01:17 +00:00
|
|
|
#include "newgrf_animation_base.h"
|
2010-02-22 14:15:28 +00:00
|
|
|
|
|
|
|
|
2010-02-22 14:15:48 +00:00
|
|
|
AirportTileSpec AirportTileSpec::tiles[NUM_AIRPORTTILES];
|
|
|
|
|
|
|
|
AirportTileOverrideManager _airporttile_mngr(NEW_AIRPORTTILE_OFFSET, NUM_AIRPORTTILES, INVALID_AIRPORTTILE);
|
|
|
|
|
2010-02-22 14:15:28 +00:00
|
|
|
/**
|
|
|
|
* Retrieve airport tile spec for the given airport tile
|
|
|
|
* @param gfx index of airport tile
|
|
|
|
* @return A pointer to the corresponding AirportTileSpec
|
|
|
|
*/
|
|
|
|
/* static */ const AirportTileSpec *AirportTileSpec::Get(StationGfx gfx)
|
|
|
|
{
|
2010-02-22 16:32:50 +00:00
|
|
|
/* should be assert(gfx < lengthof(tiles)), but that gives compiler warnings
|
|
|
|
* since it's always true if the following holds: */
|
|
|
|
assert_compile(MAX_UVALUE(StationGfx) + 1 == lengthof(tiles));
|
2010-02-22 14:15:48 +00:00
|
|
|
return &AirportTileSpec::tiles[gfx];
|
|
|
|
}
|
|
|
|
|
2010-08-26 16:53:06 +00:00
|
|
|
/**
|
|
|
|
* Retrieve airport tile spec for the given airport tile.
|
|
|
|
* @param tile The airport tile.
|
|
|
|
* @return A pointer to the corresponding AirportTileSpec.
|
|
|
|
*/
|
|
|
|
/* static */ const AirportTileSpec *AirportTileSpec::GetByTile(TileIndex tile)
|
|
|
|
{
|
|
|
|
return AirportTileSpec::Get(GetAirportGfx(tile));
|
|
|
|
}
|
|
|
|
|
2010-02-22 14:15:48 +00:00
|
|
|
/**
|
|
|
|
* This function initializes the tile array of AirportTileSpec
|
|
|
|
*/
|
|
|
|
void AirportTileSpec::ResetAirportTiles()
|
|
|
|
{
|
|
|
|
memset(&AirportTileSpec::tiles, 0, sizeof(AirportTileSpec::tiles));
|
|
|
|
memcpy(&AirportTileSpec::tiles, &_origin_airporttile_specs, sizeof(_origin_airporttile_specs));
|
|
|
|
|
|
|
|
/* Reset any overrides that have been set. */
|
|
|
|
_airporttile_mngr.ResetOverride();
|
|
|
|
}
|
|
|
|
|
|
|
|
void AirportTileOverrideManager::SetEntitySpec(const AirportTileSpec *airpts)
|
|
|
|
{
|
|
|
|
StationGfx airpt_id = this->AddEntityID(airpts->grf_prop.local_id, airpts->grf_prop.grffile->grfid, airpts->grf_prop.subst_id);
|
|
|
|
|
|
|
|
if (airpt_id == invalid_ID) {
|
|
|
|
grfmsg(1, "AirportTile.SetEntitySpec: Too many airport tiles allocated. Ignoring.");
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
memcpy(&AirportTileSpec::tiles[airpt_id], airpts, sizeof(*airpts));
|
|
|
|
|
|
|
|
/* Now add the overrides. */
|
|
|
|
for (int i = 0; i < max_offset; i++) {
|
|
|
|
AirportTileSpec *overridden_airpts = &AirportTileSpec::tiles[i];
|
|
|
|
|
|
|
|
if (entity_overrides[i] != airpts->grf_prop.local_id || grfid_overrides[i] != airpts->grf_prop.grffile->grfid) continue;
|
|
|
|
|
|
|
|
overridden_airpts->grf_prop.override = airpt_id;
|
|
|
|
overridden_airpts->enabled = false;
|
|
|
|
entity_overrides[i] = invalid_ID;
|
|
|
|
grfid_overrides[i] = 0;
|
|
|
|
}
|
2010-02-22 14:15:28 +00:00
|
|
|
}
|
|
|
|
|
2010-02-22 14:16:41 +00:00
|
|
|
/**
|
|
|
|
* Do airporttile gfx ID translation for NewGRFs.
|
|
|
|
* @param gfx the type to get the override for.
|
|
|
|
* @return the gfx to actually work with.
|
|
|
|
*/
|
|
|
|
StationGfx GetTranslatedAirportTileID(StationGfx gfx)
|
|
|
|
{
|
|
|
|
const AirportTileSpec *it = AirportTileSpec::Get(gfx);
|
|
|
|
return it->grf_prop.override == INVALID_AIRPORTTILE ? gfx : it->grf_prop.override;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static const SpriteGroup *AirportTileResolveReal(const ResolverObject *object, const RealSpriteGroup *group)
|
|
|
|
{
|
|
|
|
/* AirportTile do not have 'real' groups. */
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Based on newhouses/newindustries equivalent, but adapted for airports.
|
|
|
|
* @param parameter from callback. It's in fact a pair of coordinates
|
|
|
|
* @param tile TileIndex from which the callback was initiated
|
|
|
|
* @param index of the industry been queried for
|
2011-11-08 17:29:01 +00:00
|
|
|
* @param grf_version8 True, if we are dealing with a new NewGRF which uses GRF version >= 8.
|
2010-02-22 14:16:41 +00:00
|
|
|
* @return a construction of bits obeying the newgrf format
|
|
|
|
*/
|
2011-11-08 17:29:01 +00:00
|
|
|
static uint32 GetNearbyAirportTileInformation(byte parameter, TileIndex tile, StationID index, bool grf_version8)
|
2010-02-22 14:16:41 +00:00
|
|
|
{
|
|
|
|
if (parameter != 0) tile = GetNearbyTile(parameter, tile); // only perform if it is required
|
|
|
|
bool is_same_airport = (IsTileType(tile, MP_STATION) && IsAirport(tile) && GetStationIndex(tile) == index);
|
|
|
|
|
2011-11-08 17:29:01 +00:00
|
|
|
return GetNearbyTileInformation(tile, grf_version8) | (is_same_airport ? 1 : 0) << 8;
|
2010-02-22 14:16:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Make an analysis of a tile and check whether it belongs to the same
|
|
|
|
* airport, and/or the same grf file
|
|
|
|
* @param tile TileIndex of the tile to query
|
|
|
|
* @param st Station to which to compare the tile to
|
|
|
|
* @param cur_grfid GRFID of the current callback
|
|
|
|
* @return value encoded as per NFO specs
|
|
|
|
*/
|
|
|
|
static uint32 GetAirportTileIDAtOffset(TileIndex tile, const Station *st, uint32 cur_grfid)
|
|
|
|
{
|
|
|
|
if (!st->TileBelongsToAirport(tile)) {
|
|
|
|
return 0xFFFF;
|
|
|
|
}
|
|
|
|
|
2010-02-22 14:16:57 +00:00
|
|
|
StationGfx gfx = GetAirportGfx(tile);
|
2010-02-22 14:16:41 +00:00
|
|
|
const AirportTileSpec *ats = AirportTileSpec::Get(gfx);
|
|
|
|
|
|
|
|
if (gfx < NEW_AIRPORTTILE_OFFSET) { // Does it belongs to an old type?
|
|
|
|
/* It is an old tile. We have to see if it's been overriden */
|
|
|
|
if (ats->grf_prop.override == INVALID_AIRPORTTILE) { // has it been overridden?
|
|
|
|
return 0xFF << 8 | gfx; // no. Tag FF + the gfx id of that tile
|
|
|
|
}
|
|
|
|
/* Overriden */
|
|
|
|
const AirportTileSpec *tile_ovr = AirportTileSpec::Get(ats->grf_prop.override);
|
|
|
|
|
|
|
|
if (tile_ovr->grf_prop.grffile->grfid == cur_grfid) {
|
|
|
|
return tile_ovr->grf_prop.local_id; // same grf file
|
|
|
|
} else {
|
|
|
|
return 0xFFFE; // not the same grf file
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/* Not an 'old type' tile */
|
2010-10-28 11:10:12 +00:00
|
|
|
if (ats->grf_prop.spritegroup[0] != NULL) { // tile has a spritegroup ?
|
2010-02-22 14:16:41 +00:00
|
|
|
if (ats->grf_prop.grffile->grfid == cur_grfid) { // same airport, same grf ?
|
|
|
|
return ats->grf_prop.local_id;
|
|
|
|
} else {
|
|
|
|
return 0xFFFE; // Defined in another grf file
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/* The tile has no spritegroup */
|
|
|
|
return 0xFF << 8 | ats->grf_prop.subst_id; // so just give him the substitute
|
|
|
|
}
|
|
|
|
|
2011-11-08 17:23:30 +00:00
|
|
|
static uint32 AirportTileGetVariable(const ResolverObject *object, byte variable, uint32 parameter, bool *available)
|
2010-02-22 14:16:41 +00:00
|
|
|
{
|
|
|
|
const Station *st = object->u.airport.st;
|
|
|
|
TileIndex tile = object->u.airport.tile;
|
|
|
|
assert(st != NULL);
|
|
|
|
|
|
|
|
if (object->scope == VSG_SCOPE_PARENT) {
|
|
|
|
DEBUG(grf, 1, "Parent scope for airport tiles unavailable");
|
|
|
|
*available = false;
|
|
|
|
return UINT_MAX;
|
|
|
|
}
|
|
|
|
|
|
|
|
extern uint32 GetRelativePosition(TileIndex tile, TileIndex ind_tile);
|
|
|
|
|
|
|
|
switch (variable) {
|
|
|
|
/* Terrain type */
|
|
|
|
case 0x41: return GetTerrainType(tile);
|
|
|
|
|
|
|
|
/* Current town zone of the tile in the nearest town */
|
|
|
|
case 0x42: return GetTownRadiusGroup(ClosestTownFromTile(tile, UINT_MAX), tile);
|
|
|
|
|
|
|
|
/* Position relative to most northern airport tile. */
|
2010-02-22 14:17:07 +00:00
|
|
|
case 0x43: return GetRelativePosition(tile, st->airport.tile);
|
2010-02-22 14:16:41 +00:00
|
|
|
|
|
|
|
/* Animation frame of tile */
|
2010-08-26 14:45:45 +00:00
|
|
|
case 0x44: return GetAnimationFrame(tile);
|
2010-02-22 14:16:41 +00:00
|
|
|
|
|
|
|
/* Land info of nearby tiles */
|
2011-11-08 17:40:48 +00:00
|
|
|
case 0x60: return GetNearbyAirportTileInformation(parameter, tile, st->index, object->grffile->grf_version >= 8);
|
2010-02-22 14:16:41 +00:00
|
|
|
|
|
|
|
/* Animation stage of nearby tiles */
|
|
|
|
case 0x61:
|
|
|
|
tile = GetNearbyTile(parameter, tile);
|
|
|
|
if (st->TileBelongsToAirport(tile)) {
|
2010-08-26 14:45:45 +00:00
|
|
|
return GetAnimationFrame(tile);
|
2010-02-22 14:16:41 +00:00
|
|
|
}
|
|
|
|
return UINT_MAX;
|
|
|
|
|
|
|
|
/* Get airport tile ID at offset */
|
|
|
|
case 0x62: return GetAirportTileIDAtOffset(GetNearbyTile(parameter, tile), st, object->grffile->grfid);
|
|
|
|
}
|
|
|
|
|
2010-11-15 16:43:46 +00:00
|
|
|
DEBUG(grf, 1, "Unhandled airport tile variable 0x%X", variable);
|
2010-02-22 14:16:41 +00:00
|
|
|
|
|
|
|
*available = false;
|
|
|
|
return UINT_MAX;
|
|
|
|
}
|
|
|
|
|
2010-02-22 14:17:33 +00:00
|
|
|
static uint32 AirportTileGetRandomBits(const ResolverObject *object)
|
|
|
|
{
|
|
|
|
const Station *st = object->u.airport.st;
|
|
|
|
const TileIndex tile = object->u.airport.tile;
|
|
|
|
return (st == NULL ? 0 : st->random_bits) | (tile == INVALID_TILE ? 0 : GetStationTileRandomBits(tile) << 16);
|
|
|
|
}
|
|
|
|
|
2011-06-12 20:34:37 +00:00
|
|
|
static void AirportTileResolver(ResolverObject *res, const AirportTileSpec *ats, TileIndex tile, Station *st)
|
2010-02-22 14:16:41 +00:00
|
|
|
{
|
2010-02-22 14:17:33 +00:00
|
|
|
res->GetRandomBits = AirportTileGetRandomBits;
|
2010-02-22 14:16:41 +00:00
|
|
|
res->GetTriggers = NULL;
|
|
|
|
res->SetTriggers = NULL;
|
|
|
|
res->GetVariable = AirportTileGetVariable;
|
2012-11-10 20:37:31 +00:00
|
|
|
res->ResolveRealMethod = AirportTileResolveReal;
|
2011-06-12 20:38:46 +00:00
|
|
|
res->StorePSA = NULL;
|
2010-02-22 14:16:41 +00:00
|
|
|
|
|
|
|
assert(st != NULL);
|
2010-03-18 21:02:20 +00:00
|
|
|
res->u.airport.airport_id = st->airport.type;
|
2010-02-22 14:16:41 +00:00
|
|
|
res->u.airport.st = st;
|
|
|
|
res->u.airport.tile = tile;
|
|
|
|
|
|
|
|
res->callback = CBID_NO_CALLBACK;
|
|
|
|
res->callback_param1 = 0;
|
|
|
|
res->callback_param2 = 0;
|
2011-07-04 20:31:57 +00:00
|
|
|
res->ResetState();
|
2010-02-22 14:16:41 +00:00
|
|
|
|
|
|
|
res->grffile = ats->grf_prop.grffile;
|
|
|
|
}
|
|
|
|
|
2011-10-31 22:31:35 +00:00
|
|
|
uint16 GetAirportTileCallback(CallbackID callback, uint32 param1, uint32 param2, const AirportTileSpec *ats, Station *st, TileIndex tile, int extra_data = 0)
|
2010-02-22 14:16:41 +00:00
|
|
|
{
|
|
|
|
ResolverObject object;
|
|
|
|
const SpriteGroup *group;
|
|
|
|
|
2010-08-26 16:56:06 +00:00
|
|
|
AirportTileResolver(&object, ats, tile, st);
|
2010-02-22 14:16:41 +00:00
|
|
|
object.callback = callback;
|
|
|
|
object.callback_param1 = param1;
|
|
|
|
object.callback_param2 = param2;
|
|
|
|
|
2010-08-26 16:56:06 +00:00
|
|
|
group = SpriteGroup::Resolve(ats->grf_prop.spritegroup[0], &object);
|
2010-02-22 14:16:41 +00:00
|
|
|
if (group == NULL) return CALLBACK_FAILED;
|
|
|
|
|
|
|
|
return group->GetCallbackResult();
|
|
|
|
}
|
|
|
|
|
|
|
|
static void AirportDrawTileLayout(const TileInfo *ti, const TileLayoutSpriteGroup *group, byte colour, StationGfx gfx)
|
|
|
|
{
|
2011-05-29 16:56:22 +00:00
|
|
|
const DrawTileSprites *dts = group->ProcessRegisters(NULL);
|
2010-02-22 14:16:41 +00:00
|
|
|
|
|
|
|
SpriteID image = dts->ground.sprite;
|
|
|
|
SpriteID pal = dts->ground.pal;
|
|
|
|
|
|
|
|
if (GB(image, 0, SPRITE_WIDTH) != 0) {
|
2010-09-05 13:18:54 +00:00
|
|
|
if (image == SPR_FLAT_WATER_TILE && IsTileOnWater(ti->tile)) {
|
2010-02-22 14:16:41 +00:00
|
|
|
DrawWaterClassGround(ti);
|
|
|
|
} else {
|
|
|
|
DrawGroundSprite(image, GroundSpritePaletteTransform(image, pal, GENERAL_SPRITE_COLOUR(colour)));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
DrawNewGRFTileSeq(ti, dts, TO_BUILDINGS, 0, GENERAL_SPRITE_COLOUR(colour));
|
|
|
|
}
|
|
|
|
|
|
|
|
bool DrawNewAirportTile(TileInfo *ti, Station *st, StationGfx gfx, const AirportTileSpec *airts)
|
|
|
|
{
|
|
|
|
const SpriteGroup *group;
|
|
|
|
ResolverObject object;
|
|
|
|
|
|
|
|
if (ti->tileh != SLOPE_FLAT) {
|
|
|
|
bool draw_old_one = true;
|
2010-08-26 11:18:32 +00:00
|
|
|
if (HasBit(airts->callback_mask, CBM_AIRT_DRAW_FOUNDATIONS)) {
|
2010-02-22 14:16:41 +00:00
|
|
|
/* Called to determine the type (if any) of foundation to draw */
|
2010-08-26 16:56:06 +00:00
|
|
|
uint32 callback_res = GetAirportTileCallback(CBID_AIRPTILE_DRAW_FOUNDATIONS, 0, 0, airts, st, ti->tile);
|
2011-11-08 17:26:49 +00:00
|
|
|
if (callback_res != CALLBACK_FAILED) draw_old_one = ConvertBooleanCallback(airts->grf_prop.grffile, CBID_AIRPTILE_DRAW_FOUNDATIONS, callback_res);
|
2010-02-22 14:16:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
if (draw_old_one) DrawFoundation(ti, FOUNDATION_LEVELED);
|
|
|
|
}
|
|
|
|
|
2010-08-26 16:56:06 +00:00
|
|
|
AirportTileResolver(&object, airts, ti->tile, st);
|
2010-02-22 14:16:41 +00:00
|
|
|
|
2010-08-10 15:49:35 +00:00
|
|
|
group = SpriteGroup::Resolve(airts->grf_prop.spritegroup[0], &object);
|
2010-02-22 14:16:41 +00:00
|
|
|
if (group == NULL || group->type != SGT_TILELAYOUT) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
const TileLayoutSpriteGroup *tlgroup = (const TileLayoutSpriteGroup *)group;
|
|
|
|
AirportDrawTileLayout(ti, tlgroup, Company::Get(st->owner)->colour, gfx);
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
2010-08-26 17:01:17 +00:00
|
|
|
/** Helper class for animation control. */
|
2011-10-31 22:31:35 +00:00
|
|
|
struct AirportTileAnimationBase : public AnimationBase<AirportTileAnimationBase, AirportTileSpec, Station, int, GetAirportTileCallback> {
|
2010-08-26 17:01:17 +00:00
|
|
|
static const CallbackID cb_animation_speed = CBID_AIRPTILE_ANIMATION_SPEED;
|
|
|
|
static const CallbackID cb_animation_next_frame = CBID_AIRPTILE_ANIM_NEXT_FRAME;
|
2010-02-22 14:16:57 +00:00
|
|
|
|
2010-08-26 17:01:17 +00:00
|
|
|
static const AirportTileCallbackMask cbm_animation_speed = CBM_AIRT_ANIM_SPEED;
|
|
|
|
static const AirportTileCallbackMask cbm_animation_next_frame = CBM_AIRT_ANIM_NEXT_FRAME;
|
|
|
|
};
|
2010-02-22 14:16:57 +00:00
|
|
|
|
2010-08-26 17:01:17 +00:00
|
|
|
void AnimateAirportTile(TileIndex tile)
|
2010-02-22 14:16:57 +00:00
|
|
|
{
|
2010-08-26 17:01:17 +00:00
|
|
|
const AirportTileSpec *ats = AirportTileSpec::GetByTile(tile);
|
|
|
|
if (ats == NULL) return;
|
2010-02-22 14:16:57 +00:00
|
|
|
|
2010-08-26 17:01:17 +00:00
|
|
|
AirportTileAnimationBase::AnimateTile(ats, Station::GetByTile(tile), tile, HasBit(ats->animation_special_flags, 0));
|
2010-02-22 14:16:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void AirportTileAnimationTrigger(Station *st, TileIndex tile, AirpAnimationTrigger trigger, CargoID cargo_type)
|
|
|
|
{
|
2010-08-26 16:56:06 +00:00
|
|
|
const AirportTileSpec *ats = AirportTileSpec::GetByTile(tile);
|
2010-08-26 15:31:40 +00:00
|
|
|
if (!HasBit(ats->animation.triggers, trigger)) return;
|
2010-02-22 14:16:57 +00:00
|
|
|
|
2010-08-26 17:01:17 +00:00
|
|
|
AirportTileAnimationBase::ChangeAnimationFrame(CBID_AIRPTILE_ANIM_START_STOP, ats, st, tile, Random(), (uint8)trigger | (cargo_type << 8));
|
2010-02-22 14:16:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void AirportAnimationTrigger(Station *st, AirpAnimationTrigger trigger, CargoID cargo_type)
|
|
|
|
{
|
2010-02-22 14:17:07 +00:00
|
|
|
if (st->airport.tile == INVALID_TILE) return;
|
2010-02-22 14:16:57 +00:00
|
|
|
|
2010-02-22 14:17:07 +00:00
|
|
|
TILE_AREA_LOOP(tile, st->airport) {
|
2010-02-22 14:16:57 +00:00
|
|
|
if (st->TileBelongsToAirport(tile)) AirportTileAnimationTrigger(st, tile, trigger, cargo_type);
|
|
|
|
}
|
|
|
|
}
|
2010-02-22 14:16:41 +00:00
|
|
|
|
2010-04-24 13:35:18 +00:00
|
|
|
/**
|
|
|
|
* Resolve an airport tile's spec and such so we can get a variable.
|
|
|
|
* @param ro The resolver object to fill.
|
|
|
|
* @param index The airport tile to get the data from.
|
|
|
|
*/
|
|
|
|
void GetAirportTileTypeResolver(ResolverObject *ro, uint index)
|
|
|
|
{
|
2010-08-26 16:56:06 +00:00
|
|
|
AirportTileResolver(ro, AirportTileSpec::GetByTile(index), index, Station::GetByTile(index));
|
2010-04-24 13:35:18 +00:00
|
|
|
}
|