OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Functions | Variables
UIDialogue.cpp File Reference
#include "UIDialogue.h"
#include <vector>
#include <string>
#include "Engine/Graphics/Renderer/Renderer.h"
#include "Engine/Graphics/Image.h"
#include "Engine/Objects/Decoration.h"
#include "Engine/Localization.h"
#include "Engine/Objects/Actor.h"
#include "Engine/Objects/NPC.h"
#include "Engine/Party.h"
#include "Engine/Pid.h"
#include "Engine/mm7_data.h"
#include "Engine/AssetsManager.h"
#include "Engine/Engine.h"
#include "GUI/GUIFont.h"
#include "GUI/GUIButton.h"
#include "GUI/GUIMessageQueue.h"
#include "GUI/UI/UIGame.h"
#include "GUI/UI/UIHouses.h"
#include "GUI/UI/NPCTopics.h"
#include "Io/KeyboardInputHandler.h"
#include "Media/Audio/AudioPlayer.h"
#include "Utility/String/Ascii.h"

Functions

void initializeNPCDialogue (int npcId, int bPlayerSaysHello, Actor *actor)
 
void BuildHireableNpcDialogue ()
 
void selectNPCDialogueOption (DialogueId option)
 

Variables

int speakingNpcId
 
ActorcurrentSpeakingActor = nullptr
 
const IndexedArray< std::string, PartyAlignment_Good, PartyAlignment_EvildialogueBackgroundResourceByAlignment
 

Function Documentation

◆ BuildHireableNpcDialogue()

void BuildHireableNpcDialogue ( )

◆ initializeNPCDialogue()

void initializeNPCDialogue ( int  npcId,
int  bPlayerSaysHello,
Actor actor 
)

◆ selectNPCDialogueOption()

void selectNPCDialogueOption ( DialogueId  option)

Variable Documentation

◆ currentSpeakingActor

Actor* currentSpeakingActor = nullptr

◆ dialogueBackgroundResourceByAlignment

const IndexedArray<std::string, PartyAlignment_Good, PartyAlignment_Evil> dialogueBackgroundResourceByAlignment
Initial value:
= {
{PartyAlignment_Good, "evt02-b"},
{PartyAlignment_Evil, "evt02-c"}
}

◆ speakingNpcId

int speakingNpcId