World of Might and Magic  0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
UIGame.h
См. документацию.
1 #pragma once
2 #include "GUI/GUIWindow.h"
3 
5 void GameUI_ReloadPlayerPortraits(int player_id, int face_id);
7 void GameUI_OnPlayerPortraitLeftClick(unsigned int uPlayerID); // idb
8 void buttonbox(int x, int y, char* text, int col);
9 
10 __int16 _441A4E_overlay_on_portrait(int a1);
11 
12 class GUIWindow_GameMenu : public GUIWindow {
13  public:
15  virtual ~GUIWindow_GameMenu() {}
16 
17  virtual void Update();
18 };
19 
21  public:
24 
25  virtual void Update();
26 };
27 
29  public:
32 
33  virtual void Update();
34 };
35 
36 
37 
39  public:
42 
43  virtual void Update();
44 };
45 
47  public:
49  virtual ~GUIWindow_DebugMenu() {}
50 
51  virtual void Update();
52 };
53 
54 class Image;
55 extern Image *game_ui_statusbar;
57 extern Image *game_ui_topframe;
58 extern Image *game_ui_leftframe;
60 
67 
68 extern Image *game_ui_minimap_frame; // 5079D8
69 extern Image *game_ui_minimap_compass; // 5079B4
70 extern std::array<Image *, 8> game_ui_minimap_dirs;
71 
72 extern Image *game_ui_menu_quit;
75 extern Image *game_ui_menu_save;
76 extern Image *game_ui_menu_load;
77 extern Image *game_ui_menu_new;
79 
82 extern Image *game_ui_tome_maps;
85 
86 extern Image *game_ui_btn_rest;
87 extern Image *game_ui_btn_cast;
92 
94 
95 extern std::array<Image *, 5> game_ui_options_controls;
96 
97 extern Image *game_ui_evtnpc; // 50795C
98 
99 extern std::array<std::array<Image *, 56>, 4> game_ui_player_faces;
102 
103 extern Image *game_ui_player_selection_frame; // 50C98C
104 extern Image *game_ui_player_alert_yellow; // 5079C8
105 extern Image *game_ui_player_alert_red; // 5079CC
106 extern Image *game_ui_player_alert_green; // 5079D0
107 
108 extern Image *game_ui_bar_red;
109 extern Image *game_ui_bar_yellow;
110 extern Image *game_ui_bar_green;
111 extern Image *game_ui_bar_blue;
112 
game_ui_bar_yellow
Image * game_ui_bar_yellow
Definition: UIGame.cpp:114
game_ui_options_controls
std::array< Image *, 5 > game_ui_options_controls
Definition: UIGame.cpp:100
game_ui_dialogue_background
Image * game_ui_dialogue_background
Definition: UIGame.cpp:93
game_ui_btn_rest
Image * game_ui_btn_rest
Definition: UIGame.cpp:86
GUIWindow
Definition: GUIWindow.h:433
game_ui_menu_options
Image * game_ui_menu_options
Definition: UIGame.cpp:78
game_ui_tome_quests
Image * game_ui_tome_quests
Definition: UIGame.cpp:84
game_ui_tome_autonotes
Image * game_ui_tome_autonotes
Definition: UIGame.cpp:83
game_ui_evtnpc
Image * game_ui_evtnpc
Definition: UIGame.cpp:102
GameUI_WritePointedObjectStatusString
void GameUI_WritePointedObjectStatusString()
Definition: UIGame.cpp:1266
GUIWindow_GameMenu
Definition: UIGame.h:12
GUIWindow_GameVideoOptions::GUIWindow_GameVideoOptions
GUIWindow_GameVideoOptions()
Definition: UIGame.cpp:514
_441A4E_overlay_on_portrait
__int16 _441A4E_overlay_on_portrait(int a1)
Definition: UIGame.cpp:2373
game_ui_minimap_frame
Image * game_ui_minimap_frame
Definition: UIGame.cpp:68
game_ui_btn_zoomout
Image * game_ui_btn_zoomout
Definition: UIGame.cpp:89
game_ui_playerbuff_hammerhands
Image * game_ui_playerbuff_hammerhands
Definition: UIGame.cpp:119
GUIWindow_DebugMenu
Definition: UIGame.h:46
game_ui_monster_hp_border_right
Image * game_ui_monster_hp_border_right
Definition: UIGame.cpp:66
game_ui_statusbar
Image * game_ui_statusbar
Definition: UIGame.cpp:55
game_ui_tome_storyline
Image * game_ui_tome_storyline
Definition: UIGame.cpp:80
game_ui_monster_hp_green
Image * game_ui_monster_hp_green
Definition: UIGame.cpp:61
GUIWindow_GameOptions
Definition: UIGame.h:20
game_ui_topframe
Image * game_ui_topframe
Definition: UIGame.cpp:57
game_ui_bar_green
Image * game_ui_bar_green
Definition: UIGame.cpp:115
game_ui_btn_quickref
Image * game_ui_btn_quickref
Definition: UIGame.cpp:90
game_ui_playerbuff_preservation
Image * game_ui_playerbuff_preservation
Definition: UIGame.cpp:120
game_ui_tome_maps
Image * game_ui_tome_maps
Definition: UIGame.cpp:82
game_ui_monster_hp_red
Image * game_ui_monster_hp_red
Definition: UIGame.cpp:63
game_ui_menu_resume
Image * game_ui_menu_resume
Definition: UIGame.cpp:73
game_ui_bar_red
Image * game_ui_bar_red
Definition: UIGame.cpp:113
game_ui_btn_settings
Image * game_ui_btn_settings
Definition: UIGame.cpp:91
game_ui_player_face_eradicated
Image * game_ui_player_face_eradicated
Definition: UIGame.cpp:105
game_ui_menu_quit
Image * game_ui_menu_quit
Definition: UIGame.cpp:72
y
EGLSurface EGLint EGLint y
Definition: SDL_egl.h:1596
game_ui_minimap_compass
Image * game_ui_minimap_compass
Definition: UIGame.cpp:69
GUIWindow_GameVideoOptions
Definition: UIGame.h:38
GUIWindow_GameOptions::~GUIWindow_GameOptions
virtual ~GUIWindow_GameOptions()
Definition: UIGame.h:23
Image
Definition: Image.h:19
game_ui_menu_save
Image * game_ui_menu_save
Definition: UIGame.cpp:75
game_ui_bar_blue
Image * game_ui_bar_blue
Definition: UIGame.cpp:116
game_ui_minimap_dirs
std::array< Image *, 8 > game_ui_minimap_dirs
Definition: UIGame.cpp:70
x
EGLSurface EGLint x
Definition: SDL_egl.h:1596
GUIWindow_GameMenu::~GUIWindow_GameMenu
virtual ~GUIWindow_GameMenu()
Definition: UIGame.h:15
GUIWindow_GameOptions::Update
virtual void Update()
Definition: UIGame.cpp:741
GameUI_OnPlayerPortraitLeftClick
void GameUI_OnPlayerPortraitLeftClick(unsigned int uPlayerID)
Definition: UIGame.cpp:796
GUIWindow_GameMenu::Update
virtual void Update()
Definition: UIGame.cpp:159
GameUI_ReloadPlayerPortraits
void GameUI_ReloadPlayerPortraits(int player_id, int face_id)
Definition: UIGame.cpp:199
game_ui_rightframe
Image * game_ui_rightframe
Definition: UIGame.cpp:56
game_ui_menu_controls
Image * game_ui_menu_controls
Definition: UIGame.cpp:74
game_ui_player_alert_yellow
Image * game_ui_player_alert_yellow
Definition: UIGame.cpp:109
GUIWindow_GameKeyBindings::GUIWindow_GameKeyBindings
GUIWindow_GameKeyBindings()
Definition: UIGame.cpp:233
game_ui_player_faces
std::array< std::array< Image *, 56 >, 4 > game_ui_player_faces
Definition: UIGame.cpp:104
game_ui_player_alert_red
Image * game_ui_player_alert_red
Definition: UIGame.cpp:110
game_ui_tome_calendar
Image * game_ui_tome_calendar
Definition: UIGame.cpp:81
buttonbox
void buttonbox(int x, int y, char *text, int col)
Definition: UIGame.cpp:2545
game_ui_monster_hp_yellow
Image * game_ui_monster_hp_yellow
Definition: UIGame.cpp:62
game_ui_player_selection_frame
Image * game_ui_player_selection_frame
Definition: UIGame.cpp:108
game_ui_menu_new
Image * game_ui_menu_new
Definition: UIGame.cpp:77
GUIWindow_GameVideoOptions::~GUIWindow_GameVideoOptions
virtual ~GUIWindow_GameVideoOptions()
Definition: UIGame.h:41
GUIWindow_GameKeyBindings
Definition: UIGame.h:28
game_ui_menu_load
Image * game_ui_menu_load
Definition: UIGame.cpp:76
game_ui_playerbuff_bless
Image * game_ui_playerbuff_bless
Definition: UIGame.cpp:121
game_ui_btn_zoomin
Image * game_ui_btn_zoomin
Definition: UIGame.cpp:88
GUIWindow_DebugMenu::GUIWindow_DebugMenu
GUIWindow_DebugMenu()
Definition: UIGame.cpp:2449
game_ui_player_alert_green
Image * game_ui_player_alert_green
Definition: UIGame.cpp:111
game_ui_leftframe
Image * game_ui_leftframe
Definition: UIGame.cpp:58
game_ui_bottomframe
Image * game_ui_bottomframe
Definition: UIGame.cpp:59
game_ui_btn_cast
Image * game_ui_btn_cast
Definition: UIGame.cpp:87
game_ui_playerbuff_pain_reflection
Image * game_ui_playerbuff_pain_reflection
Definition: UIGame.cpp:118
game_ui_monster_hp_background
Image * game_ui_monster_hp_background
Definition: UIGame.cpp:64
GameUI_LoadPlayerPortraintsAndVoices
void GameUI_LoadPlayerPortraintsAndVoices()
Definition: UIGame.cpp:170
GUIWindow.h
GUIWindow_GameKeyBindings::~GUIWindow_GameKeyBindings
virtual ~GUIWindow_GameKeyBindings()
Definition: UIGame.h:31
GUIWindow_GameVideoOptions::Update
virtual void Update()
Definition: UIGame.cpp:567
GUIWindow_GameKeyBindings::Update
virtual void Update()
Definition: UIGame.cpp:274
GUIWindow_GameOptions::GUIWindow_GameOptions
GUIWindow_GameOptions()
Definition: UIGame.cpp:644
GUIWindow_GameMenu::GUIWindow_GameMenu
GUIWindow_GameMenu()
Definition: UIGame.cpp:123
GUIWindow_DebugMenu::~GUIWindow_DebugMenu
virtual ~GUIWindow_DebugMenu()
Definition: UIGame.h:49
game_ui_player_face_dead
Image * game_ui_player_face_dead
Definition: UIGame.cpp:106
game_ui_monster_hp_border_left
Image * game_ui_monster_hp_border_left
Definition: UIGame.cpp:65
GUIWindow_DebugMenu::Update
virtual void Update()
Definition: UIGame.cpp:2496