OpenEnroth 4aaa0a0
|
#include "GUI/GUIWindow.h"
#include <cstdlib>
#include <string>
#include <sstream>
#include <utility>
#include <list>
#include <memory>
#include <vector>
#include "Engine/Engine.h"
#include "Engine/EngineGlobals.h"
#include "Engine/AssetsManager.h"
#include "Engine/EngineCallObserver.h"
#include "Engine/Objects/Decoration.h"
#include "Engine/Graphics/Renderer/Renderer.h"
#include "Engine/Graphics/Viewport.h"
#include "Engine/Graphics/Image.h"
#include "Engine/Localization.h"
#include "Engine/Random/Random.h"
#include "Engine/Objects/Actor.h"
#include "Engine/Objects/CharacterEnums.h"
#include "Engine/Objects/CharacterEnumFunctions.h"
#include "Engine/OurMath.h"
#include "Engine/Party.h"
#include "Engine/PriceCalculator.h"
#include "Engine/EngineIocContainer.h"
#include "Engine/Tables/AwardTable.h"
#include "Engine/Tables/IconFrameTable.h"
#include "Engine/Time/Timer.h"
#include "Engine/MapInfo.h"
#include "GUI/GUIButton.h"
#include "GUI/GUIFont.h"
#include "GUI/GUIMessageQueue.h"
#include "GUI/UI/UICharacter.h"
#include "GUI/UI/UIGame.h"
#include "GUI/UI/UIHouses.h"
#include "GUI/UI/UIPopup.h"
#include "GUI/UI/UIDialogue.h"
#include "Io/InputAction.h"
#include "Io/KeyboardInputHandler.h"
#include "Io/Mouse.h"
#include "Media/Audio/AudioPlayer.h"
#include "Media/MediaPlayer.h"
#include "Library/Serialization/EnumSerialization.h"
#include "Library/Logger/Logger.h"
Functions | |
void | SetCurrentMenuID (MenuType uMenu) |
MenuType | GetCurrentMenuID () |
bool | PauseGameDrawing () |
GUIButton * | GUI_HandleHotkey (PlatformKey hotkey) |
std::string | MakeDateTimeString (Duration time) |
void | DialogueEnding () |
void | GUI_UpdateWindows () |
void | SetUserInterface (PartyAlignment align) |
void | DrawBuff_remaining_time_string (int uY, GUIWindow *window, Duration remaining_time, GUIFont *Font) |
bool | isHoldingMouseRightButton () |
Color | GetSkillColor (Class uPlayerClass, Skill uPlayerSkillType, Mastery skill_mastery) |
std::string | BuildDialogueString (std::string_view str, int uPlayerID, NPCData *npc, Item *item, HouseId houseId, ShopScreen shop_screen, Time *a6) |
void | MainMenuUI_LoadFontsAndSomeStuff () |
static void | LoadPartyBuffIcons () |
void | UI_Create () |
std::string | NameAndTitle (std::string_view name, std::string_view title) |
std::string | NameAndTitle (std::string_view name, Class class_type) |
std::string | NameAndTitle (std::string_view name, NpcProfession profession) |
std::string | NameAndTitle (NPCData *npc) |
std::string | GetDisplayName (Actor *actor) |
std::string BuildDialogueString | ( | std::string_view | str, |
int | uPlayerID, | ||
NPCData * | npc, | ||
Item * | item = nullptr , |
||
HouseId | houseId = HOUSE_INVALID , |
||
ShopScreen | shop_screen = SHOP_SCREEN_INVALID , |
||
Time * | a6 = nullptr |
||
) |
void DialogueEnding | ( | ) |
void DrawBuff_remaining_time_string | ( | int | uY, |
GUIWindow * | window, | ||
Duration | remaining_time, | ||
GUIFont * | Font | ||
) |
MenuType GetCurrentMenuID | ( | ) |
std::string GetDisplayName | ( | Actor * | actor | ) |
GUIButton * GUI_HandleHotkey | ( | PlatformKey | hotkey | ) |
void GUI_UpdateWindows | ( | ) |
bool isHoldingMouseRightButton | ( | ) |
|
static |
void MainMenuUI_LoadFontsAndSomeStuff | ( | ) |
std::string MakeDateTimeString | ( | Duration | time | ) |
std::string NameAndTitle | ( | NPCData * | npc | ) |
std::string NameAndTitle | ( | std::string_view | name, |
Class | class_type | ||
) |
std::string NameAndTitle | ( | std::string_view | name, |
NpcProfession | profession | ||
) |
std::string NameAndTitle | ( | std::string_view | name, |
std::string_view | title | ||
) |
bool PauseGameDrawing | ( | ) |
void SetCurrentMenuID | ( | MenuType | uMenu | ) |
void SetUserInterface | ( | PartyAlignment | align | ) |
void UI_Create | ( | ) |
enum WindowType current_character_screen_window = WINDOW_CharacterWindow_Stats |
ScreenType current_screen_type = SCREEN_VIDEO |
GraphicsImage* dialogue_ui_x_ok_u = nullptr |
GraphicsImage* dialogue_ui_x_x_u = nullptr |
GraphicsImage* game_ui_right_panel_frame = nullptr |
std::list<GUIWindow*> lWindowList |
GUIWindow* pDialogueWindow |
GUIWindow_GameOver* pGameOverWindow |
GUIWindow_BranchlessDialogue* pGUIWindow_BranchlessDialogue |
TargetedSpellUI* pGUIWindow_CastTargetedSpell |
GUIWindow_Chest* pGUIWindow_CurrentChest |
GUIWindow* pGUIWindow_CurrentMenu |
GUIWindow_MessageScroll* pGUIWindow_ScrollWindow |
|
extern |
|
extern |
|
extern |
std::array<int, 28> possibleAddressingAwardBits |
GUIWindow* pPrimaryWindow |
ScreenType prev_screen_type |
GUIWindow* ptr_507BC8 |
MenuType sCurrentMenuID |
GraphicsImage* ui_ar_dn_dn = nullptr |
GraphicsImage* ui_ar_dn_up = nullptr |
GraphicsImage* ui_ar_up_dn = nullptr |
GraphicsImage* ui_ar_up_up = nullptr |
GraphicsImage* ui_btn_npc_left = nullptr |
GraphicsImage* ui_btn_npc_right = nullptr |
GraphicsImage* ui_buttdesc2 = nullptr |
GraphicsImage* ui_buttyes2 = nullptr |
GraphicsImage* ui_exit_cancel_button_background = nullptr |
constinit const IndexedArray<Color, CHARACTER_BUFF_FIRST, CHARACTER_BUFF_LAST> ui_game_character_record_playerbuff_colors |
GraphicsImage* ui_leather_mm6 = nullptr |
GraphicsImage* ui_leather_mm7 = nullptr |
GUIWindow_House* window_SpeakInHouse |
WindowManager windowManager |