World of Might and Magic  0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
GUIWindow.h
См. документацию.
1 #pragma once
2 
3 #include <array>
4 #include <cstdint>
5 #include <list>
6 #include <queue>
7 #include <vector>
8 
10 #include "Engine/Strings.h"
11 #include "Engine/Party.h"
12 
14  UIMSG_0 = 0,
15 
17 
19 
21 
23  UIMSG_F = 15,
24 
26 
28 
30 
32  UIMSG_1C = 28,
34 
35  UIMSG_31 = 49,
36  UIMSG_32 = 50,
38  UIMSG_34 = 52,
39  UIMSG_35 = 53,
45 
47 
54  UIMSG_44 = 68,
58  UIMSG_48 = 72,
59  UIMSG_49 = 73,
62 
65 
69  UIMSG_54 = 84,
74 
83 
86 
91 
96  UIMSG_Escape = 113,
102 
105  UIMSG_7A = 122,
111  UIMSG_80 = 128,
112 
114  UIMSG_Quit = 132,
119 
127 
140  UIMSG_AD = 173,
156  UIMSG_BD = 189,
158  UIMSG_BF = 191,
160  UIMSG_C1 = 192,
161  UIMSG_C2 = 192,
162 
166  UIMSG_C6 = 198,
167  UIMSG_C7 = 199,
172  UIMSG_CC = 204,
173  UIMSG_CD = 205,
174  UIMSG_CE = 206,
175  UIMSG_CF = 207,
176  UIMSG_D0 = 208,
177  UIMSG_D1 = 209,
178  UIMSG_D2 = 210,
179  UIMSG_D3 = 211,
180  UIMSG_D4 = 212,
181  UIMSG_D5 = 213,
182  UIMSG_D6 = 214,
183 
184  UIMSG_DD = 221,
185 
189 
192 
195 
200 
206 
211  UIMSG_1A9 = 425,
212 
217 
247 };
248 
249 /* 251 */
250 enum MENU_STATE : __int32 {
256  MENU_5 = 5,
264 };
265 
268  DIALOGUE_13 = 0xD,
288 };
289 
296  WINDOW_8 = 8,
300  WINDOW_F = 15,
306  WINDOW_22 = 0x16,
311  WINDOW_CastSpell = 27, // OnCastTargetedSpell
315  WINDOW_50 = 80, // Debug
316  WINDOW_59 = 89, // Debug: Item Generation Window
317  WINDOW_PressedButton2 = 90, // OnButtonClick2?
320  WINDOW_5D = 93,
322  WINDOW_LoadGame_CancelBtn = 95, // OnCancel3?
324  WINDOW_ExitCharacterWindow = 97, // OnCancel2
341 
342  WINDOW_Unknown, // i wasnt able to find real value for those
343  WINDOW_CharacterCreation, // new addition, because i wasnt able to find real value for this
344  WINDOW_CharacterCreationBtn, // new addition, because i wasnt able to find real value for this
345  WINDOW_GenericCancel, // new addition, because i wasnt able to find real value for this
346  WINDOW_GameUI, // new addition, because i wasnt able to find real value for this
347  WINDOW_Credits, // new addition, because i wasnt able to find real value for this
348  WINDOW_Save, // new addition, because i wasnt able to find real value for this
349  WINDOW_Load, // new addition, because i wasnt able to find real value for this
351 
352  // =======
353  // ToString updated until here
354 };
355 
356 #define ENUM_TO_STRING_CASE(val) case val: return #val;
357 inline const char* ToString(WindowType windowType) {
358  switch (windowType) {
359  ENUM_TO_STRING_CASE(WINDOW_null)
360  ENUM_TO_STRING_CASE(WINDOW_MainMenu)
361  ENUM_TO_STRING_CASE(WINDOW_GameMenu)
362  ENUM_TO_STRING_CASE(WINDOW_CharacterRecord)
363  ENUM_TO_STRING_CASE(WINDOW_Options)
364  ENUM_TO_STRING_CASE(WINDOW_8)
365  ENUM_TO_STRING_CASE(WINDOW_Book)
366  ENUM_TO_STRING_CASE(WINDOW_Dialogue)
367  ENUM_TO_STRING_CASE(WINDOW_QuickReference)
368  ENUM_TO_STRING_CASE(WINDOW_F)
369  ENUM_TO_STRING_CASE(WINDOW_Rest)
370  ENUM_TO_STRING_CASE(WINDOW_ChangeLocation)
371  ENUM_TO_STRING_CASE(WINDOW_SpellBook)
372  ENUM_TO_STRING_CASE(WINDOW_GreetingNPC)
373  ENUM_TO_STRING_CASE(WINDOW_Chest)
374  ENUM_TO_STRING_CASE(WINDOW_22)
375  ENUM_TO_STRING_CASE(WINDOW_SaveLoadButtons)
376  ENUM_TO_STRING_CASE(WINDOW_MainMenu_Load)
377  ENUM_TO_STRING_CASE(WINDOW_HouseInterior)
378  ENUM_TO_STRING_CASE(WINDOW_Transition)
379  ENUM_TO_STRING_CASE(WINDOW_CastSpell)
380  ENUM_TO_STRING_CASE(WINDOW_Scroll)
381  ENUM_TO_STRING_CASE(WINDOW_CastSpell_InInventory)
382  ENUM_TO_STRING_CASE(WINDOW_ModalWindow)
383  ENUM_TO_STRING_CASE(WINDOW_50)
384  ENUM_TO_STRING_CASE(WINDOW_59)
385  ENUM_TO_STRING_CASE(WINDOW_PressedButton2)
386  ENUM_TO_STRING_CASE(WINDOW_CharactersPressedButton)
387  ENUM_TO_STRING_CASE(WINDOW_PressedButton)
388  ENUM_TO_STRING_CASE(WINDOW_5D)
389  ENUM_TO_STRING_CASE(WINDOW_SaveLoadBtn)
390  ENUM_TO_STRING_CASE(WINDOW_LoadGame_CancelBtn)
391  ENUM_TO_STRING_CASE(WINDOW_CloseRestWindowBtn)
392  ENUM_TO_STRING_CASE(WINDOW_ExitCharacterWindow)
393  ENUM_TO_STRING_CASE(WINDOW_RestWindow)
394  ENUM_TO_STRING_CASE(WINDOW_BooksButtonOverlay)
395  ENUM_TO_STRING_CASE(WINDOW_CharacterWindow_Stats)
396  ENUM_TO_STRING_CASE(WINDOW_CharacterWindow_Skills)
397  ENUM_TO_STRING_CASE(WINDOW_CharacterWindow_Awards)
398  ENUM_TO_STRING_CASE(WINDOW_CharacterWindow_Inventory)
399  ENUM_TO_STRING_CASE(WINDOW_GameOptions)
400  ENUM_TO_STRING_CASE(WINDOW_KeyMappingOptions)
401  ENUM_TO_STRING_CASE(WINDOW_VideoOptions)
402  ENUM_TO_STRING_CASE(WINDOW_LloydsBeacon)
403  ENUM_TO_STRING_CASE(WINDOW_TownPortal)
404  ENUM_TO_STRING_CASE(WINDOW_QuestBook)
405  ENUM_TO_STRING_CASE(WINDOW_AutonotesBook)
406  ENUM_TO_STRING_CASE(WINDOW_MapsBook)
407  ENUM_TO_STRING_CASE(WINDOW_CalendarBook)
408  ENUM_TO_STRING_CASE(WINDOW_JournalBook)
409  ENUM_TO_STRING_CASE(WINDOW_Unknown)
410  ENUM_TO_STRING_CASE(WINDOW_CharacterCreation)
411  ENUM_TO_STRING_CASE(WINDOW_CharacterCreationBtn)
412  ENUM_TO_STRING_CASE(WINDOW_GenericCancel)
413  ENUM_TO_STRING_CASE(WINDOW_GameUI)
414  ENUM_TO_STRING_CASE(WINDOW_Credits)
415  ENUM_TO_STRING_CASE(WINDOW_Save)
416  ENUM_TO_STRING_CASE(WINDOW_Load)
417  ENUM_TO_STRING_CASE(WINDOW_DebugMenu)
418  }
419 
420  return nullptr;
421 }
422 
423 struct Texture_MM7;
424 
425 #define WINDOW_INPUT_NONE 0
426 #define WINDOW_INPUT_IN_PROGRESS 1
427 #define WINDOW_INPUT_CONFIRMED 2
428 #define WINDOW_INPUT_CANCELLED 3
429 
430 class GUIFont;
431 class GUIButton;
432 
433 class GUIWindow {
434  public:
435  GUIWindow();
436  GUIWindow(WindowType windowType, unsigned int uX, unsigned int uY, unsigned int uWidth, unsigned int uHeight, int pButton, const String &hint = String());
437  virtual ~GUIWindow() {}
438 
439  GUIButton *CreateButton(int x, int y, int width, int height, int a6, int a7,
440  UIMessageType msg, unsigned int msg_param, uint8_t hotkey, const String &label,
441  const std::vector<Image*> &textures = std::vector<Image*>());
442 
443  bool Contains(unsigned int x, unsigned int y);
444  void DrawFlashingInputCursor(int uX, int uY, GUIFont *a2);
445 
446  int DrawTextInRect(GUIFont *font, unsigned int x, unsigned int y, unsigned int color, const char *text, int rect_width, int reverse_text);
447  int DrawTextInRect(GUIFont *font, unsigned int x, unsigned int y, unsigned int color, String &str, int rect_width, int reverse_text);
448 
449  void DrawText(GUIFont *font, int x, int y, unsigned short uFontColor, const char *str, bool present_time_transparency = false, int max_text_height = 0, int uFontShadowColor = 0);
450  void DrawText(GUIFont *font, int x, int y, unsigned short uFontColor, const String &str, bool present_time_transparency = false, int max_text_height = 0, int uFontShadowColor = 0);
451 
452  void DrawTitleText(GUIFont *font, int horizontal_margin, int vertical_margin, unsigned __int16 uDefaultColor, const char *pInString, int line_spacing);
453  void DrawTitleText(GUIFont *font, int horizontal_margin, int vertical_margin, unsigned __int16 uDefaultColor, const String &str, int line_spacing);
454 
456  void HouseDialogManager();
457  void DrawMessageBox(bool inside_game_viewport);
458  GUIButton *GetControl(unsigned int uID);
459  void _41D08F_set_keyboard_control_group(int num_buttons, int a3, int a4, int a5);
461 
462  virtual void Update() {}
463  virtual void Release();
464  void DeleteButtons();
465 
466  static void InitializeGUI();
467 
468  unsigned int uFrameX;
469  unsigned int uFrameY;
470  unsigned int uFrameWidth;
471  unsigned int uFrameHeight;
472  unsigned int uFrameZ;
473  unsigned int uFrameW;
475  union {
476  void *ptr_1C; // sometimes BuildID_2Events - book open, sometimes Button
477  unsigned int par1C; // in shops and houses - int parameter
478  // sometimes WindowType
479  };
480  int field_24;
483  int field_30;
484  int field_34;
486  int receives_keyboard_input_2; // 0 no input 1 currently typing 2 enter pressed 3 escape pressed
489  std::vector<GUIButton*> vButtons;
490 
491  Mouse *mouse = nullptr;
492  Log *log = nullptr;
493 };
494 
495 class GUIWindow_Scroll : public GUIWindow {
496  public:
497  GUIWindow_Scroll(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const String &hint = String()) :
498  GUIWindow(WINDOW_Scroll, x, y, width, height, button, hint) {
499  CreateButton(61, 424, 31, 0, 2, 94, UIMSG_SelectCharacter, 1, '1', "");
500  CreateButton(177, 424, 31, 0, 2, 94, UIMSG_SelectCharacter, 2, '2', "");
501  CreateButton(292, 424, 31, 0, 2, 94, UIMSG_SelectCharacter, 3, '3', "");
502  CreateButton(407, 424, 31, 0, 2, 94, UIMSG_SelectCharacter, 4, '4', "");
503  CreateButton(0, 0, 0, 0, 1, 0, UIMSG_CycleCharacters, 0, '\t', "");
504  }
505  virtual ~GUIWindow_Scroll() {}
506 
507  virtual void Update();
508 };
509 
510 class OnButtonClick : public GUIWindow {
511  public:
512  OnButtonClick(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const String &hint = String(), bool play_sound = true) :
514  bPlaySound(play_sound)
515  {}
516  virtual ~OnButtonClick() {}
517 
518  virtual void Update();
519 
521 };
522 
523 class OnButtonClick2 : public GUIWindow {
524  public:
525  OnButtonClick2(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const String &hint = String(), bool play_sound = true) :
526  GUIWindow(WINDOW_PressedButton2, x, y, width, height, button, hint),
527  bPlaySound(play_sound)
528  {}
529  virtual ~OnButtonClick2() {}
530 
531  virtual void Update();
532 
534 };
535 
536 class OnButtonClick3 : public GUIWindow {
537  public:
538  OnButtonClick3(WindowType windowType, unsigned int x, unsigned int y, unsigned int width, unsigned int height, GUIButton *button, const String &hint = String()) :
539  GUIWindow(windowType, x, y, width, height, (int)button, hint) {
540  }
541 
542  virtual ~OnButtonClick3() {}
543 
544  virtual void Update();
545 };
546 
547 // something debug? not really sure, unused
548 class OnButtonClick4 : public GUIWindow {
549  public:
550  OnButtonClick4(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const String &hint = String()) :
551  GUIWindow(WINDOW_59, x, y, width, height, button, hint)
552  {}
553  virtual ~OnButtonClick4() {}
554 
555  virtual void Update();
556 };
557 
558 class OnSaveLoad : public GUIWindow {
559  public:
560  OnSaveLoad(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const String &hint = String()) :
561  GUIWindow(WINDOW_SaveLoadBtn, x, y, width, height, button, hint)
562  {}
563  virtual ~OnSaveLoad() {}
564 
565  virtual void Update();
566 };
567 
568 class OnCancel : public GUIWindow {
569  public:
570  OnCancel(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const String &hint = String()) :
571  GUIWindow(WINDOW_GenericCancel, x, y, width, height, button, hint)
572  {}
573  virtual ~OnCancel() {}
574 
575  virtual void Update();
576 };
577 
578 class OnCancel2 : public GUIWindow {
579  public:
580  OnCancel2(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const String &hint = String()) :
582  {}
583  virtual ~OnCancel2() {}
584 
585  virtual void Update();
586 };
587 
588 class OnCancel3 : public GUIWindow {
589  public:
590  OnCancel3(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const String &hint = String()) :
592  {}
593  virtual ~OnCancel3() {}
594 
595  virtual void Update();
596 };
597 
599  public:
600  OnCastTargetedSpell(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const String &hint = String());
601  virtual ~OnCastTargetedSpell() {}
602 };
603 
604 enum class CURRENT_SCREEN {
605  SCREEN_GAME = 0,
606  SCREEN_MENU = 1,
607  SCREEN_OPTIONS = 2,
608  SCREEN_BOOKS = 3,
610  SCREEN_REST = 5,
611  SCREEN_6 = 6,
612  SCREEN_CHARACTERS = 7,
613  SCREEN_SPELL_BOOK = 8,
614  SCREEN_CREATORS = 9,
615  SCREEN_CHEST = 10,
616  SCREEN_SAVEGAME = 11,
617  SCREEN_LOADGAME = 12,
618  SCREEN_HOUSE = 13,
619  SCREEN_E = 14,
621  SCREEN_VIDEO = 16,
623  SCREEN_INPUT_BLV = 18,
625  SCREEN_20 = 20,
627  SCREEN_MODAL_WINDOW = 22,
628  SCREEN_CASTING = 23,
629  SCREEN_24 = 24,
630  SCREEN_19 = 25,
632  SCREEN_1B = 27,
634 
635  SCREEN_63 = 0x63,
636  SCREEN_64 = 0x64,
637  SCREEN_67 = 0x67,
638  SCREEN_QUICK_REFERENCE = 0x68,
639 
640  SCREEN_DEBUG = 999,
641 };
642 
643 struct GUIMessage {
645  int param;
646  int field_8;
648  unsigned int line;
649 };
650 
651 #define AddGUIMessage(msg, param, a4) \
652  AddMessageImpl((msg), (param), (a4), __FILE__, __LINE__)
653 
656 
657  void Flush();
658  void Clear();
659  bool Empty() { return qMessages.empty(); }
660  void PopMessage(UIMessageType *pMsg, int *pParam, int *a4);
661  void AddMessageImpl(UIMessageType msg, int param, unsigned int a4,
662  const char *file = nullptr, int line = 0);
663 
664  std::queue<GUIMessage> qMessages;
665 };
666 
667 extern struct GUIMessageQueue *pMessageQueue_50CBD0; // idb
668 
669 extern struct GUIMessageQueue *pMessageQueue_50C9E8; // idb
670 
672 extern std::list<GUIWindow*> lWindowList;
673 
675  public:
677  virtual ~WindowManager() {}
678 
680 };
681 
683 
684 void draw_leather();
685 
686 // main menu ui
688 void UI_Create();
689 
690 // game ui
691 void GameUI_DrawRightPanel();
696 void GameUI_DrawHiredNPCs();
697 void GameUI_DrawPortraits(unsigned int _this);
698 void GameUI_DrawMinimap(unsigned int uX, unsigned int uY, unsigned int uZ,
699  unsigned int uW, unsigned int uZoom,
700  unsigned int bRedrawOdmMinimap);
706 void GameUI_DrawNPCPopup(void *_this);
707 
708 // character ui
709 String CharacterUI_GetSkillDescText(unsigned int uPlayerID,
710  PLAYER_SKILL_TYPE uPlayerSkillType);
713 void CharacterUI_InventoryTab_Draw(Player *player, bool a2);
714 void CharacterUI_DrawPaperdoll(Player *player);
717 
718 unsigned int GetSkillColor(unsigned int uPlayerClass,
719  PLAYER_SKILL_TYPE uPlayerSkillType,
720  signed int skill_level);
721 
722 void DrawSpellDescriptionPopup(int spell_index);
723 
724 void UI_OnMouseRightClick(int mouse_x, int mouse_y);
725 
726 void DrawPopupWindow(unsigned int uX, unsigned int uY, unsigned int uWidth,
727  unsigned int uHeight); // idb
729 void GUI_UpdateWindows();
730 int GetConditionDrawColor(unsigned int uConditionIdx); // idb
731 void FillAwardsData();
732 void CreateAwardsScrollBar();
735 unsigned int UI_GetHealthManaAndOtherQualitiesStringColor(int current_pos,
736  int base_pos);
737 unsigned int GetSizeInInventorySlots(unsigned int uNumPixels);
739 void GUI_ReplaceHotkey(uint8_t uOldHotkey, uint8_t uNewHotkey, char bFirstCall);
741  GameTime remaining_time, GUIFont *Font);
742 void GameUI_DrawItemInfo(struct ItemGen* inspect_item); // idb
743 void MonsterPopup_Draw(unsigned int uActorID, GUIWindow *window);
744 void SetUserInterface(enum PartyAlignment alignment, bool bReplace);
745 void CreateMsgScrollWindow(signed int mscroll_id);
746 void free_book_subwindow();
747 void CreateScrollWindow();
748 void OnPaperdollLeftClick();
749 void DrawJoinGuildWindow(int pEventCode);
750 void DialogueEnding();
752 void ClickNPCTopic(int uMessageParam);
753 void _4B3FE5_training_dialogue(int a4);
754 void OracleDialogue();
756 String _4B254D_SkillMasteryTeacher(int trainerInfo);
757 String BuildDialogueString(const char *lpsz, unsigned __int8 uPlayerID,
758  struct ItemGen *a3, char *a4, int a5,
759  GameTime *a6 = nullptr);
760 String BuildDialogueString(String &str, unsigned __int8 uPlayerID,
761  struct ItemGen *a3, char *a4, int shop_screen,
762  GameTime *a6 = nullptr);
763 int const_2();
764 
765 extern GUIWindow *pPrimaryWindow;
766 extern GUIWindow *pChestWindow;
767 extern GUIWindow *pDialogueWindow;
770 extern GUIWindow *ptr_507BC8;
772 extern GUIWindow *ptr_507BD0;
774 extern GUIWindow *pModalWindow;
777 extern GUIWindow *pGUIWindow2;
778 
779 extern unsigned int ui_mainmenu_copyright_color;
781 extern unsigned int ui_character_default_text_color;
782 extern unsigned int ui_character_skill_highlight_color;
783 extern unsigned int ui_character_header_text_color;
784 extern unsigned int ui_character_bonus_text_color;
785 extern unsigned int ui_character_bonus_text_color_neg;
786 extern unsigned int ui_character_skill_upgradeable_color;
787 extern unsigned int ui_character_skill_default_color;
788 extern unsigned int ui_character_stat_default_color;
789 extern unsigned int ui_character_stat_buffed_color;
790 extern unsigned int ui_character_stat_debuffed_color;
791 extern unsigned int ui_character_skillinfo_can_learn;
792 extern unsigned int ui_character_skillinfo_can_learn_gm;
793 extern unsigned int ui_character_skillinfo_cant_learn;
794 extern unsigned int ui_character_condition_normal_color;
795 extern unsigned int ui_character_condition_light_color;
796 extern unsigned int ui_character_condition_moderate_color;
797 extern unsigned int ui_character_condition_severe_color;
798 extern std::array<unsigned int, 6> ui_character_award_color;
799 extern unsigned int ui_game_minimap_outline_color;
800 extern unsigned int ui_game_minimap_actor_friendly_color;
801 extern unsigned int ui_game_minimap_actor_hostile_color;
802 extern unsigned int ui_game_minimap_actor_corpse_color;
803 extern unsigned int ui_game_minimap_decoration_color_1;
804 extern unsigned int ui_game_minimap_projectile_color;
805 extern unsigned int ui_game_minimap_treasure_color;
806 extern std::array<unsigned int, 24> ui_game_character_record_playerbuff_colors;
807 extern unsigned int ui_gamemenu_video_gamma_title_color;
808 extern unsigned int ui_gamemenu_keys_action_name_color;
811 extern unsigned int ui_gamemenu_keys_key_default_color;
812 extern unsigned int ui_book_quests_title_color;
813 extern unsigned int ui_book_quests_text_color;
814 extern unsigned int ui_book_autonotes_title_color;
815 extern unsigned int ui_book_autonotes_text_color;
816 extern unsigned int ui_book_map_title_color;
817 extern unsigned int ui_book_map_coordinates_color;
818 extern unsigned int ui_book_calendar_title_color;
819 extern unsigned int ui_book_calendar_time_color;
820 extern unsigned int ui_book_calendar_day_color;
821 extern unsigned int ui_book_calendar_month_color;
822 extern unsigned int ui_book_calendar_year_color;
823 extern unsigned int ui_book_calendar_moon_color;
824 extern unsigned int ui_book_calendar_location_color;
825 extern unsigned int ui_book_journal_title_color;
826 extern unsigned int ui_book_journal_text_color;
827 extern unsigned int ui_book_journal_text_shadow;
828 extern unsigned int ui_game_dialogue_npc_name_color;
829 extern unsigned int ui_game_dialogue_option_highlight_color;
830 extern unsigned int ui_game_dialogue_option_normal_color;
831 extern unsigned int ui_house_player_cant_interact_color;
832 
833 class Image;
836 extern Image *dialogue_ui_x_ok_u;
837 extern Image *dialogue_ui_x_x_u;
838 
839 extern Image *ui_buttdesc2;
840 extern Image *ui_buttyes2;
841 
842 extern Image *ui_btn_npc_right;
843 extern Image *ui_btn_npc_left;
844 
845 extern Image *ui_ar_dn_dn;
846 extern Image *ui_ar_dn_up;
847 extern Image *ui_ar_up_dn;
848 extern Image *ui_ar_up_up;
849 
850 extern Image *ui_leather_mm6;
851 extern Image *ui_leather_mm7;
852 
856 
858 extern enum CURRENT_SCREEN prev_screen_type;
ui_book_calendar_time_color
unsigned int ui_book_calendar_time_color
Definition: UICharacter.cpp:85
UIMSG_DebugGiveSkillP
@ UIMSG_DebugGiveSkillP
Definition: GUIWindow.h:242
UIMSG_49
@ UIMSG_49
Definition: GUIWindow.h:59
WINDOW_ModalWindow
@ WINDOW_ModalWindow
Definition: GUIWindow.h:314
WINDOW_PressedButton
@ WINDOW_PressedButton
Definition: GUIWindow.h:319
OnPaperdollLeftClick
void OnPaperdollLeftClick()
Definition: UICharacter.cpp:2712
UIMSG_PlayerCreationClickPlus
@ UIMSG_PlayerCreationClickPlus
Definition: GUIWindow.h:48
WINDOW_CharacterCreationBtn
@ WINDOW_CharacterCreationBtn
Definition: GUIWindow.h:344
MENU_SAVELOAD
@ MENU_SAVELOAD
Definition: GUIWindow.h:254
UIMSG_DebugBlv
@ UIMSG_DebugBlv
Definition: GUIWindow.h:44
OnButtonClick2
Definition: GUIWindow.h:523
WindowManager
Definition: GUIWindow.h:674
ui_book_quests_text_color
unsigned int ui_book_quests_text_color
Definition: UICharacter.cpp:78
UIMSG_PlayerCreationRemoveDownSkill
@ UIMSG_PlayerCreationRemoveDownSkill
Definition: GUIWindow.h:61
UIMSG_HintSelectRemoveQuickSpellBtn
@ UIMSG_HintSelectRemoveQuickSpellBtn
Definition: GUIWindow.h:63
GameUI_DrawRightPanel
void GameUI_DrawRightPanel()
Definition: UIGame.cpp:1248
CURRENT_SCREEN::SCREEN_OPTIONS
@ SCREEN_OPTIONS
GUIMessage::eType
enum UIMessageType eType
Definition: GUIWindow.h:644
Player
Definition: Player.h:401
ui_book_calendar_day_color
unsigned int ui_book_calendar_day_color
Definition: UICharacter.cpp:86
GUIWindow::receives_keyboard_input
bool receives_keyboard_input
Definition: GUIWindow.h:487
PartyAlignment
PartyAlignment
Definition: Party.h:133
GUIWindow::DrawText
void DrawText(GUIFont *font, int x, int y, unsigned short uFontColor, const char *str, bool present_time_transparency=false, int max_text_height=0, int uFontShadowColor=0)
Definition: GUIWindow.cpp:694
pPrimaryWindow
GUIWindow * pPrimaryWindow
Definition: GUIWindow.cpp:48
ui_gamemenu_keys_key_default_color
unsigned int ui_gamemenu_keys_key_default_color
Definition: UICharacter.cpp:75
ui_game_minimap_treasure_color
unsigned int ui_game_minimap_treasure_color
Definition: UICharacter.cpp:68
ui_character_tooltip_header_default_color
unsigned int ui_character_tooltip_header_default_color
Definition: UICharacter.cpp:42
ui_character_skillinfo_can_learn_gm
unsigned int ui_character_skillinfo_can_learn_gm
Definition: UICharacter.cpp:54
ui_book_calendar_title_color
unsigned int ui_book_calendar_title_color
Definition: UICharacter.cpp:84
sub_4637E0_is_there_popup_onscreen
char sub_4637E0_is_there_popup_onscreen()
Definition: GUIWindow.cpp:1361
windowManager
WindowManager windowManager
Definition: GUIWindow.cpp:2501
ui_mainmenu_copyright_color
unsigned int ui_mainmenu_copyright_color
Definition: UICharacter.cpp:40
WINDOW_LoadGame_CancelBtn
@ WINDOW_LoadGame_CancelBtn
Definition: GUIWindow.h:322
GameUI_DrawRightPanelItems
void GameUI_DrawRightPanelItems()
Definition: UIGame.cpp:1154
GUIWindow::uFrameW
unsigned int uFrameW
Definition: GUIWindow.h:473
ui_character_award_color
std::array< unsigned int, 6 > ui_character_award_color
Definition: UICharacter.cpp:60
UIMessageType
UIMessageType
Definition: GUIWindow.h:13
DIALOGUE_EVT_D
@ DIALOGUE_EVT_D
Definition: GUIWindow.h:273
GUIMessageQueue::Empty
bool Empty()
Definition: GUIWindow.h:659
UIMSG_CF
@ UIMSG_CF
Definition: GUIWindow.h:175
GUIMessage::line
unsigned int line
Definition: GUIWindow.h:648
OnButtonClick::bPlaySound
bool bPlaySound
Definition: GUIWindow.h:520
UIMSG_SetTurnSpeed
@ UIMSG_SetTurnSpeed
Definition: GUIWindow.h:151
UIMSG_C7
@ UIMSG_C7
Definition: GUIWindow.h:167
UIMSG_DebugTerrain
@ UIMSG_DebugTerrain
Definition: GUIWindow.h:234
UIMSG_DebugNoActors
@ UIMSG_DebugNoActors
Definition: GUIWindow.h:231
OnCancel3::~OnCancel3
virtual ~OnCancel3()
Definition: GUIWindow.h:593
GUIButton::uHotkey
uint8_t uHotkey
Definition: GUIButton.h:35
UIMSG_ClickAwardsDownBtn
@ UIMSG_ClickAwardsDownBtn
Definition: GUIWindow.h:137
UIMSG_SPellbook_ShowHightlightedSpellInfo
@ UIMSG_SPellbook_ShowHightlightedSpellInfo
Definition: GUIWindow.h:64
UIMSG_Escape
@ UIMSG_Escape
Definition: GUIWindow.h:96
CURRENT_SCREEN::SCREEN_DEBUG
@ SCREEN_DEBUG
GUIWindow::log
Log * log
Definition: GUIWindow.h:492
pGUIWindow_ScrollWindow
GUIWindow * pGUIWindow_ScrollWindow
Definition: GUIWindow.cpp:52
MENU_NAMEPANELESC
@ MENU_NAMEPANELESC
Definition: GUIWindow.h:258
UIMSG_ClickTownInTP
@ UIMSG_ClickTownInTP
Definition: GUIWindow.h:150
UIMSG_CycleCharacters
@ UIMSG_CycleCharacters
Definition: GUIWindow.h:143
GameUI_DrawLifeManaBars
void GameUI_DrawLifeManaBars()
Definition: UIGame.cpp:1197
ui_leather_mm6
Image * ui_leather_mm6
Definition: GUIWindow.cpp:105
WINDOW_HouseInterior
@ WINDOW_HouseInterior
Definition: GUIWindow.h:309
ui_book_journal_text_shadow
unsigned int ui_book_journal_text_shadow
Definition: UICharacter.cpp:94
WINDOW_Rest
@ WINDOW_Rest
Definition: GUIWindow.h:301
UIMSG_Quit
@ UIMSG_Quit
Definition: GUIWindow.h:114
UIMSG_ShowFinalWindow
@ UIMSG_ShowFinalWindow
Definition: GUIWindow.h:165
GUIFont
Definition: GUIFont.h:8
UIMSG_HintBeaconSlot
@ UIMSG_HintBeaconSlot
Definition: GUIWindow.h:147
Inventory_ItemPopupAndAlchemy
void Inventory_ItemPopupAndAlchemy()
Definition: UIPopup.cpp:1817
UIMSG_DebugWizardEye
@ UIMSG_DebugWizardEye
Definition: GUIWindow.h:236
SetCurrentMenuID
void SetCurrentMenuID(MENU_STATE)
Definition: GUIWindow.cpp:128
GUIWindow
Definition: GUIWindow.h:433
MENU_STATE
MENU_STATE
Definition: GUIWindow.h:250
UIMSG_ToggleAlwaysRun
@ UIMSG_ToggleAlwaysRun
Definition: GUIWindow.h:187
Mouse
Definition: Mouse.h:279
DIALOGUE_76
@ DIALOGUE_76
Definition: GUIWindow.h:276
UIMSG_ShowStatus_ManaHP
@ UIMSG_ShowStatus_ManaHP
Definition: GUIWindow.h:78
CURRENT_SCREEN::SCREEN_20
@ SCREEN_20
WINDOW_JournalBook
@ WINDOW_JournalBook
Definition: GUIWindow.h:340
current_screen_type
enum CURRENT_SCREEN current_screen_type
Definition: GUIWindow.cpp:83
ui_game_minimap_actor_friendly_color
unsigned int ui_game_minimap_actor_friendly_color
Definition: UICharacter.cpp:63
UIMSG_35
@ UIMSG_35
Definition: GUIWindow.h:39
UI_Create
void UI_Create()
Definition: GUIWindow.cpp:2539
CURRENT_SCREEN::SCREEN_6
@ SCREEN_6
UIMSG_54
@ UIMSG_54
Definition: GUIWindow.h:69
UIMSG_ClickNPCTopic
@ UIMSG_ClickNPCTopic
Definition: GUIWindow.h:142
SetUserInterface
void SetUserInterface(enum PartyAlignment alignment, bool bReplace)
Definition: GUIWindow.cpp:1032
DIALOGUE_ARENA_SELECT_SQUIRE
@ DIALOGUE_ARENA_SELECT_SQUIRE
Definition: GUIWindow.h:281
UIMSG_LloydsBeacon_FlippingBtn
@ UIMSG_LloydsBeacon_FlippingBtn
Definition: GUIWindow.h:145
UIMSG_DebugLearnSkills
@ UIMSG_DebugLearnSkills
Definition: GUIWindow.h:241
ui_btn_npc_left
Image * ui_btn_npc_left
Definition: GUIWindow.cpp:98
UIMSG_DebugGiveFood
@ UIMSG_DebugGiveFood
Definition: GUIWindow.h:239
OnSaveLoad::Update
virtual void Update()
Definition: GUIWindow.cpp:889
UI_OnMouseRightClick
void UI_OnMouseRightClick(int mouse_x, int mouse_y)
Definition: UIPopup.cpp:1459
DIALOGUE_PROFESSION_DETAILS
@ DIALOGUE_PROFESSION_DETAILS
Definition: GUIWindow.h:277
WINDOW_Unknown
@ WINDOW_Unknown
Definition: GUIWindow.h:342
UIMSG_34
@ UIMSG_34
Definition: GUIWindow.h:38
WINDOW_ChangeLocation
@ WINDOW_ChangeLocation
Definition: GUIWindow.h:302
GetSkillColor
unsigned int GetSkillColor(unsigned int uPlayerClass, PLAYER_SKILL_TYPE uPlayerSkillType, signed int skill_level)
Definition: GUIWindow.cpp:1366
GameUI_DrawMinimap
void GameUI_DrawMinimap(unsigned int uX, unsigned int uY, unsigned int uZ, unsigned int uW, unsigned int uZoom, unsigned int bRedrawOdmMinimap)
Definition: UIGame.cpp:1916
GUIWindow::CreateButton
GUIButton * CreateButton(int x, int y, int width, int height, int a6, int a7, UIMessageType msg, unsigned int msg_param, uint8_t hotkey, const String &label, const std::vector< Image * > &textures=std::vector< Image * >())
Definition: GUIWindow.cpp:717
OnButtonClick
Definition: GUIWindow.h:510
height
EGLSurface EGLint EGLint EGLint EGLint height
Definition: SDL_egl.h:1596
WINDOW_Save
@ WINDOW_Save
Definition: GUIWindow.h:348
ui_game_minimap_actor_corpse_color
unsigned int ui_game_minimap_actor_corpse_color
Definition: UICharacter.cpp:65
GameUI_DrawNPCPopup
void GameUI_DrawNPCPopup(void *_this)
Definition: UIGame.cpp:891
GUIMessageQueue::Flush
void Flush()
Definition: GUIWindow.cpp:159
UIMSG_CastSpell_Character_Big_Improvement
@ UIMSG_CastSpell_Character_Big_Improvement
Definition: GUIWindow.h:55
CURRENT_SCREEN::SCREEN_CHEST
@ SCREEN_CHEST
UIMSG_ClickHouseNPCPortrait
@ UIMSG_ClickHouseNPCPortrait
Definition: GUIWindow.h:197
CURRENT_SCREEN::SCREEN_SPELL_BOOK
@ SCREEN_SPELL_BOOK
ui_book_map_coordinates_color
unsigned int ui_book_map_coordinates_color
Definition: UICharacter.cpp:82
UIMSG_ClickZoomInBtn
@ UIMSG_ClickZoomInBtn
Definition: GUIWindow.h:191
UIMSG_ShowStatus_Funds
@ UIMSG_ShowStatus_Funds
Definition: GUIWindow.h:85
UIMSG_CastSpell_Character_Small_Improvement
@ UIMSG_CastSpell_Character_Small_Improvement
Definition: GUIWindow.h:121
UIMSG_SetGraphicsMode
@ UIMSG_SetGraphicsMode
Definition: GUIWindow.h:113
UIMSG_PlayerCreation_VoiceNext
@ UIMSG_PlayerCreation_VoiceNext
Definition: GUIWindow.h:125
OnCancel::OnCancel
OnCancel(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const String &hint=String())
Definition: GUIWindow.h:570
UIMSG_DebugGenItem
@ UIMSG_DebugGenItem
Definition: GUIWindow.h:219
ptr_507BD0
GUIWindow * ptr_507BD0
Definition: GUIWindow.cpp:55
CURRENT_SCREEN::SCREEN_CASTING
@ SCREEN_CASTING
UIMSG_CastSpell_Shoot_Monster
@ UIMSG_CastSpell_Shoot_Monster
Definition: GUIWindow.h:56
OracleDialogue
void OracleDialogue()
Definition: GUIWindow.cpp:1693
UIMSG_DebugGiveEXP
@ UIMSG_DebugGiveEXP
Definition: GUIWindow.h:243
ReleaseAwardsScrollBar
void ReleaseAwardsScrollBar()
Definition: GUIButton.cpp:123
UIMSG_ChangeMusicVolume
@ UIMSG_ChangeMusicVolume
Definition: GUIWindow.h:95
WINDOW_CastSpell_InInventory
@ WINDOW_CastSpell_InInventory
Definition: GUIWindow.h:313
UIMSG_QuickReference
@ UIMSG_QuickReference
Definition: GUIWindow.h:89
UIMSG_BD
@ UIMSG_BD
Definition: GUIWindow.h:156
UIMSG_SaveGame
@ UIMSG_SaveGame
Definition: GUIWindow.h:68
GetSizeInInventorySlots
unsigned int GetSizeInInventorySlots(unsigned int uNumPixels)
Definition: UICharacter.cpp:919
ui_book_autonotes_text_color
unsigned int ui_book_autonotes_text_color
Definition: UICharacter.cpp:80
UIMSG_D3
@ UIMSG_D3
Definition: GUIWindow.h:179
GUIWindow::GUIWindow
GUIWindow()
Definition: GUIWindow.cpp:765
UIMSG_PlayerCreationClickOK
@ UIMSG_PlayerCreationClickOK
Definition: GUIWindow.h:52
UIMSG_StartNPCDialogue
@ UIMSG_StartNPCDialogue
Definition: GUIWindow.h:128
UIMSG_GameMenuButton
@ UIMSG_GameMenuButton
Definition: GUIWindow.h:90
CURRENT_SCREEN::SCREEN_19
@ SCREEN_19
UIMSG_ClickExitCharacterWindowBtn
@ UIMSG_ClickExitCharacterWindowBtn
Definition: GUIWindow.h:135
UIMSG_CC
@ UIMSG_CC
Definition: GUIWindow.h:172
OnButtonClick3
Definition: GUIWindow.h:536
UIMSG_PlayerCreationClickMinus
@ UIMSG_PlayerCreationClickMinus
Definition: GUIWindow.h:49
UIMSG_CastSpell_Monster_Improvement
@ UIMSG_CastSpell_Monster_Improvement
Definition: GUIWindow.h:120
GameUI_DrawTorchlightAndWizardEye
void GameUI_DrawTorchlightAndWizardEye()
Definition: UIGame.cpp:2205
UIMSG_ClickSkillsBtn
@ UIMSG_ClickSkillsBtn
Definition: GUIWindow.h:97
MENU_MAIN
@ MENU_MAIN
Definition: GUIWindow.h:251
ui_game_dialogue_option_normal_color
unsigned int ui_game_dialogue_option_normal_color
Definition: UICharacter.cpp:98
WINDOW_Scroll
@ WINDOW_Scroll
Definition: GUIWindow.h:312
UIMSG_DebugGiveGold
@ UIMSG_DebugGiveGold
Definition: GUIWindow.h:244
UIMSG_DD
@ UIMSG_DD
Definition: GUIWindow.h:184
UIMSG_ExitToWindows
@ UIMSG_ExitToWindows
Definition: GUIWindow.h:43
UIMSG_D1
@ UIMSG_D1
Definition: GUIWindow.h:177
WINDOW_RestWindow
@ WINDOW_RestWindow
Definition: GUIWindow.h:325
UIMSG_PlayArcomage
@ UIMSG_PlayArcomage
Definition: GUIWindow.h:33
UIMSG_TransitionWindowCloseBtn
@ UIMSG_TransitionWindowCloseBtn
Definition: GUIWindow.h:199
WINDOW_22
@ WINDOW_22
Definition: GUIWindow.h:306
CURRENT_SCREEN::SCREEN_QUICK_REFERENCE
@ SCREEN_QUICK_REFERENCE
WINDOW_8
@ WINDOW_8
Definition: GUIWindow.h:296
WINDOW_MapsBook
@ WINDOW_MapsBook
Definition: GUIWindow.h:338
pBooksButtonOverlay
GUIWindow * pBooksButtonOverlay
Definition: GUIWindow.cpp:59
ui_character_bonus_text_color_neg
unsigned int ui_character_bonus_text_color_neg
Definition: UICharacter.cpp:47
UIMSG_SelectCharacter
@ UIMSG_SelectCharacter
Definition: GUIWindow.h:93
pDialogueWindow
GUIWindow * pDialogueWindow
Definition: GUIWindow.cpp:50
ui_book_journal_text_color
unsigned int ui_book_journal_text_color
Definition: UICharacter.cpp:93
ui_buttyes2
Image * ui_buttyes2
Definition: GUIWindow.cpp:95
pGUIWindow_EscMessageWindow
GUIWindow * pGUIWindow_EscMessageWindow
Definition: GUIWindow.cpp:58
GUIWindow::DrawTitleText
void DrawTitleText(GUIFont *font, int horizontal_margin, int vertical_margin, unsigned __int16 uDefaultColor, const char *pInString, int line_spacing)
Definition: GUIWindow.cpp:665
GameUI_DrawHiredNPCs
void GameUI_DrawHiredNPCs()
Definition: UIGame.cpp:2236
pMessageQueue_50C9E8
struct GUIMessageQueue * pMessageQueue_50C9E8
Definition: GUIWindow.cpp:87
GUIWindow::Release
virtual void Release()
Definition: GUIWindow.cpp:292
UIMSG_DebugTakeGold
@ UIMSG_DebugTakeGold
Definition: GUIWindow.h:240
pGUIWindow2
GUIWindow * pGUIWindow2
Definition: GUIWindow.cpp:60
UIMSG_MMT_MainMenu_Continue
@ UIMSG_MMT_MainMenu_Continue
Definition: GUIWindow.h:216
UIMSG_SpellBook_PressTab
@ UIMSG_SpellBook_PressTab
Definition: GUIWindow.h:37
WINDOW_F
@ WINDOW_F
Definition: GUIWindow.h:300
DIALOGUE_ARENA_SELECT_KNIGHT
@ DIALOGUE_ARENA_SELECT_KNIGHT
Definition: GUIWindow.h:282
CharacterUI_DrawPaperdoll
void CharacterUI_DrawPaperdoll(Player *player)
Definition: UICharacter.cpp:930
GetCurrentMenuID
MENU_STATE GetCurrentMenuID()
Definition: GUIWindow.cpp:133
UIMSG_SpellBookWindow
@ UIMSG_SpellBookWindow
Definition: GUIWindow.h:88
MENU_DebugBLVLevel
@ MENU_DebugBLVLevel
Definition: GUIWindow.h:261
Log
Definition: Log.h:3
UIMSG_CastSpell_Telekinesis
@ UIMSG_CastSpell_Telekinesis
Definition: GUIWindow.h:157
UIMSG_SelectShopDialogueOption
@ UIMSG_SelectShopDialogueOption
Definition: GUIWindow.h:194
OnCancel::Update
virtual void Update()
Definition: GUIWindow.cpp:909
OnButtonClick2::Update
virtual void Update()
Definition: GUIWindow.cpp:846
DIALOGUE_ARENA_SELECT_CHAMPION
@ DIALOGUE_ARENA_SELECT_CHAMPION
Definition: GUIWindow.h:283
DIALOGUE_EVT_B
@ DIALOGUE_EVT_B
Definition: GUIWindow.h:271
DIALOGUE_18
@ DIALOGUE_18
Definition: GUIWindow.h:269
UIMSG_RestWindow
@ UIMSG_RestWindow
Definition: GUIWindow.h:87
ui_character_bonus_text_color
unsigned int ui_character_bonus_text_color
Definition: UICharacter.cpp:46
current_character_screen_window
enum WindowType current_character_screen_window
Definition: GUIWindow.cpp:78
UIMSG_DebugEradicate
@ UIMSG_DebugEradicate
Definition: GUIWindow.h:226
OnButtonClick3::Update
virtual void Update()
Definition: GUIWindow.cpp:863
GUIWindow::uFrameWidth
unsigned int uFrameWidth
Definition: GUIWindow.h:470
WINDOW_5D
@ WINDOW_5D
Definition: GUIWindow.h:320
ui_character_skill_highlight_color
unsigned int ui_character_skill_highlight_color
Definition: UICharacter.cpp:44
WINDOW_MainMenu_Load
@ WINDOW_MainMenu_Load
Definition: GUIWindow.h:308
ui_leather_mm7
Image * ui_leather_mm7
Definition: GUIWindow.cpp:106
UIMSG_StartHireling2Dialogue
@ UIMSG_StartHireling2Dialogue
Definition: GUIWindow.h:117
GUIButton
Definition: GUIButton.h:11
GUIWindow::receives_keyboard_input_2
int receives_keyboard_input_2
Definition: GUIWindow.h:486
UIMSG_OpenQuestBook
@ UIMSG_OpenQuestBook
Definition: GUIWindow.h:168
GUIWindow::uFrameZ
unsigned int uFrameZ
Definition: GUIWindow.h:472
ui_ar_dn_up
Image * ui_ar_dn_up
Definition: GUIWindow.cpp:101
_4B3FE5_training_dialogue
void _4B3FE5_training_dialogue(int a4)
Definition: GUIWindow.cpp:1673
ui_character_skillinfo_can_learn
unsigned int ui_character_skillinfo_can_learn
Definition: UICharacter.cpp:53
UIMSG_ChangeVoiceVolume
@ UIMSG_ChangeVoiceVolume
Definition: GUIWindow.h:153
ui_character_skillinfo_cant_learn
unsigned int ui_character_skillinfo_cant_learn
Definition: UICharacter.cpp:55
prev_screen_type
enum CURRENT_SCREEN prev_screen_type
Definition: GUIWindow.cpp:84
ui_ar_up_dn
Image * ui_ar_up_dn
Definition: GUIWindow.cpp:102
GUIMessage
Definition: GUIWindow.h:643
UIMSG_ShowStatus_DateTime
@ UIMSG_ShowStatus_DateTime
Definition: GUIWindow.h:77
ui_book_calendar_month_color
unsigned int ui_book_calendar_month_color
Definition: UICharacter.cpp:87
UI_GetHealthManaAndOtherQualitiesStringColor
unsigned int UI_GetHealthManaAndOtherQualitiesStringColor(int current_pos, int base_pos)
Definition: UIGame.cpp:2307
GUIWindow::pStartingPosActiveItem
int pStartingPosActiveItem
Definition: GUIWindow.h:485
CharacterUI_InventoryTab_Draw
void CharacterUI_InventoryTab_Draw(Player *player, bool a2)
Definition: UICharacter.cpp:1829
GUIWindow::vButtons
std::vector< GUIButton * > vButtons
Definition: GUIWindow.h:489
ui_gamemenu_video_gamma_title_color
unsigned int ui_gamemenu_video_gamma_title_color
Definition: UICharacter.cpp:71
WINDOW_null
@ WINDOW_null
Definition: GUIWindow.h:291
UIMSG_ClickAwardsBtn
@ UIMSG_ClickAwardsBtn
Definition: GUIWindow.h:100
WINDOW_CloseRestWindowBtn
@ WINDOW_CloseRestWindowBtn
Definition: GUIWindow.h:323
OnCancel3::Update
virtual void Update()
Definition: GUIWindow.cpp:940
OnSaveLoad
Definition: GUIWindow.h:558
GUI_HandleHotkey
class GUIButton * GUI_HandleHotkey(uint8_t uHotkey)
Definition: GUIWindow.cpp:215
GUIWindow::_41D08F_set_keyboard_control_group
void _41D08F_set_keyboard_control_group(int num_buttons, int a3, int a4, int a5)
Definition: GUIWindow.cpp:273
UIMSG_DebugKillChar
@ UIMSG_DebugKillChar
Definition: GUIWindow.h:225
WINDOW_GameMenu
@ WINDOW_GameMenu
Definition: GUIWindow.h:293
GameUI_DrawFoodAndGold
void GameUI_DrawFoodAndGold()
Definition: UIGame.cpp:1179
GUIMessageQueue::AddMessageImpl
void AddMessageImpl(UIMessageType msg, int param, unsigned int a4, const char *file=nullptr, int line=0)
Definition: GUIWindow.cpp:1348
DrawJoinGuildWindow
void DrawJoinGuildWindow(int pEventCode)
Definition: GUIWindow.cpp:794
UIMSG_31
@ UIMSG_31
Definition: GUIWindow.h:35
GUIMessageQueue::GUIMessageQueue
GUIMessageQueue()
Definition: GUIWindow.h:655
WindowManager::DeleteAllVisibleWindows
void DeleteAllVisibleWindows()
Definition: GUIWindow.cpp:2503
OnButtonClick::OnButtonClick
OnButtonClick(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const String &hint=String(), bool play_sound=true)
Definition: GUIWindow.h:512
free_book_subwindow
void free_book_subwindow()
Definition: GUIWindow.cpp:1025
CURRENT_SCREEN
CURRENT_SCREEN
Definition: GUIWindow.h:604
ui_book_calendar_moon_color
unsigned int ui_book_calendar_moon_color
Definition: UICharacter.cpp:89
ui_character_condition_light_color
unsigned int ui_character_condition_light_color
Definition: UICharacter.cpp:57
UIMSG_SelectSpell
@ UIMSG_SelectSpell
Definition: GUIWindow.h:71
UIMSG_DownArrow
@ UIMSG_DownArrow
Definition: GUIWindow.h:130
WINDOW_CharacterCreation
@ WINDOW_CharacterCreation
Definition: GUIWindow.h:343
CURRENT_SCREEN::SCREEN_E
@ SCREEN_E
OnCancel3
Definition: GUIWindow.h:588
UIMSG_D5
@ UIMSG_D5
Definition: GUIWindow.h:181
DIALOGUE_ARENA_FIGHT_NOT_OVER_YET
@ DIALOGUE_ARENA_FIGHT_NOT_OVER_YET
Definition: GUIWindow.h:285
WINDOW_DebugMenu
@ WINDOW_DebugMenu
Definition: GUIWindow.h:350
CURRENT_SCREEN::SCREEN_24
@ SCREEN_24
FillAwardsData
void FillAwardsData()
Definition: UICharacter.cpp:2598
MENU_NEWGAME
@ MENU_NEWGAME
Definition: GUIWindow.h:252
DIALOGUE_13
@ DIALOGUE_13
Definition: GUIWindow.h:268
UIMSG_CastQuickSpell
@ UIMSG_CastQuickSpell
Definition: GUIWindow.h:29
pGUIWindow_CastTargetedSpell
GUIWindow * pGUIWindow_CastTargetedSpell
Definition: GUIWindow.cpp:56
MainMenuUI_LoadFontsAndSomeStuff
void MainMenuUI_LoadFontsAndSomeStuff()
Definition: GUIWindow.cpp:2512
y
EGLSurface EGLint EGLint y
Definition: SDL_egl.h:1596
UIMSG_0
@ UIMSG_0
Definition: GUIWindow.h:14
MENU_EXIT_GAME
@ MENU_EXIT_GAME
Definition: GUIWindow.h:255
ui_character_stat_buffed_color
unsigned int ui_character_stat_buffed_color
Definition: UICharacter.cpp:51
WINDOW_Load
@ WINDOW_Load
Definition: GUIWindow.h:349
UIMSG_MouseLeftClickInScreen
@ UIMSG_MouseLeftClickInScreen
Definition: GUIWindow.h:22
CURRENT_SCREEN::SCREEN_PARTY_CREATION
@ SCREEN_PARTY_CREATION
GUIWindow::field_34
int field_34
Definition: GUIWindow.h:484
CURRENT_SCREEN::SCREEN_BRANCHLESS_NPC_DIALOG
@ SCREEN_BRANCHLESS_NPC_DIALOG
UIMSG_OpenHistoryBook
@ UIMSG_OpenHistoryBook
Definition: GUIWindow.h:186
GUIMessageQueue
Definition: GUIWindow.h:654
GUIMessage::field_8
int field_8
Definition: GUIWindow.h:646
pChestWindow
GUIWindow * pChestWindow
Definition: GUIWindow.cpp:49
Image
Definition: Image.h:19
UIMSG_SkillUp
@ UIMSG_SkillUp
Definition: GUIWindow.h:104
CreateMsgScrollWindow
void CreateMsgScrollWindow(signed int mscroll_id)
Definition: GUIWindow.cpp:1014
OnButtonClick2::OnButtonClick2
OnButtonClick2(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const String &hint=String(), bool play_sound=true)
Definition: GUIWindow.h:525
GUIWindow::DrawTextInRect
int DrawTextInRect(GUIFont *font, unsigned int x, unsigned int y, unsigned int color, const char *text, int rect_width, int reverse_text)
Definition: GUIWindow.cpp:702
UIMSG_OnFinalWindowClose
@ UIMSG_OnFinalWindowClose
Definition: GUIWindow.h:164
GameUI_DrawRightPanelFrames
void GameUI_DrawRightPanelFrames()
Definition: UIGame.cpp:1254
WINDOW_Transition
@ WINDOW_Transition
Definition: GUIWindow.h:310
ui_character_default_text_color
unsigned int ui_character_default_text_color
Definition: UICharacter.cpp:43
UIMSG_DebugSnow
@ UIMSG_DebugSnow
Definition: GUIWindow.h:229
GUIWindow::pCurrentPosActiveItem
int pCurrentPosActiveItem
Definition: GUIWindow.h:482
GUIWindow::DeleteButtons
void DeleteButtons()
Definition: GUIWindow.cpp:305
CharacterUI_ReleaseButtons
void CharacterUI_ReleaseButtons()
Definition: UICharacter.cpp:3371
OnCastTargetedSpell::OnCastTargetedSpell
OnCastTargetedSpell(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const String &hint=String())
Definition: GUIWindow.cpp:147
UIMSG_ArrowUp
@ UIMSG_ArrowUp
Definition: GUIWindow.h:129
DrawSpellDescriptionPopup
void DrawSpellDescriptionPopup(int spell_index)
Definition: UIPopup.cpp:1372
WINDOW_Chest
@ WINDOW_Chest
Definition: GUIWindow.h:305
UIMSG_DebugCycleAlign
@ UIMSG_DebugCycleAlign
Definition: GUIWindow.h:237
UIMSG_OpenCalendar
@ UIMSG_OpenCalendar
Definition: GUIWindow.h:171
OnButtonClick3::~OnButtonClick3
virtual ~OnButtonClick3()
Definition: GUIWindow.h:542
UIMSG_StartNewGame
@ UIMSG_StartNewGame
Definition: GUIWindow.h:107
WINDOW_GameOptions
@ WINDOW_GameOptions
Definition: GUIWindow.h:331
UIMSG_ResetKeyMapping
@ UIMSG_ResetKeyMapping
Definition: GUIWindow.h:204
UIMSG_DebugAllMagic
@ UIMSG_DebugAllMagic
Definition: GUIWindow.h:235
UIMSG_ChangeDetaliz
@ UIMSG_ChangeDetaliz
Definition: GUIWindow.h:70
UIMSG_DebugTakeFood
@ UIMSG_DebugTakeFood
Definition: GUIWindow.h:238
UIMSG_MouseLeftClickInGame
@ UIMSG_MouseLeftClickInGame
Definition: GUIWindow.h:18
GUIWindow::pNumPresenceButton
int pNumPresenceButton
Definition: GUIWindow.h:481
UIMSG_ToggleColoredLights
@ UIMSG_ToggleColoredLights
Definition: GUIWindow.h:209
UIMSG_OpenDebugMenu
@ UIMSG_OpenDebugMenu
Definition: GUIWindow.h:246
GUIMessage::file
String file
Definition: GUIWindow.h:647
x
EGLSurface EGLint x
Definition: SDL_egl.h:1596
WINDOW_CharacterWindow_Inventory
@ WINDOW_CharacterWindow_Inventory
Definition: GUIWindow.h:330
ui_gamemenu_keys_key_selection_blink_color_2
unsigned int ui_gamemenu_keys_key_selection_blink_color_2
Definition: UICharacter.cpp:74
UIMSG_ClickAwardScrollBar
@ UIMSG_ClickAwardScrollBar
Definition: GUIWindow.h:159
UIMSG_ChangeCursor
@ UIMSG_ChangeCursor
Definition: GUIWindow.h:25
UIMSG_STEALFROMACTOR
@ UIMSG_STEALFROMACTOR
Definition: GUIWindow.h:31
UIMSG_D4
@ UIMSG_D4
Definition: GUIWindow.h:180
DrawPopupWindow
void DrawPopupWindow(unsigned int uX, unsigned int uY, unsigned int uWidth, unsigned int uHeight)
Definition: UIPopup.cpp:89
color
GLuint color
Definition: SDL_opengl_glext.h:1151
CURRENT_SCREEN::SCREEN_LOADGAME
@ SCREEN_LOADGAME
UIMSG_MainMenu_ShowLoadWindow
@ UIMSG_MainMenu_ShowLoadWindow
Definition: GUIWindow.h:41
UIMSG_PlayerCreationChangeName
@ UIMSG_PlayerCreationChangeName
Definition: GUIWindow.h:46
param
GLfloat param
Definition: SDL_opengl_glext.h:373
MENU_MMT_MAIN_MENU
@ MENU_MMT_MAIN_MENU
Definition: GUIWindow.h:263
UIMSG_ExitRest
@ UIMSG_ExitRest
Definition: GUIWindow.h:134
WINDOW_CastSpell
@ WINDOW_CastSpell
Definition: GUIWindow.h:311
label
GLuint GLsizei const GLchar * label
Definition: SDL_opengl_glext.h:2488
PLAYER_SKILL_TYPE
PLAYER_SKILL_TYPE
Definition: Player.h:170
UIMSG_AD
@ UIMSG_AD
Definition: GUIWindow.h:140
OnButtonClick4::~OnButtonClick4
virtual ~OnButtonClick4()
Definition: GUIWindow.h:553
UIMSG_Game_OpenSaveGameDialog
@ UIMSG_Game_OpenSaveGameDialog
Definition: GUIWindow.h:109
ui_character_condition_normal_color
unsigned int ui_character_condition_normal_color
Definition: UICharacter.cpp:56
OnCastTargetedSpell::~OnCastTargetedSpell
virtual ~OnCastTargetedSpell()
Definition: GUIWindow.h:601
GUIWindow::DrawMessageBox
void DrawMessageBox(bool inside_game_viewport)
Definition: GUIWindow.cpp:319
CURRENT_SCREEN::SCREEN_HOUSE
@ SCREEN_HOUSE
WINDOW_LloydsBeacon
@ WINDOW_LloydsBeacon
Definition: GUIWindow.h:334
WINDOW_Book
@ WINDOW_Book
Definition: GUIWindow.h:297
ClickNPCTopic
void ClickNPCTopic(int uMessageParam)
Definition: GUIWindow.cpp:1412
UIMSG_OnCastLloydsBeacon
@ UIMSG_OnCastLloydsBeacon
Definition: GUIWindow.h:144
UIMSG_ShowCredits
@ UIMSG_ShowCredits
Definition: GUIWindow.h:42
CURRENT_SCREEN::SCREEN_CREATORS
@ SCREEN_CREATORS
WINDOW_Dialogue
@ WINDOW_Dialogue
Definition: GUIWindow.h:298
GUIWindow::uFrameHeight
unsigned int uFrameHeight
Definition: GUIWindow.h:471
WINDOW_BooksButtonOverlay
@ WINDOW_BooksButtonOverlay
Definition: GUIWindow.h:326
DialogueEnding
void DialogueEnding()
Definition: GUIWindow.cpp:812
UIMSG_DebugDrawDist
@ UIMSG_DebugDrawDist
Definition: GUIWindow.h:230
UIMSG_ShowStatus_Player
@ UIMSG_ShowStatus_Player
Definition: GUIWindow.h:79
GetConditionDrawColor
int GetConditionDrawColor(unsigned int uConditionIdx)
Definition: UIGame.cpp:2327
UIMSG_CastSpellFromBook
@ UIMSG_CastSpellFromBook
Definition: GUIWindow.h:122
UIMSG_Game_OpenOptionsDialog
@ UIMSG_Game_OpenOptionsDialog
Definition: GUIWindow.h:110
GUIWindow_Scroll
Definition: GUIWindow.h:495
ui_house_player_cant_interact_color
unsigned int ui_house_player_cant_interact_color
Definition: UICharacter.cpp:100
width
EGLSurface EGLint EGLint EGLint width
Definition: SDL_egl.h:1596
UIMSG_DebugLightmap
@ UIMSG_DebugLightmap
Definition: GUIWindow.h:233
ui_book_calendar_location_color
unsigned int ui_book_calendar_location_color
Definition: UICharacter.cpp:90
ptr_507BC8
GUIWindow * ptr_507BC8
Definition: GUIWindow.cpp:53
WINDOW_AutonotesBook
@ WINDOW_AutonotesBook
Definition: GUIWindow.h:337
ui_game_dialogue_option_highlight_color
unsigned int ui_game_dialogue_option_highlight_color
Definition: UICharacter.cpp:97
UIMSG_1C
@ UIMSG_1C
Definition: GUIWindow.h:32
CURRENT_SCREEN::SCREEN_CHARACTERS
@ SCREEN_CHARACTERS
CURRENT_SCREEN::SCREEN_SAVEGAME
@ SCREEN_SAVEGAME
UIMSG_CHANGE_LOCATION_ClickCencelBtn
@ UIMSG_CHANGE_LOCATION_ClickCencelBtn
Definition: GUIWindow.h:76
WINDOW_KeyMappingOptions
@ WINDOW_KeyMappingOptions
Definition: GUIWindow.h:332
ui_character_condition_moderate_color
unsigned int ui_character_condition_moderate_color
Definition: UICharacter.cpp:58
OnButtonClick::~OnButtonClick
virtual ~OnButtonClick()
Definition: GUIWindow.h:516
GUIWindow::field_30
int field_30
Definition: GUIWindow.h:483
ui_game_minimap_outline_color
unsigned int ui_game_minimap_outline_color
Definition: UICharacter.cpp:62
GUIMessage::param
int param
Definition: GUIWindow.h:645
CharacterUI_SkillsTab_ShowHint
void CharacterUI_SkillsTab_ShowHint()
Definition: UIPopup.cpp:1127
Party.h
UIMSG_PlayerCreationRemoveUpSkill
@ UIMSG_PlayerCreationRemoveUpSkill
Definition: GUIWindow.h:60
UIMSG_OnTravelByFoot
@ UIMSG_OnTravelByFoot
Definition: GUIWindow.h:75
UIMSG_AlreadyResting
@ UIMSG_AlreadyResting
Definition: GUIWindow.h:92
WindowManager::~WindowManager
virtual ~WindowManager()
Definition: GUIWindow.h:677
UIMSG_PlayerCreation_FaceNext
@ UIMSG_PlayerCreation_FaceNext
Definition: GUIWindow.h:139
UIMSG_PlayerCreation_SelectAttribute
@ UIMSG_PlayerCreation_SelectAttribute
Definition: GUIWindow.h:101
ui_character_condition_severe_color
unsigned int ui_character_condition_severe_color
Definition: UICharacter.cpp:59
window
EGLSurface EGLNativeWindowType * window
Definition: SDL_egl.h:1580
UIMSG_SelectKeyPage1
@ UIMSG_SelectKeyPage1
Definition: GUIWindow.h:202
lWindowList
std::list< GUIWindow * > lWindowList
Definition: GUIWindow.cpp:79
OnSaveLoad::~OnSaveLoad
virtual ~OnSaveLoad()
Definition: GUIWindow.h:563
GUIWindow::Contains
bool Contains(unsigned int x, unsigned int y)
Definition: GUIWindow.cpp:750
UIMSG_InventoryLeftClick
@ UIMSG_InventoryLeftClick
Definition: GUIWindow.h:103
sCurrentMenuID
MENU_STATE sCurrentMenuID
Definition: GUIWindow.cpp:81
WINDOW_GenericCancel
@ WINDOW_GenericCancel
Definition: GUIWindow.h:345
ui_character_stat_default_color
unsigned int ui_character_stat_default_color
Definition: UICharacter.cpp:50
UIMSG_InstallBeacon
@ UIMSG_InstallBeacon
Definition: GUIWindow.h:146
CharacterUI_GetSkillDescText
String CharacterUI_GetSkillDescText(unsigned int uPlayerID, PLAYER_SKILL_TYPE uPlayerSkillType)
Definition: UIPopup.cpp:1044
UIMSG_CHEST_ClickItem
@ UIMSG_CHEST_ClickItem
Definition: GUIWindow.h:20
ui_character_skill_upgradeable_color
unsigned int ui_character_skill_upgradeable_color
Definition: UICharacter.cpp:48
UIMSG_SaveLoadBtn
@ UIMSG_SaveLoadBtn
Definition: GUIWindow.h:131
UIMSG_MainMenu_ShowPartyCreationWnd
@ UIMSG_MainMenu_ShowPartyCreationWnd
Definition: GUIWindow.h:40
ui_btn_npc_right
Image * ui_btn_npc_right
Definition: GUIWindow.cpp:97
UIMSG_OpenKeyMappingOptions
@ UIMSG_OpenKeyMappingOptions
Definition: GUIWindow.h:201
WINDOW_QuickReference
@ WINDOW_QuickReference
Definition: GUIWindow.h:299
ui_game_minimap_decoration_color_1
unsigned int ui_game_minimap_decoration_color_1
Definition: UICharacter.cpp:66
GUIWindow::~GUIWindow
virtual ~GUIWindow()
Definition: GUIWindow.h:437
UIMSG_MMT_MainMenu_MM6
@ UIMSG_MMT_MainMenu_MM6
Definition: GUIWindow.h:213
dialogue_ui_x_x_u
Image * dialogue_ui_x_x_u
Definition: GUIWindow.cpp:92
UIMSG_SpellScrollUse
@ UIMSG_SpellScrollUse
Definition: GUIWindow.h:126
UIMSG_ToggleFlipOnExit
@ UIMSG_ToggleFlipOnExit
Definition: GUIWindow.h:188
UIMSG_DebugTownPortal
@ UIMSG_DebugTownPortal
Definition: GUIWindow.h:245
UIMSG_1A9
@ UIMSG_1A9
Definition: GUIWindow.h:211
UIMSG_44
@ UIMSG_44
Definition: GUIWindow.h:54
GUIMessageQueue::PopMessage
void PopMessage(UIMessageType *pMsg, int *pParam, int *a4)
Definition: GUIWindow.cpp:174
WINDOW_VideoOptions
@ WINDOW_VideoOptions
Definition: GUIWindow.h:333
UIMSG_BuyInShop_Identify_Repair
@ UIMSG_BuyInShop_Identify_Repair
Definition: GUIWindow.h:66
UIMSG_ClickAwardsUpBtn
@ UIMSG_ClickAwardsUpBtn
Definition: GUIWindow.h:136
UIMSG_Cancel
@ UIMSG_Cancel
Definition: GUIWindow.h:133
ui_game_minimap_actor_hostile_color
unsigned int ui_game_minimap_actor_hostile_color
Definition: UICharacter.cpp:64
UIMSG_C2
@ UIMSG_C2
Definition: GUIWindow.h:161
DIALOGUE_ARENA_ALREADY_WON
@ DIALOGUE_ARENA_ALREADY_WON
Definition: GUIWindow.h:287
WINDOW_QuestBook
@ WINDOW_QuestBook
Definition: GUIWindow.h:336
OnButtonClick4::OnButtonClick4
OnButtonClick4(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const String &hint=String())
Definition: GUIWindow.h:550
CreateScrollWindow
void CreateScrollWindow()
Definition: GUIWindow.cpp:977
UIMSG_ClickInstallRemoveQuickSpellBtn
@ UIMSG_ClickInstallRemoveQuickSpellBtn
Definition: GUIWindow.h:73
UIMSG_DebugShowFPS
@ UIMSG_DebugShowFPS
Definition: GUIWindow.h:222
UIMSG_ToggleShowDamage
@ UIMSG_ToggleShowDamage
Definition: GUIWindow.h:154
GUI_ReplaceHotkey
void GUI_ReplaceHotkey(uint8_t uOldHotkey, uint8_t uNewHotkey, char bFirstCall)
Definition: GUIWindow.cpp:192
MENU_5
@ MENU_5
Definition: GUIWindow.h:256
UIMSG_ChangeSoundVolume
@ UIMSG_ChangeSoundVolume
Definition: GUIWindow.h:94
UIMSG_Game_OpenLoadGameDialog
@ UIMSG_Game_OpenLoadGameDialog
Definition: GUIWindow.h:108
GUIWindow::HouseDialogManager
void HouseDialogManager()
Definition: GUIWindow.cpp:397
GUIWindow::uFrameY
unsigned int uFrameY
Definition: GUIWindow.h:469
UIMSG_D0
@ UIMSG_D0
Definition: GUIWindow.h:176
UIMSG_DebugPickedFace
@ UIMSG_DebugPickedFace
Definition: GUIWindow.h:223
UIMSG_PlayerCreationSelectClass
@ UIMSG_PlayerCreationSelectClass
Definition: GUIWindow.h:51
Texture_MM7
Definition: Image.h:97
CURRENT_SCREEN::SCREEN_INPUT_BLV
@ SCREEN_INPUT_BLV
ui_book_map_title_color
unsigned int ui_book_map_title_color
Definition: UICharacter.cpp:81
CURRENT_SCREEN::SCREEN_BOOKS
@ SCREEN_BOOKS
UIMSG_RentRoom
@ UIMSG_RentRoom
Definition: GUIWindow.h:196
ui_game_minimap_projectile_color
unsigned int ui_game_minimap_projectile_color
Definition: UICharacter.cpp:67
GUIWindow::DrawFlashingInputCursor
void DrawFlashingInputCursor(int uX, int uY, GUIFont *a2)
Definition: GUIWindow.cpp:759
UIMSG_LoadGame
@ UIMSG_LoadGame
Definition: GUIWindow.h:67
ui_game_character_record_playerbuff_colors
std::array< unsigned int, 24 > ui_game_character_record_playerbuff_colors
Definition: UICharacter.cpp:69
WindowType
WindowType
Definition: GUIWindow.h:290
GUIWindow_Scroll::Update
virtual void Update()
Definition: GUIWindow.cpp:829
WINDOW_59
@ WINDOW_59
Definition: GUIWindow.h:316
WINDOW_PressedButton2
@ WINDOW_PressedButton2
Definition: GUIWindow.h:317
WINDOW_GreetingNPC
@ WINDOW_GreetingNPC
Definition: GUIWindow.h:304
MENU_LoadingProcInMainMenu
@ MENU_LoadingProcInMainMenu
Definition: GUIWindow.h:260
CURRENT_SCREEN::SCREEN_CHANGE_LOCATION
@ SCREEN_CHANGE_LOCATION
CURRENT_SCREEN::SCREEN_GAME
@ SCREEN_GAME
ui_book_journal_title_color
unsigned int ui_book_journal_title_color
Definition: UICharacter.cpp:92
UIMSG_PlayerCreationClickReset
@ UIMSG_PlayerCreationClickReset
Definition: GUIWindow.h:53
UIMSG_OpenVideoOptions
@ UIMSG_OpenVideoOptions
Definition: GUIWindow.h:207
MENU_CREDITSPROC
@ MENU_CREDITSPROC
Definition: GUIWindow.h:259
uint8_t
unsigned __int8 uint8_t
Definition: SDL_config.h:35
UIMSG_HiredNPC_CastSpell
@ UIMSG_HiredNPC_CastSpell
Definition: GUIWindow.h:123
ToString
const char * ToString(WindowType windowType)
Definition: GUIWindow.h:357
UIMSG_ToggleTint
@ UIMSG_ToggleTint
Definition: GUIWindow.h:210
UIMSG_DebugFullHeal
@ UIMSG_DebugFullHeal
Definition: GUIWindow.h:228
DIALOGUE_SKILL_TRAINER
@ DIALOGUE_SKILL_TRAINER
Definition: GUIWindow.h:278
UIMSG_CloseAfterInstallBeacon
@ UIMSG_CloseAfterInstallBeacon
Definition: GUIWindow.h:148
CURRENT_SCREEN::SCREEN_NPC_DIALOGUE
@ SCREEN_NPC_DIALOGUE
DIALOGUE_ARENA_SELECT_PAGE
@ DIALOGUE_ARENA_SELECT_PAGE
Definition: GUIWindow.h:280
CURRENT_SCREEN::SCREEN_MENU
@ SCREEN_MENU
OnCancel
Definition: GUIWindow.h:568
WINDOW_Options
@ WINDOW_Options
Definition: GUIWindow.h:295
OnButtonClick2::bPlaySound
bool bPlaySound
Definition: GUIWindow.h:533
UIMSG_PlayerCreationSelectActiveSkill
@ UIMSG_PlayerCreationSelectActiveSkill
Definition: GUIWindow.h:50
ui_buttdesc2
Image * ui_buttdesc2
Definition: GUIWindow.cpp:94
draw_leather
void draw_leather()
Definition: UICharacter.cpp:925
DIALOGUE_TYPE
DIALOGUE_TYPE
Definition: GUIWindow.h:266
GUIWindow_Scroll::~GUIWindow_Scroll
virtual ~GUIWindow_Scroll()
Definition: GUIWindow.h:505
DIALOGUE_ARENA_REWARD
@ DIALOGUE_ARENA_REWARD
Definition: GUIWindow.h:286
WindowManager::WindowManager
WindowManager()
Definition: GUIWindow.h:676
UIMSG_80
@ UIMSG_80
Definition: GUIWindow.h:111
CharacterUI_DrawPaperdollWithRingOverlay
void CharacterUI_DrawPaperdollWithRingOverlay(Player *player)
Definition: UICharacter.cpp:1911
game_ui_right_panel_frame
Image * game_ui_right_panel_frame
Definition: GUIWindow.cpp:90
CURRENT_SCREEN::SCREEN_1B
@ SCREEN_1B
UIMSG_Wait5Minutes
@ UIMSG_Wait5Minutes
Definition: GUIWindow.h:80
UIMSG_BF
@ UIMSG_BF
Definition: GUIWindow.h:158
WINDOW_GameUI
@ WINDOW_GameUI
Definition: GUIWindow.h:346
Player.h
ui_book_calendar_year_color
unsigned int ui_book_calendar_year_color
Definition: UICharacter.cpp:88
dialogue_ui_x_ok_u
Image * dialogue_ui_x_ok_u
Definition: GUIWindow.cpp:91
UIMSG_Rest8Hour
@ UIMSG_Rest8Hour
Definition: GUIWindow.h:82
WINDOW_MainMenu
@ WINDOW_MainMenu
Definition: GUIWindow.h:292
UIMSG_CD
@ UIMSG_CD
Definition: GUIWindow.h:173
ui_gamemenu_keys_action_name_color
unsigned int ui_gamemenu_keys_action_name_color
Definition: UICharacter.cpp:72
GameUI_DrawItemInfo
void GameUI_DrawItemInfo(struct ItemGen *inspect_item)
Definition: UIPopup.cpp:168
UIMSG_48
@ UIMSG_48
Definition: GUIWindow.h:58
UIMSG_OnCastTownPortal
@ UIMSG_OnCastTownPortal
Definition: GUIWindow.h:163
WINDOW_SaveLoadBtn
@ WINDOW_SaveLoadBtn
Definition: GUIWindow.h:321
UIMSG_OpenAutonotes
@ UIMSG_OpenAutonotes
Definition: GUIWindow.h:169
DIALOGUE_EVT_E
@ DIALOGUE_EVT_E
Definition: GUIWindow.h:274
UIMSG_PlayerCreation_FacePrev
@ UIMSG_PlayerCreation_FacePrev
Definition: GUIWindow.h:138
WINDOW_TownPortal
@ WINDOW_TownPortal
Definition: GUIWindow.h:335
ui_exit_cancel_button_background
Image * ui_exit_cancel_button_background
Definition: GUIWindow.cpp:89
UIMSG_SelectLoadSlot
@ UIMSG_SelectLoadSlot
Definition: GUIWindow.h:132
GUI_UpdateWindows
void GUI_UpdateWindows()
Definition: GUIWindow.cpp:956
GUIWindow::mouse
Mouse * mouse
Definition: GUIWindow.h:491
MENU_CREDITS
@ MENU_CREDITS
Definition: GUIWindow.h:253
UIMSG_TransitionUI_Confirm
@ UIMSG_TransitionUI_Confirm
Definition: GUIWindow.h:198
UIMSG_D6
@ UIMSG_D6
Definition: GUIWindow.h:182
UIMSG_ScrollNPCPanel
@ UIMSG_ScrollNPCPanel
Definition: GUIWindow.h:155
OnCancel3::OnCancel3
OnCancel3(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const String &hint=String())
Definition: GUIWindow.h:590
UIMSG_ChangeGameState
@ UIMSG_ChangeGameState
Definition: GUIWindow.h:16
UIMSG_Wait1Hour
@ UIMSG_Wait1Hour
Definition: GUIWindow.h:81
GUIButton::uY
unsigned int uY
Definition: GUIButton.h:22
ui_book_quests_title_color
unsigned int ui_book_quests_title_color
Definition: UICharacter.cpp:77
UIMSG_SelectKeyPage2
@ UIMSG_SelectKeyPage2
Definition: GUIWindow.h:203
DIALOGUE_ARENA_WELCOME
@ DIALOGUE_ARENA_WELCOME
Definition: GUIWindow.h:284
CURRENT_SCREEN::SCREEN_REST
@ SCREEN_REST
window_SpeakInHouse
GUIWindow * window_SpeakInHouse
Definition: GUIWindow.cpp:51
ui_character_stat_debuffed_color
unsigned int ui_character_stat_debuffed_color
Definition: UICharacter.cpp:52
UIMSG_D2
@ UIMSG_D2
Definition: GUIWindow.h:178
GUIWindow::par1C
unsigned int par1C
Definition: GUIWindow.h:477
BuildDialogueString
String BuildDialogueString(const char *lpsz, unsigned __int8 uPlayerID, struct ItemGen *a3, char *a4, int a5, GameTime *a6=nullptr)
Definition: GUIWindow.cpp:2189
OnButtonClick2::~OnButtonClick2
virtual ~OnButtonClick2()
Definition: GUIWindow.h:529
UIMSG_DebugBlv2
@ UIMSG_DebugBlv2
Definition: GUIWindow.h:141
UIMSG_ClickInventoryBtn
@ UIMSG_ClickInventoryBtn
Definition: GUIWindow.h:99
MENU_CREDITSCLOSE
@ MENU_CREDITSCLOSE
Definition: GUIWindow.h:262
ui_character_header_text_color
unsigned int ui_character_header_text_color
Definition: UICharacter.cpp:45
UIMSG_DebugFarClip
@ UIMSG_DebugFarClip
Definition: GUIWindow.h:220
UIMSG_ShowStatus_Food
@ UIMSG_ShowStatus_Food
Definition: GUIWindow.h:84
WINDOW_CharacterWindow_Stats
@ WINDOW_CharacterWindow_Stats
Definition: GUIWindow.h:327
CURRENT_SCREEN::SCREEN_MODAL_WINDOW
@ SCREEN_MODAL_WINDOW
pModalWindow
GUIWindow * pModalWindow
Definition: GUIWindow.cpp:57
GUIWindow::eWindowType
WindowType eWindowType
Definition: GUIWindow.h:474
WINDOW_Credits
@ WINDOW_Credits
Definition: GUIWindow.h:347
ui_game_dialogue_npc_name_color
unsigned int ui_game_dialogue_npc_name_color
Definition: UICharacter.cpp:96
UIMSG_MMT_MainMenu_MM7
@ UIMSG_MMT_MainMenu_MM7
Definition: GUIWindow.h:214
GUIWindow::ptr_1C
void * ptr_1C
Definition: GUIWindow.h:476
OnSaveLoad::OnSaveLoad
OnSaveLoad(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const String &hint=String())
Definition: GUIWindow.h:560
ui_ar_up_up
Image * ui_ar_up_up
Definition: GUIWindow.cpp:103
ui_gamemenu_keys_key_selection_blink_color_1
unsigned int ui_gamemenu_keys_key_selection_blink_color_1
Definition: UICharacter.cpp:73
UIMSG_Attack
@ UIMSG_Attack
Definition: GUIWindow.h:27
OnButtonClick3::OnButtonClick3
OnButtonClick3(WindowType windowType, unsigned int x, unsigned int y, unsigned int width, unsigned int height, GUIButton *button, const String &hint=String())
Definition: GUIWindow.h:538
UIMSG_7A
@ UIMSG_7A
Definition: GUIWindow.h:105
MonsterPopup_Draw
void MonsterPopup_Draw(unsigned int uActorID, GUIWindow *window)
Definition: UIPopup.cpp:563
ui_character_skill_default_color
unsigned int ui_character_skill_default_color
Definition: UICharacter.cpp:49
UIMSG_Game_Action
@ UIMSG_Game_Action
Definition: GUIWindow.h:193
GameUI_DrawCharacterSelectionFrame
void GameUI_DrawCharacterSelectionFrame()
Definition: UIGame.cpp:1688
GUIWindow::DrawShops_next_generation_time_string
void DrawShops_next_generation_time_string(GameTime time)
Definition: GUIWindow.cpp:648
const_2
int const_2()
UIMSG_F
@ UIMSG_F
Definition: GUIWindow.h:23
UIMSG_ChangeKeyButton
@ UIMSG_ChangeKeyButton
Definition: GUIWindow.h:205
UIMSG_ToggleBloodsplats
@ UIMSG_ToggleBloodsplats
Definition: GUIWindow.h:208
DIALOGUE_EVT_F
@ DIALOGUE_EVT_F
Definition: GUIWindow.h:275
GUIMessageQueue::qMessages
std::queue< GUIMessage > qMessages
Definition: GUIWindow.h:664
ui_ar_dn_dn
Image * ui_ar_dn_dn
Definition: GUIWindow.cpp:100
pMessageQueue_50CBD0
struct GUIMessageQueue * pMessageQueue_50CBD0
Definition: GUIWindow.cpp:86
UIMSG_DebugSeasonsChange
@ UIMSG_DebugSeasonsChange
Definition: GUIWindow.h:221
GUIWindow::GetControl
GUIButton * GetControl(unsigned int uID)
Definition: GUIWindow.cpp:311
UIMSG_ClickBooksBtn
@ UIMSG_ClickBooksBtn
Definition: GUIWindow.h:57
CURRENT_SCREEN::SCREEN_KEYBOARD_OPTIONS
@ SCREEN_KEYBOARD_OPTIONS
OnCancel::~OnCancel
virtual ~OnCancel()
Definition: GUIWindow.h:573
WINDOW_CharacterWindow_Awards
@ WINDOW_CharacterWindow_Awards
Definition: GUIWindow.h:329
OnCancel2
Definition: GUIWindow.h:578
GUIWindow::uFrameX
unsigned int uFrameX
Definition: GUIWindow.h:468
GameUI_DrawPartySpells
void GameUI_DrawPartySpells()
Definition: UIGame.cpp:1699
DIALOGUE_EVT_A
@ DIALOGUE_EVT_A
Definition: GUIWindow.h:270
GUIWindow::_41D73D_draw_buff_tooltip
void _41D73D_draw_buff_tooltip()
Definition: GUIWindow.cpp:235
GUIWindow::sHint
String sHint
Definition: GUIWindow.h:488
GameUI_CharacterQuickRecord_Draw
void GameUI_CharacterQuickRecord_Draw(GUIWindow *window, Player *player)
Definition: UIGame.cpp:1057
UIMSG_DebugPortalLines
@ UIMSG_DebugPortalLines
Definition: GUIWindow.h:224
ui_book_autonotes_title_color
unsigned int ui_book_autonotes_title_color
Definition: UICharacter.cpp:79
GameUI_DrawPortraits
void GameUI_DrawPortraits(unsigned int _this)
Definition: UIGame.cpp:1766
UIMSG_ToggleWalkSound
@ UIMSG_ToggleWalkSound
Definition: GUIWindow.h:152
GUIMessageQueue::Clear
void Clear()
Definition: GUIWindow.cpp:169
textures
GLsizei const GLuint * textures
Definition: SDL_opengl_glext.h:2565
OnCancel2::Update
virtual void Update()
Definition: GUIWindow.cpp:925
ItemGen
Definition: Items.h:263
OnButtonClick4::Update
virtual void Update()
Definition: GUIWindow.cpp:877
WINDOW_50
@ WINDOW_50
Definition: GUIWindow.h:315
UIMSG_HintTownPortal
@ UIMSG_HintTownPortal
Definition: GUIWindow.h:149
_4B254D_SkillMasteryTeacher
String _4B254D_SkillMasteryTeacher(int trainerInfo)
Definition: GUIWindow.cpp:1846
OnCastTargetedSpell
Definition: GUIWindow.h:598
WINDOW_SpellBook
@ WINDOW_SpellBook
Definition: GUIWindow.h:303
OnCancel2::OnCancel2
OnCancel2(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const String &hint=String())
Definition: GUIWindow.h:580
CURRENT_SCREEN::SCREEN_VIDEO_OPTIONS
@ SCREEN_VIDEO_OPTIONS
CURRENT_SCREEN::SCREEN_67
@ SCREEN_67
DrawMM7CopyrightWindow
void DrawMM7CopyrightWindow()
Definition: UIMainMenu.cpp:172
WINDOW_CalendarBook
@ WINDOW_CalendarBook
Definition: GUIWindow.h:339
uint32_t
unsigned __int32 uint32_t
Definition: SDL_config.h:39
WINDOW_CharactersPressedButton
@ WINDOW_CharactersPressedButton
Definition: GUIWindow.h:318
pGUIWindow_CurrentMenu
GUIWindow * pGUIWindow_CurrentMenu
Definition: GUIWindow.cpp:54
UIMSG_OpenMapBook
@ UIMSG_OpenMapBook
Definition: GUIWindow.h:170
UIMSG_GameMenu_ReturnToGame
@ UIMSG_GameMenu_ReturnToGame
Definition: GUIWindow.h:106
UIMSG_MMT_MainMenu_MM8
@ UIMSG_MMT_MainMenu_MM8
Definition: GUIWindow.h:215
GUIWindow_Scroll::GUIWindow_Scroll
GUIWindow_Scroll(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const String &hint=String())
Definition: GUIWindow.h:497
UIMSG_DebugSpecialItem
@ UIMSG_DebugSpecialItem
Definition: GUIWindow.h:218
String
std::string String
Definition: Strings.h:10
UIMSG_C1
@ UIMSG_C1
Definition: GUIWindow.h:160
UIMSG_StartHireling1Dialogue
@ UIMSG_StartHireling1Dialogue
Definition: GUIWindow.h:116
DIALOGUE_USE_NPC_ABILITY
@ DIALOGUE_USE_NPC_ABILITY
Definition: GUIWindow.h:267
UIMSG_SelectNPCDialogueOption
@ UIMSG_SelectNPCDialogueOption
Definition: GUIWindow.h:118
UIMSG_PlayerCreation_VoicePrev
@ UIMSG_PlayerCreation_VoicePrev
Definition: GUIWindow.h:124
GameTime
Definition: Time.h:14
UIMSG_DebugTurboSpeed
@ UIMSG_DebugTurboSpeed
Definition: GUIWindow.h:232
WINDOW_CharacterWindow_Skills
@ WINDOW_CharacterWindow_Skills
Definition: GUIWindow.h:328
UIMSG_ClickStatsBtn
@ UIMSG_ClickStatsBtn
Definition: GUIWindow.h:98
UIMSG_ClickPaperdoll
@ UIMSG_ClickPaperdoll
Definition: GUIWindow.h:115
CheckBountyRespawnAndAward
void CheckBountyRespawnAndAward()
Definition: GUIWindow.cpp:1763
UIMSG_OpenSpellbookPage
@ UIMSG_OpenSpellbookPage
Definition: GUIWindow.h:72
UIMSG_C6
@ UIMSG_C6
Definition: GUIWindow.h:166
WINDOW_ExitCharacterWindow
@ WINDOW_ExitCharacterWindow
Definition: GUIWindow.h:324
WINDOW_CharacterRecord
@ WINDOW_CharacterRecord
Definition: GUIWindow.h:294
UIMSG_ClickZoomOutBtn
@ UIMSG_ClickZoomOutBtn
Definition: GUIWindow.h:190
DrawBuff_remaining_time_string
void DrawBuff_remaining_time_string(int uY, GUIWindow *window, GameTime remaining_time, GUIFont *Font)
Definition: GUIWindow.cpp:1343
DIALOGUE_EVT_C
@ DIALOGUE_EVT_C
Definition: GUIWindow.h:272
OnCancel2::~OnCancel2
virtual ~OnCancel2()
Definition: GUIWindow.h:583
UIMSG_32
@ UIMSG_32
Definition: GUIWindow.h:36
UIMSG_CE
@ UIMSG_CE
Definition: GUIWindow.h:174
CURRENT_SCREEN::SCREEN_VIDEO
@ SCREEN_VIDEO
CURRENT_SCREEN::SCREEN_63
@ SCREEN_63
WINDOW_SaveLoadButtons
@ WINDOW_SaveLoadButtons
Definition: GUIWindow.h:307
UIMSG_DebugNoDamage
@ UIMSG_DebugNoDamage
Definition: GUIWindow.h:227
GUIWindow::InitializeGUI
static void InitializeGUI()
Definition: GUIWindow.cpp:754
OnButtonClick::Update
virtual void Update()
Definition: GUIWindow.cpp:833
DIALOGUE_84
@ DIALOGUE_84
Definition: GUIWindow.h:279
OnButtonClick4
Definition: GUIWindow.h:548
CreateAwardsScrollBar
void CreateAwardsScrollBar()
Definition: GUIButton.cpp:144
CharacterUI_StatsTab_ShowHint
void CharacterUI_StatsTab_ShowHint()
Definition: UIPopup.cpp:1153
MENU_CREATEPARTY
@ MENU_CREATEPARTY
Definition: GUIWindow.h:257
GameUI_GetMinimapHintText
String GameUI_GetMinimapHintText()
Definition: UIGame.cpp:1001
CURRENT_SCREEN::SCREEN_CHEST_INVENTORY
@ SCREEN_CHEST_INVENTORY
Strings.h
GUIWindow::field_24
int field_24
Definition: GUIWindow.h:480
CURRENT_SCREEN::SCREEN_64
@ SCREEN_64
GUIWindow::Update
virtual void Update()
Definition: GUIWindow.h:462