annotate GUI/UI/UIGame.h @ 2574:dd36326a9994

More texture refactoring GetLeather -> DrawTextureCustomHeight
author a.parshin
date Mon, 07 Mar 2016 03:48:40 +0200
parents d87bfbd3bb3b
children a76d408c5132
rev   line source
2501
0ff6a9e9bf7f GUI folger
Ritor1
parents:
diff changeset
1 #pragma once
2546
4087cbc62706 GameMenu logic moved to GUIWindow_GameMenu
a.parshin
parents: 2501
diff changeset
2 #include "GUI/GUIWindow.h"
4087cbc62706 GameMenu logic moved to GUIWindow_GameMenu
a.parshin
parents: 2501
diff changeset
3
2501
0ff6a9e9bf7f GUI folger
Ritor1
parents:
diff changeset
4 void GameUI_WritePointedObjectStatusString();
0ff6a9e9bf7f GUI folger
Ritor1
parents:
diff changeset
5 void __fastcall GameUI_OnPlayerPortraitLeftClick(unsigned int uPlayerID); // idb
0ff6a9e9bf7f GUI folger
Ritor1
parents:
diff changeset
6
0ff6a9e9bf7f GUI folger
Ritor1
parents:
diff changeset
7 __int16 __fastcall sub_441A4E(int a1);
2546
4087cbc62706 GameMenu logic moved to GUIWindow_GameMenu
a.parshin
parents: 2501
diff changeset
8
4087cbc62706 GameMenu logic moved to GUIWindow_GameMenu
a.parshin
parents: 2501
diff changeset
9
4087cbc62706 GameMenu logic moved to GUIWindow_GameMenu
a.parshin
parents: 2501
diff changeset
10
4087cbc62706 GameMenu logic moved to GUIWindow_GameMenu
a.parshin
parents: 2501
diff changeset
11 struct GUIWindow_GameMenu : public GUIWindow
4087cbc62706 GameMenu logic moved to GUIWindow_GameMenu
a.parshin
parents: 2501
diff changeset
12 {
4087cbc62706 GameMenu logic moved to GUIWindow_GameMenu
a.parshin
parents: 2501
diff changeset
13 GUIWindow_GameMenu();
4087cbc62706 GameMenu logic moved to GUIWindow_GameMenu
a.parshin
parents: 2501
diff changeset
14 virtual ~GUIWindow_GameMenu() {}
4087cbc62706 GameMenu logic moved to GUIWindow_GameMenu
a.parshin
parents: 2501
diff changeset
15
4087cbc62706 GameMenu logic moved to GUIWindow_GameMenu
a.parshin
parents: 2501
diff changeset
16 virtual void Update();
4087cbc62706 GameMenu logic moved to GUIWindow_GameMenu
a.parshin
parents: 2501
diff changeset
17 };
4087cbc62706 GameMenu logic moved to GUIWindow_GameMenu
a.parshin
parents: 2501
diff changeset
18
4087cbc62706 GameMenu logic moved to GUIWindow_GameMenu
a.parshin
parents: 2501
diff changeset
19
4087cbc62706 GameMenu logic moved to GUIWindow_GameMenu
a.parshin
parents: 2501
diff changeset
20
4087cbc62706 GameMenu logic moved to GUIWindow_GameMenu
a.parshin
parents: 2501
diff changeset
21 struct GUIWindow_GameOptions : public GUIWindow
4087cbc62706 GameMenu logic moved to GUIWindow_GameMenu
a.parshin
parents: 2501
diff changeset
22 {
4087cbc62706 GameMenu logic moved to GUIWindow_GameMenu
a.parshin
parents: 2501
diff changeset
23 GUIWindow_GameOptions();
4087cbc62706 GameMenu logic moved to GUIWindow_GameMenu
a.parshin
parents: 2501
diff changeset
24 virtual ~GUIWindow_GameOptions() {}
4087cbc62706 GameMenu logic moved to GUIWindow_GameMenu
a.parshin
parents: 2501
diff changeset
25
4087cbc62706 GameMenu logic moved to GUIWindow_GameMenu
a.parshin
parents: 2501
diff changeset
26 virtual void Update();
4087cbc62706 GameMenu logic moved to GUIWindow_GameMenu
a.parshin
parents: 2501
diff changeset
27 };
4087cbc62706 GameMenu logic moved to GUIWindow_GameMenu
a.parshin
parents: 2501
diff changeset
28
4087cbc62706 GameMenu logic moved to GUIWindow_GameMenu
a.parshin
parents: 2501
diff changeset
29
4087cbc62706 GameMenu logic moved to GUIWindow_GameMenu
a.parshin
parents: 2501
diff changeset
30
4087cbc62706 GameMenu logic moved to GUIWindow_GameMenu
a.parshin
parents: 2501
diff changeset
31 struct GUIWindow_GameKeyBindings : public GUIWindow
4087cbc62706 GameMenu logic moved to GUIWindow_GameMenu
a.parshin
parents: 2501
diff changeset
32 {
4087cbc62706 GameMenu logic moved to GUIWindow_GameMenu
a.parshin
parents: 2501
diff changeset
33 GUIWindow_GameKeyBindings();
4087cbc62706 GameMenu logic moved to GUIWindow_GameMenu
a.parshin
parents: 2501
diff changeset
34 virtual ~GUIWindow_GameKeyBindings() {}
4087cbc62706 GameMenu logic moved to GUIWindow_GameMenu
a.parshin
parents: 2501
diff changeset
35
4087cbc62706 GameMenu logic moved to GUIWindow_GameMenu
a.parshin
parents: 2501
diff changeset
36 virtual void Update();
4087cbc62706 GameMenu logic moved to GUIWindow_GameMenu
a.parshin
parents: 2501
diff changeset
37 };
4087cbc62706 GameMenu logic moved to GUIWindow_GameMenu
a.parshin
parents: 2501
diff changeset
38
4087cbc62706 GameMenu logic moved to GUIWindow_GameMenu
a.parshin
parents: 2501
diff changeset
39
4087cbc62706 GameMenu logic moved to GUIWindow_GameMenu
a.parshin
parents: 2501
diff changeset
40
4087cbc62706 GameMenu logic moved to GUIWindow_GameMenu
a.parshin
parents: 2501
diff changeset
41 struct GUIWindow_GameVideoOptions : public GUIWindow
4087cbc62706 GameMenu logic moved to GUIWindow_GameMenu
a.parshin
parents: 2501
diff changeset
42 {
4087cbc62706 GameMenu logic moved to GUIWindow_GameMenu
a.parshin
parents: 2501
diff changeset
43 GUIWindow_GameVideoOptions();
4087cbc62706 GameMenu logic moved to GUIWindow_GameMenu
a.parshin
parents: 2501
diff changeset
44 virtual ~GUIWindow_GameVideoOptions() {}
4087cbc62706 GameMenu logic moved to GUIWindow_GameMenu
a.parshin
parents: 2501
diff changeset
45
4087cbc62706 GameMenu logic moved to GUIWindow_GameMenu
a.parshin
parents: 2501
diff changeset
46 virtual void Update();
2572
d87bfbd3bb3b Step towards unification of Texture and RGBTexture (class Image)
a.parshin
parents: 2546
diff changeset
47 };
d87bfbd3bb3b Step towards unification of Texture and RGBTexture (class Image)
a.parshin
parents: 2546
diff changeset
48
d87bfbd3bb3b Step towards unification of Texture and RGBTexture (class Image)
a.parshin
parents: 2546
diff changeset
49
d87bfbd3bb3b Step towards unification of Texture and RGBTexture (class Image)
a.parshin
parents: 2546
diff changeset
50
d87bfbd3bb3b Step towards unification of Texture and RGBTexture (class Image)
a.parshin
parents: 2546
diff changeset
51
d87bfbd3bb3b Step towards unification of Texture and RGBTexture (class Image)
a.parshin
parents: 2546
diff changeset
52 extern class Image *game_ui_statusbar;
d87bfbd3bb3b Step towards unification of Texture and RGBTexture (class Image)
a.parshin
parents: 2546
diff changeset
53 extern class Image *game_ui_rightframe;
d87bfbd3bb3b Step towards unification of Texture and RGBTexture (class Image)
a.parshin
parents: 2546
diff changeset
54 extern class Image *game_ui_topframe;
d87bfbd3bb3b Step towards unification of Texture and RGBTexture (class Image)
a.parshin
parents: 2546
diff changeset
55 extern class Image *game_ui_leftframe;
2574
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
56 extern class Image *game_ui_bottomframe;
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
57
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
58 extern class Image *game_ui_monster_hp_green;
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
59 extern class Image *game_ui_monster_hp_yellow;
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
60 extern class Image *game_ui_monster_hp_red;
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
61 extern class Image *game_ui_monster_hp_background;
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
62 extern class Image *game_ui_monster_hp_border_left;
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
63 extern class Image *game_ui_monster_hp_border_right;
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
64
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
65 extern class Image *game_ui_bar_red;
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
66 extern class Image *game_ui_bar_yellow;
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
67 extern class Image *game_ui_bar_green;
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
68 extern class Image *game_ui_bar_blue;
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
69
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
70 extern class Image *game_ui_player_alert_yellow; // 5079C8
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
71 extern class Image *game_ui_player_alert_red; // 5079CC
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
72 extern class Image *game_ui_player_alert_green; // 5079D0
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
73
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
74 extern class Image *game_ui_minimap_frame; // 5079D8
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
75 extern class Image *game_ui_minimap_compass; // 5079B4
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
76 extern std::array<class Image *, 8> game_ui_minimap_dirs;
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
77
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
78 extern class Image *game_ui_menu_quit;
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
79 extern class Image *game_ui_menu_resume;
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
80 extern class Image *game_ui_menu_controls;
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
81 extern class Image *game_ui_menu_save;
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
82 extern class Image *game_ui_menu_load;
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
83 extern class Image *game_ui_menu_new;
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
84 extern class Image *game_ui_menu_options;
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
85
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
86 extern class Image *game_ui_tome_storyline;
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
87 extern class Image *game_ui_tome_calendar;
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
88 extern class Image *game_ui_tome_maps;
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
89 extern class Image *game_ui_tome_autonotes;
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
90 extern class Image *game_ui_tome_quests;
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
91
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
92 extern class Image *game_ui_btn_rest;
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
93 extern class Image *game_ui_btn_cast;
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
94 extern class Image *game_ui_btn_zoomin;
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
95 extern class Image *game_ui_btn_zoomout;
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
96 extern class Image *game_ui_btn_quickref;
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
97 extern class Image *game_ui_btn_settings;
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
98
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
99 extern class Image *game_ui_dialogue_background;
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
100
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
101 extern std::array<class Image *, 5> game_ui_options_controls;
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
102
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
103 extern class Image *game_ui_evtnpc; // 50795C