|
OpenEnroth 90c43ae
|
#include "Engine/Objects/Character.h"#include <algorithm>#include <memory>#include <string>#include <vector>#include "Engine/Engine.h"#include "Engine/EngineCallObserver.h"#include "Engine/AssetsManager.h"#include "Engine/Data/AwardEnums.h"#include "Engine/Spells/CastSpellInfo.h"#include "Engine/Spells/Spells.h"#include "Engine/Spells/SpellEnumFunctions.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/Random/Random.h"#include "Engine/Objects/Actor.h"#include "Engine/Objects/ObjectList.h"#include "Engine/Objects/SpriteObject.h"#include "Engine/Objects/NPC.h"#include "Engine/Objects/CharacterEnumFunctions.h"#include "Engine/Objects/MonsterEnumFunctions.h"#include "Engine/Objects/SpriteEnumFunctions.h"#include "Engine/OurMath.h"#include "Engine/Party.h"#include "Engine/PriceCalculator.h"#include "Engine/SpellFxRenderer.h"#include "Engine/AttackList.h"#include "Engine/Tables/AwardTable.h"#include "Engine/Tables/HouseTable.h"#include "Engine/Tables/ItemTable.h"#include "Engine/Tables/PortraitFrameTable.h"#include "Engine/Tables/HistoryTable.h"#include "Engine/Tables/AutonoteTable.h"#include "Engine/Tables/QuestTable.h"#include "Engine/TurnEngine/TurnEngine.h"#include "Engine/Conditions.h"#include "Engine/Evt/EvtEnumFunctions.h"#include "Io/Mouse.h"#include "Media/Audio/AudioPlayer.h"#include "GUI/GUIWindow.h"#include "GUI/GUIMessageQueue.h"#include "GUI/UI/UIGame.h"#include "GUI/UI/UIStatusBar.h"#include "GUI/UI/UIMessageScroll.h"#include "GUI/UI/UISpell.h"#include "GUI/UI/UIDialogue.h"#include "GUI/UI/Books/AutonotesBook.h"#include "GUI/UI/ItemGrid.h"#include "Library/Logger/Logger.h"#include "Utility/IndexedArray.h"Classes | |
| struct | CharacterCreationAttributeProps |
Functions | |
| int | CharacterCreation_GetUnspentAttributePointCount () |
| bool | CmpSkillValue (int valToCompare, CombinedSkillValue skillValue) |
| int | cycleCharacter (bool backwards) |
| bool | ShouldLoadTexturesForRaceAndGender (int bodyType) |
| bool | IsDwarfPresentInParty (bool a1) |
| void | DamageCharacterFromMonster (Pid uObjID, ActorAbility dmgSource, signed int targetchar) |
| int CharacterCreation_GetUnspentAttributePointCount | ( | ) |
| bool CmpSkillValue | ( | int | valToCompare, |
| CombinedSkillValue | skillValue | ||
| ) |
| int cycleCharacter | ( | bool | backwards | ) |
| void DamageCharacterFromMonster | ( | Pid | uObjID, |
| ActorAbility | dmgSource, | ||
| signed int | targetchar | ||
| ) |
| bool IsDwarfPresentInParty | ( | bool | a1 | ) |
| bool ShouldLoadTexturesForRaceAndGender | ( | int | bodyType | ) |
|
staticconstexpr |
The amount of gold that a character can steal in one go is determined as [skill_level]d[mastery_die], where skill_level is the level of stealing skill, and mastery_die is picked from the table below.
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
static |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |