OpenEnroth 73e68f7
|
#include <array>
#include <algorithm>
#include <string>
#include "Engine/Engine.h"
#include "Engine/AssetsManager.h"
#include "Engine/EngineIocContainer.h"
#include "Engine/Graphics/Sprites.h"
#include "Engine/Graphics/Viewport.h"
#include "Engine/Graphics/Vis.h"
#include "Engine/Graphics/Image.h"
#include "Engine/Graphics/Renderer/Renderer.h"
#include "Engine/Localization.h"
#include "Engine/Objects/Actor.h"
#include "Engine/Objects/Chest.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/Random/Random.h"
#include "Engine/Tables/ItemTable.h"
#include "Engine/Tables/PortraitFrameTable.h"
#include "Engine/Spells/Spells.h"
#include "Engine/Party.h"
#include "Engine/MapEnumFunctions.h"
#include "Engine/Time/Timer.h"
#include "Engine/Conditions.h"
#include "Io/Mouse.h"
#include "GUI/GUIButton.h"
#include "GUI/GUIMessageQueue.h"
#include "GUI/UI/Books/MapBook.h"
#include "GUI/UI/UICharacter.h"
#include "GUI/UI/UIPopup.h"
#include "GUI/UI/UIGame.h"
#include "GUI/UI/UIStatusBar.h"
#include "GUI/UI/UIChest.h"
#include "GUI/UI/Houses/Shops.h"
#include "Media/Audio/AudioPlayer.h"
#include "Library/Logger/Logger.h"
Classes | |
struct | stat_coord |
Functions | |
void | Inventory_ItemPopupAndAlchemy () |
Color | GetSpellColor (signed int a1) |
uint64_t | GetExperienceRequiredForLevel (int level) |
static void | CharacterUI_DrawTooltip (std::string_view title, std::string_view content) |
void | DrawPopupWindow (unsigned int uX, unsigned int uY, unsigned int uWidth, unsigned int uHeight) |
void | GameUI_DrawItemInfo (ItemGen *inspect_item) |
void | MonsterPopup_Draw (unsigned int uActorID, GUIWindow *pWindow) |
std::string | CharacterUI_GetSkillDescText (int uPlayerID, CharacterSkillType uPlayerSkillType) |
Generating message for skill description popup. More... | |
void | CharacterUI_SkillsTab_ShowHint () |
void | CharacterUI_StatsTab_ShowHint () |
void | DrawSpellDescriptionPopup (SpellId spell_id) |
static void | drawBuffPopupWindow () |
void | showSpellbookInfo (ItemId spellbook) |
void | ShowPopupShopSkills () |
void | ShowPopupShopItem () |
void | GameUI_CharacterQuickRecord_Draw (GUIWindow *window, int characterIndex) |
void | GameUI_DrawNPCPopup (int _this) |
void | UI_OnMouseRightClick (int mouse_x, int mouse_y) |
Variables | |
GraphicsImage * | parchment = nullptr |
GraphicsImage * | messagebox_corner_x = nullptr |
GraphicsImage * | messagebox_corner_y = nullptr |
GraphicsImage * | messagebox_corner_z = nullptr |
GraphicsImage * | messagebox_corner_w = nullptr |
GraphicsImage * | messagebox_border_top = nullptr |
GraphicsImage * | messagebox_border_bottom = nullptr |
GraphicsImage * | messagebox_border_left = nullptr |
GraphicsImage * | messagebox_border_right = nullptr |
bool | holdingMouseRightButton = false |
bool | rightClickItemActionPerformed = false |
bool | identifyOrRepairReactionPlayed = false |
std::array< stat_coord, 26 > | stat_string_coord |
std::array< int16_t, 4 > | RightClickPortraitXmin = {{20, 131, 242, 357}} |
std::array< int16_t, 4 > | RightClickPortraitXmax = {{83, 198, 312, 423}} |
IndexedArray< int, MONSTER_TYPE_FIRST, MONSTER_TYPE_LAST > | monster_popup_y_offsets |
|
static |
std::string CharacterUI_GetSkillDescText | ( | int | uPlayerID, |
CharacterSkillType | uPlayerSkillType | ||
) |
Generating message for skill description popup.
uPlayerID | Character identifier. |
uPlayerSkillType | Skill type identifier. |
void CharacterUI_SkillsTab_ShowHint | ( | ) |
void CharacterUI_StatsTab_ShowHint | ( | ) |
|
static |
void DrawPopupWindow | ( | unsigned int | uX, |
unsigned int | uY, | ||
unsigned int | uWidth, | ||
unsigned int | uHeight | ||
) |
void DrawSpellDescriptionPopup | ( | SpellId | spell_id | ) |
void GameUI_CharacterQuickRecord_Draw | ( | GUIWindow * | window, |
int | characterIndex | ||
) |
void GameUI_DrawItemInfo | ( | ItemGen * | inspect_item | ) |
void GameUI_DrawNPCPopup | ( | int | _this | ) |
uint64_t GetExperienceRequiredForLevel | ( | int | level | ) |
Color GetSpellColor | ( | signed int | a1 | ) |
void Inventory_ItemPopupAndAlchemy | ( | ) |
void MonsterPopup_Draw | ( | unsigned int | uActorID, |
GUIWindow * | pWindow | ||
) |
void ShowPopupShopItem | ( | ) |
void ShowPopupShopSkills | ( | ) |
void showSpellbookInfo | ( | ItemId | spellbook | ) |
void UI_OnMouseRightClick | ( | int | mouse_x, |
int | mouse_y | ||
) |
bool holdingMouseRightButton = false |
bool identifyOrRepairReactionPlayed = false |
GraphicsImage* messagebox_border_bottom = nullptr |
GraphicsImage* messagebox_border_left = nullptr |
GraphicsImage* messagebox_border_right = nullptr |
GraphicsImage* messagebox_border_top = nullptr |
GraphicsImage* messagebox_corner_w = nullptr |
GraphicsImage* messagebox_corner_x = nullptr |
GraphicsImage* messagebox_corner_y = nullptr |
GraphicsImage* messagebox_corner_z = nullptr |
IndexedArray<int, MONSTER_TYPE_FIRST, MONSTER_TYPE_LAST> monster_popup_y_offsets |
GraphicsImage* parchment = nullptr |
bool rightClickItemActionPerformed = false |
std::array<int16_t, 4> RightClickPortraitXmax = {{83, 198, 312, 423}} |
std::array<int16_t, 4> RightClickPortraitXmin = {{20, 131, 242, 357}} |
std::array<stat_coord, 26> stat_string_coord |