OpenEnroth 73e68f7
|
#include <string>
#include <vector>
#include "Engine/Tables/HouseTable.h"
#include "Engine/MapEnums.h"
#include "GUI/GUIWindow.h"
#include "Utility/IndexedArray.h"
#include "UIHouseEnums.h"
Classes | |
struct | HouseNpcDesc |
class | GUIWindow_House |
struct | HouseAnimDescr |
Enumerations | |
enum class | HouseNpcType { HOUSE_PROPRIETOR , HOUSE_NPC , HOUSE_TRANSITION } |
Functions | |
void | BackToHouseMenu () |
void | selectProprietorDialogueOption (DialogueId option) |
void | prepareHouse (HouseId house) |
void | createHouseUI (HouseId houseId) |
bool | enterHouse (HouseId uHouseID) |
bool | houseDialogPressEscape () |
void | playHouseSound (HouseId houseID, HouseSoundType type) |
void | selectHouseNPCDialogueOption (DialogueId topic) |
void | updateHouseNPCTopics (int npc) |
Variables | |
constexpr int | SIDE_TEXT_BOX_WIDTH = 144 |
constexpr int | SIDE_TEXT_BOX_POS_X = 484 |
constexpr int | SIDE_TEXT_BOX_POS_Z = 334 |
constexpr int | SIDE_TEXT_BOX_POS_Y = 113 |
constexpr int | SIDE_TEXT_BOX_BODY_TEXT_HEIGHT = 174 |
constexpr int | SIDE_TEXT_BOX_BODY_TEXT_OFFSET = 138 |
constexpr int | SIDE_TEXT_BOX_MAX_SPACING = 32 |
GraphicsImage * | _591428_endcap |
std::array< const HouseAnimDescr, 196 > | pAnimatedRooms |
const IndexedArray< int, HOUSE_TYPE_WEAPON_SHOP, HOUSE_TYPE_DARK_GUILD > | itemAmountInShop |
std::vector< HouseNpcDesc > | houseNpcs |
int | currentHouseNpc |
|
strong |
void BackToHouseMenu | ( | ) |
void createHouseUI | ( | HouseId | houseId | ) |
bool enterHouse | ( | HouseId | uHouseID | ) |
bool houseDialogPressEscape | ( | ) |
void playHouseSound | ( | HouseId | houseID, |
HouseSoundType | type | ||
) |
void prepareHouse | ( | HouseId | house | ) |
void selectHouseNPCDialogueOption | ( | DialogueId | topic | ) |
void selectProprietorDialogueOption | ( | DialogueId | option | ) |
void updateHouseNPCTopics | ( | int | npc | ) |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |