annotate GUI/UI/UIGame.h @ 2575:a76d408c5132 tip

DrawTranslucent -> DrawTextureGrayShade Removed old texture drawing stuff
author a.parshin
date Wed, 09 Mar 2016 01:39:52 +0200
parents dd36326a9994
children
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_minimap_frame; // 5079D8
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
66 extern class Image *game_ui_minimap_compass; // 5079B4
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
67 extern std::array<class Image *, 8> game_ui_minimap_dirs;
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
68
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
69 extern class Image *game_ui_menu_quit;
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
70 extern class Image *game_ui_menu_resume;
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
71 extern class Image *game_ui_menu_controls;
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
72 extern class Image *game_ui_menu_save;
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
73 extern class Image *game_ui_menu_load;
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
74 extern class Image *game_ui_menu_new;
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
75 extern class Image *game_ui_menu_options;
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
76
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
77 extern class Image *game_ui_tome_storyline;
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
78 extern class Image *game_ui_tome_calendar;
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
79 extern class Image *game_ui_tome_maps;
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
80 extern class Image *game_ui_tome_autonotes;
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
81 extern class Image *game_ui_tome_quests;
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
82
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
83 extern class Image *game_ui_btn_rest;
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
84 extern class Image *game_ui_btn_cast;
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
85 extern class Image *game_ui_btn_zoomin;
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
86 extern class Image *game_ui_btn_zoomout;
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
87 extern class Image *game_ui_btn_quickref;
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
88 extern class Image *game_ui_btn_settings;
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
89
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
90 extern class Image *game_ui_dialogue_background;
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
91
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
92 extern std::array<class Image *, 5> game_ui_options_controls;
dd36326a9994 More texture refactoring
a.parshin
parents: 2572
diff changeset
93
2575
a76d408c5132 DrawTranslucent -> DrawTextureGrayShade
a.parshin
parents: 2574
diff changeset
94 extern class Image *game_ui_evtnpc; // 50795C
a76d408c5132 DrawTranslucent -> DrawTextureGrayShade
a.parshin
parents: 2574
diff changeset
95
a76d408c5132 DrawTranslucent -> DrawTextureGrayShade
a.parshin
parents: 2574
diff changeset
96
a76d408c5132 DrawTranslucent -> DrawTextureGrayShade
a.parshin
parents: 2574
diff changeset
97 extern std::array< std::array<class Image *, 56>, 4> game_ui_player_faces;
a76d408c5132 DrawTranslucent -> DrawTextureGrayShade
a.parshin
parents: 2574
diff changeset
98 extern class Image *game_ui_player_face_eradicated;
a76d408c5132 DrawTranslucent -> DrawTextureGrayShade
a.parshin
parents: 2574
diff changeset
99 extern class Image *game_ui_player_face_dead;
a76d408c5132 DrawTranslucent -> DrawTextureGrayShade
a.parshin
parents: 2574
diff changeset
100
a76d408c5132 DrawTranslucent -> DrawTextureGrayShade
a.parshin
parents: 2574
diff changeset
101 extern class Image *game_ui_player_selection_frame; // 50C98C
a76d408c5132 DrawTranslucent -> DrawTextureGrayShade
a.parshin
parents: 2574
diff changeset
102 extern class Image *game_ui_player_alert_yellow; // 5079C8
a76d408c5132 DrawTranslucent -> DrawTextureGrayShade
a.parshin
parents: 2574
diff changeset
103 extern class Image *game_ui_player_alert_red; // 5079CC
a76d408c5132 DrawTranslucent -> DrawTextureGrayShade
a.parshin
parents: 2574
diff changeset
104 extern class Image *game_ui_player_alert_green; // 5079D0
a76d408c5132 DrawTranslucent -> DrawTextureGrayShade
a.parshin
parents: 2574
diff changeset
105
a76d408c5132 DrawTranslucent -> DrawTextureGrayShade
a.parshin
parents: 2574
diff changeset
106 extern class Image *game_ui_bar_red;
a76d408c5132 DrawTranslucent -> DrawTextureGrayShade
a.parshin
parents: 2574
diff changeset
107 extern class Image *game_ui_bar_yellow;
a76d408c5132 DrawTranslucent -> DrawTextureGrayShade
a.parshin
parents: 2574
diff changeset
108 extern class Image *game_ui_bar_green;
a76d408c5132 DrawTranslucent -> DrawTextureGrayShade
a.parshin
parents: 2574
diff changeset
109 extern class Image *game_ui_bar_blue;
a76d408c5132 DrawTranslucent -> DrawTextureGrayShade
a.parshin
parents: 2574
diff changeset
110
a76d408c5132 DrawTranslucent -> DrawTextureGrayShade
a.parshin
parents: 2574
diff changeset
111 extern class Image *game_ui_playerbuff_pain_reflection;
a76d408c5132 DrawTranslucent -> DrawTextureGrayShade
a.parshin
parents: 2574
diff changeset
112 extern class Image *game_ui_playerbuff_hammerhands;
a76d408c5132 DrawTranslucent -> DrawTextureGrayShade
a.parshin
parents: 2574
diff changeset
113 extern class Image *game_ui_playerbuff_preservation;
a76d408c5132 DrawTranslucent -> DrawTextureGrayShade
a.parshin
parents: 2574
diff changeset
114 extern class Image *game_ui_playerbuff_bless;