OpenEnroth 73e68f7
|
#include "UIHouses.h"
#include <cstdlib>
#include <vector>
#include <utility>
#include <string>
#include "Engine/AssetsManager.h"
#include "Engine/Engine.h"
#include "Engine/Data/AwardEnums.h"
#include "Engine/Data/HouseEnumFunctions.h"
#include "Engine/Graphics/Camera.h"
#include "Engine/Objects/Decoration.h"
#include "Engine/Graphics/Indoor.h"
#include "Engine/Graphics/Image.h"
#include "Engine/Graphics/Renderer/Renderer.h"
#include "Engine/Localization.h"
#include "Engine/MapInfo.h"
#include "Engine/Party.h"
#include "Engine/PriceCalculator.h"
#include "Engine/Tables/HouseTable.h"
#include "Engine/Tables/TransitionTable.h"
#include "GUI/GUIButton.h"
#include "GUI/GUIFont.h"
#include "GUI/GUIWindow.h"
#include "GUI/GUIMessageQueue.h"
#include "GUI/UI/UIDialogue.h"
#include "GUI/UI/UIGame.h"
#include "GUI/UI/UIStatusBar.h"
#include "GUI/UI/NPCTopics.h"
#include "GUI/UI/Houses/MagicGuild.h"
#include "GUI/UI/Houses/Bank.h"
#include "GUI/UI/Houses/Jail.h"
#include "GUI/UI/Houses/Tavern.h"
#include "GUI/UI/Houses/Temple.h"
#include "GUI/UI/Houses/Training.h"
#include "GUI/UI/Houses/Transport.h"
#include "GUI/UI/Houses/MercenaryGuild.h"
#include "GUI/UI/Houses/TownHall.h"
#include "GUI/UI/Houses/Shops.h"
#include "Io/Mouse.h"
#include "Io/KeyboardInputHandler.h"
#include "Media/Audio/AudioPlayer.h"
#include "Media/MediaPlayer.h"
#include "Utility/Math/TrigLut.h"
Functions | |
bool | enterHouse (HouseId uHouseID) |
void | prepareHouse (HouseId house) |
void | NPCHireableDialogPrepare () |
void | selectHouseNPCDialogueOption (DialogueId topic) |
void | updateHouseNPCTopics (int npc) |
void | selectProprietorDialogueOption (DialogueId option) |
bool | houseDialogPressEscape () |
void | createHouseUI (HouseId houseId) |
void | BackToHouseMenu () |
void | playHouseSound (HouseId houseID, HouseSoundType type) |
Variables | |
GraphicsImage * | _591428_endcap = nullptr |
std::vector< HouseNpcDesc > | houseNpcs |
int | currentHouseNpc |
std::array< const HouseAnimDescr, 196 > | pAnimatedRooms |
const IndexedArray< int, HOUSE_TYPE_WEAPON_SHOP, HOUSE_TYPE_DARK_GUILD > | itemAmountInShop |
static constexpr IndexedArray< const char *, HOUSE_TYPE_WEAPON_SHOP, HOUSE_TYPE_MIRRORED_PATH_GUILD > | shopBackgroundNames |
void BackToHouseMenu | ( | ) |
void createHouseUI | ( | HouseId | houseId | ) |
bool enterHouse | ( | HouseId | uHouseID | ) |
bool houseDialogPressEscape | ( | ) |
void NPCHireableDialogPrepare | ( | ) |
TODO(Nik-RE-dev): untested until houses NPC can join the party
void playHouseSound | ( | HouseId | houseID, |
HouseSoundType | type | ||
) |
void prepareHouse | ( | HouseId | house | ) |
void selectHouseNPCDialogueOption | ( | DialogueId | topic | ) |
void selectProprietorDialogueOption | ( | DialogueId | option | ) |
void updateHouseNPCTopics | ( | int | npc | ) |
GraphicsImage* _591428_endcap = nullptr |
int currentHouseNpc |
std::vector<HouseNpcDesc> houseNpcs |
const IndexedArray<int, HOUSE_TYPE_WEAPON_SHOP, HOUSE_TYPE_DARK_GUILD> itemAmountInShop |
std::array<const HouseAnimDescr, 196> pAnimatedRooms |
|
staticconstexpr |