OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Classes | Functions | Variables
Transport.cpp File Reference
#include "Transport.h"
#include <string>
#include <array>
#include <vector>
#include "GUI/UI/UIStatusBar.h"
#include "GUI/GUIFont.h"
#include "GUI/GUIButton.h"
#include "GUI/GUIMessageQueue.h"
#include "Engine/Data/HouseEnumFunctions.h"
#include "Engine/AssetsManager.h"
#include "Engine/Localization.h"
#include "Engine/SaveLoad.h"
#include "Engine/PriceCalculator.h"
#include "Engine/Graphics/Camera.h"
#include "Engine/Objects/NPC.h"
#include "Engine/MapInfo.h"
#include "Engine/Party.h"
#include "Engine/Engine.h"
#include "Media/Audio/AudioPlayer.h"
#include "Utility/IndexedArray.h"

Classes

struct  TransportInfo
 

Functions

bool isTravelAvailable (HouseId houseId)
 

Variables

static constexpr std::array< TransportInfo, 35 > transportSchedule
 
static constexpr IndexedArray< std::array< int, 4 >, HOUSE_FIRST_TRANSPORT, HOUSE_LAST_TRANSPORTtransportRoutes
 

Function Documentation

◆ isTravelAvailable()

bool isTravelAvailable ( HouseId  houseId)

Variable Documentation

◆ transportRoutes

constexpr IndexedArray<std::array<int, 4>, HOUSE_FIRST_TRANSPORT, HOUSE_LAST_TRANSPORT> transportRoutes
staticconstexpr
Initial value:
= {
{HOUSE_STABLE_HARMONDALE, { 0, 1, 1, 34 }},
{HOUSE_STABLE_ERATHIA, { 2, 3, 4, 5 }},
{HOUSE_STABLE_TULAREAN_FOREST, { 6, 7, 8, 8 }},
{HOUSE_STABLE_DEYJA, { 9, 10, 10, 10 }},
{HOUSE_STABLE_BRACADA_DESERT, { 11, 11, 12, 12 }},
{HOUSE_STABLE_TATALIA, { 13, 13, 13, 13 }},
{HOUSE_STABLE_AVLEE, { 14, 14, 15, 15 }},
{HOUSE_61, { 255, 255, 255, 255 }},
{HOUSE_62, { 255, 255, 255, 255 }},
{HOUSE_BOAT_EMERALD_ISLAND, { 255, 255, 255, 255 }},
{HOUSE_BOAT_ERATHIA, { 16, 17, 18, 19 }},
{HOUSE_BOAT_TULAREAN_FOREST, { 18, 20, 21, 21 }},
{HOUSE_BOAT_BRACADA_DESERT, { 22, 23, 24, 25 }},
{HOUSE_BOAT_EVENMORN_ISLAND, { 22, 22, 23, 23 }},
{HOUSE_68, { 255, 255, 255, 255 }},
{HOUSE_BOAT_TATALIA, { 27, 28, 29, 30 }},
{HOUSE_BOAT_AVLEE, { 31, 32, 33, 33 }},
{HOUSE_71, { 24, 24, 24, 24 }},
{HOUSE_72, { 255, 255, 255, 255 }},
{HOUSE_73, { 255, 255, 255, 255 }}
}
@ HOUSE_BOAT_ERATHIA
@ HOUSE_STABLE_ERATHIA
@ HOUSE_BOAT_EVENMORN_ISLAND
@ HOUSE_BOAT_AVLEE
@ HOUSE_STABLE_BRACADA_DESERT
@ HOUSE_BOAT_EMERALD_ISLAND
@ HOUSE_BOAT_BRACADA_DESERT
@ HOUSE_STABLE_TULAREAN_FOREST
@ HOUSE_STABLE_DEYJA
@ HOUSE_BOAT_TATALIA
@ HOUSE_STABLE_HARMONDALE
@ HOUSE_STABLE_AVLEE
@ HOUSE_STABLE_TATALIA
@ HOUSE_BOAT_TULAREAN_FOREST

◆ transportSchedule

constexpr std::array<TransportInfo, 35> transportSchedule
staticconstexpr