OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Classes | Variables
TownPortalBook.cpp File Reference
#include "TownPortalBook.h"
#include "Engine/AssetsManager.h"
#include "Engine/Engine.h"
#include "Engine/Graphics/Renderer/Renderer.h"
#include "Engine/Localization.h"
#include "Engine/Party.h"
#include "Engine/Pid.h"
#include "Engine/SaveLoad.h"
#include "Engine/Objects/Actor.h"
#include "Engine/TurnEngine/TurnEngine.h"
#include "Engine/Events/Processor.h"
#include "Engine/Spells/Spells.h"
#include "Engine/MapInfo.h"
#include "GUI/GUIMessageQueue.h"
#include "GUI/UI/UIStatusBar.h"
#include "GUI/UI/UIGame.h"
#include "Media/Audio/AudioPlayer.h"
#include "Io/Mouse.h"
#include "Library/Geometry/Rect.h"

Classes

struct  TownPortalData
 

Variables

static const int TOWN_PORTAL_DESTINATION_COUNT = 6
 
static const int TOWN_PORTAL_DESTINATION_COUNT_WITH_CHEATS = 6 + 14
 
std::array< TownPortalData, TOWN_PORTAL_DESTINATION_COUNT_WITH_CHEATStownPortalList
 
static std::array< Recti, TOWN_PORTAL_DESTINATION_COUNT_WITH_CHEATStownPortalButtonsPos
 
static std::array< GraphicsImage *, TOWN_PORTAL_DESTINATION_COUNT_WITH_CHEATSui_book_townportal_icons
 
GraphicsImageui_book_townportal_background = nullptr
 
GraphicsImageui_townportal_cheat_destination_icon = nullptr
 

Variable Documentation

◆ TOWN_PORTAL_DESTINATION_COUNT

const int TOWN_PORTAL_DESTINATION_COUNT = 6
static

◆ TOWN_PORTAL_DESTINATION_COUNT_WITH_CHEATS

const int TOWN_PORTAL_DESTINATION_COUNT_WITH_CHEATS = 6 + 14
static

◆ townPortalButtonsPos

std::array<Recti, TOWN_PORTAL_DESTINATION_COUNT_WITH_CHEATS> townPortalButtonsPos
static
Initial value:
= {{
{260, 206, 80, 55},
{324, 84, 66, 56},
{147, 182, 68, 65},
{385, 239, 72, 67},
{390, 17, 67, 67},
{ 19, 283, 74, 59},
{220, 17, 39, 36},
{260, 283, 39, 36},
{147, 262, 39, 36},
{224, 104, 39, 36},
{ 67, 182, 39, 36},
{ 10, 182, 39, 36},
{ 19, 123, 39, 36},
{355, 159, 39, 36},
{150, 17, 39, 36},
{340, 17, 39, 36},
{284, 84, 39, 36},
{147, 142, 39, 36},
{400, 87, 39, 36},
{ 19, 243, 39, 36},
}}

◆ townPortalList

Initial value:
= {{
{Vec3f(-10519, 5375, 753), 512, 0, MAP_ERATHIA, QBIT_FOUNTAIN_IN_STEADWICK_ACTIVATED},
{Vec3f( -1837, -4247, 65), 65, 0, MAP_PIT, QBIT_FOUNTAIN_IN_THE_PIT_ACTIVATED},
{Vec3f( 14500, 20300, 450), 1800, 0, MAP_AVLEE, QBIT_INVALID},
{Vec3f( -2500, 3000, 2100), 1024, 0, MAP_BARROW_DOWNS, QBIT_INVALID},
{Vec3f( 10000, 18000, 50), 1024, 0, MAP_BRACADA_DESERT, QBIT_INVALID},
{Vec3f(-17000, 18000, 50), 0, 0, MAP_DEYJA, QBIT_INVALID},
{Vec3f( 12000, -10000, 400), 1024, 0, MAP_TATALIA, QBIT_INVALID},
{Vec3f( -5000, 25, 600), 0, 0, MAP_EVENMORN_ISLAND, QBIT_INVALID},
{Vec3f( 10600, 9900, 100), 0, 0, MAP_EMERALD_ISLAND, QBIT_INVALID},
{Vec3f( 15000, 4500, 1000), 1400, 0, MAP_LAND_OF_THE_GIANTS, QBIT_INVALID},
{Vec3f( 0, 16000, 2500), 1000, 0, MAP_SHOALS, QBIT_INVALID},
{Vec3f( -2500, 3400, 50), 0, 0, MAP_CELESTE, QBIT_INVALID},
{Vec3f( -3642, 10830, -1550), 0, 0, MAP_CASTLE_NAVAN, QBIT_INVALID},
{Vec3f( -5640, -253, 550), 600, 0, MAP_CASTLE_GRYPHONHEART, QBIT_INVALID},
{Vec3f( -3492, 12500, 1121), 512, 0, MAP_CASTLE_LAMBENT, QBIT_INVALID},
{Vec3f( -9916, -18482, -2800), 1024, 0, MAP_CASTLE_GLOAMING, QBIT_INVALID},
}}
@ MAP_CELESTE
@ MAP_DEYJA
@ MAP_BARROW_DOWNS
@ MAP_SHOALS
@ MAP_CASTLE_NAVAN
@ MAP_TULAREAN_FOREST
@ MAP_BRACADA_DESERT
@ MAP_EVENMORN_ISLAND
@ MAP_CASTLE_GLOAMING
@ MAP_EMERALD_ISLAND
@ MAP_AVLEE
@ MAP_CASTLE_LAMBENT
@ MAP_MOUNT_NIGHON
@ MAP_ERATHIA
@ MAP_CASTLE_HARMONDALE
@ MAP_TATALIA
@ MAP_LAND_OF_THE_GIANTS
@ MAP_CASTLE_GRYPHONHEART
@ QBIT_FOUNTAIN_IN_STEADWICK_ACTIVATED
@ QBIT_FOUNTAIN_IN_PIERPONT_ACTIVATED
@ QBIT_FOUNTAIN_IN_CELESTIA_ACTIVATED
@ QBIT_FOUNTAIN_IN_HARMONDALE_ACTIVATED
@ QBIT_FOUNTAIN_IN_MOUNT_NIGHON_ACTIVATED
@ QBIT_FOUNTAIN_IN_THE_PIT_ACTIVATED
Vec3< float > Vec3f
Definition: Vec.h:199

◆ ui_book_townportal_background

GraphicsImage* ui_book_townportal_background = nullptr

◆ ui_book_townportal_icons

std::array<GraphicsImage *, TOWN_PORTAL_DESTINATION_COUNT_WITH_CHEATS> ui_book_townportal_icons
static

◆ ui_townportal_cheat_destination_icon

GraphicsImage* ui_townportal_cheat_destination_icon = nullptr