OpenEnroth 73e68f7
|
#include "Engine/Objects/NPC.h"
#include <string>
#include "Engine/Engine.h"
#include "Engine/Graphics/Indoor.h"
#include "Engine/Graphics/Renderer/Renderer.h"
#include "Engine/Localization.h"
#include "Engine/Objects/Actor.h"
#include "Engine/Party.h"
#include "Engine/MapEnumFunctions.h"
#include "Engine/Spells/CastSpellInfo.h"
#include "Engine/Tables/NPCTable.h"
#include "GUI/GUIButton.h"
#include "GUI/GUIMessageQueue.h"
#include "GUI/UI/UIStatusBar.h"
#include "Media/Audio/AudioPlayer.h"
#include "Library/Logger/Logger.h"
Functions | |
bool | CheckPortretAgainstSex (int portret_num, int sex) |
NPCData * | getNPCData (int npcId) |
bool | PartyHasDragon () |
bool | CheckHiredNPCSpeciality (NpcProfession prof) |
NpcType | getNPCType (int npcId) |
const std::string & | GetProfessionActionText (NpcProfession prof) |
int | UseNPCSkill (NpcProfession profession, int id) |
Variables | |
static const Segment< Condition > | standardConditionsExcludeDead = {CONDITION_CURSED, CONDITION_UNCONSCIOUS} |
static const Segment< Condition > | standardConditionsIncludeDead = {CONDITION_CURSED, CONDITION_ERADICATED} |
bool CheckHiredNPCSpeciality | ( | NpcProfession | prof | ) |
bool CheckPortretAgainstSex | ( | int | portret_num, |
int | sex | ||
) |
NPCData * getNPCData | ( | int | npcId | ) |
npcId | If positive, means ID of NPC (quest or hireable). If negative, then it's absolute value minus one is index of party hireling. |
NpcType getNPCType | ( | int | npcId | ) |
const std::string & GetProfessionActionText | ( | NpcProfession | prof | ) |
bool PartyHasDragon | ( | ) |
int UseNPCSkill | ( | NpcProfession | profession, |
int | id | ||
) |
|
static |
|
static |