annotate UIOptions.cpp @ 1120:17a01695926b

trying to get dark sacrifice to work
author zipi
date Wed, 29 May 2013 23:19:01 +0100
parents 39f42990698f
children 8c02e6f74b29
rev   line source
706
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
1 #include <assert.h>
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
2
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
3 #include "MM7.h"
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
4
1016
c45d51b3f4f4 Included header files cleanup
Grumpy7
parents: 980
diff changeset
5 #include "Keyboard.h"
c45d51b3f4f4 Included header files cleanup
Grumpy7
parents: 980
diff changeset
6 #include "IndoorCameraD3D.h"
c45d51b3f4f4 Included header files cleanup
Grumpy7
parents: 980
diff changeset
7 #include "CShow.h"
c45d51b3f4f4 Included header files cleanup
Grumpy7
parents: 980
diff changeset
8 #include "GammaControl.h"
c45d51b3f4f4 Included header files cleanup
Grumpy7
parents: 980
diff changeset
9 #include "stru6.h"
c45d51b3f4f4 Included header files cleanup
Grumpy7
parents: 980
diff changeset
10 #include "stru9.h"
c45d51b3f4f4 Included header files cleanup
Grumpy7
parents: 980
diff changeset
11
706
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
12 #include "MapInfo.h"
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
13 #include "Game.h"
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
14 #include "GUIWindow.h"
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
15 #include "GUIFont.h"
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
16 #include "GUIProgressBar.h"
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
17 #include "Party.h"
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
18 #include "AudioPlayer.h"
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
19 #include "Outdoor.h"
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
20 #include "IndoorCamera.h"
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
21 #include "Overlays.h"
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
22 #include "Monsters.h"
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
23 #include "Arcomage.h"
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
24 #include "LOD.h"
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
25 #include "Actor.h"
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
26 #include "Allocator.h"
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
27 #include "Events.h"
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
28 #include "Viewport.h"
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
29 #include "FrameTableInc.h"
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
30 #include "Math.h"
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
31 #include "SpriteObject.h"
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
32 #include "ObjectList.h"
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
33 #include "Chest.h"
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
34 #include "PaletteManager.h"
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
35 #include "DecorationList.h"
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
36 #include "SaveLoad.h"
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
37 #include "stru123.h"
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
38 #include "Time.h"
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
39 #include "IconFrameTable.h"
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
40 #include "Awards.h"
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
41 #include "Autonotes.h"
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
42 #include "stru160.h"
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
43 #include "TurnEngine.h"
924
a78f08dbeb88 CastSpellInfo
Ritor1
parents: 832
diff changeset
44 #include "CastSpellInfo.h"
706
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
45 #include "Weather.h"
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
46 #include "stru298.h"
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
47 #include "StorylineTextTable.h"
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
48 #include "Events2D.h"
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
49 #include "texts.h"
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
50
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
51 #include "mm7_data.h"
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
52
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
53
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
54
948
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
55
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
56 OptionsMenuSkin options_menu_skin; // 507C60
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
57
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
58
1031
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
59 bool GameMenuUI_InvaligKeyBindingsFlags[28]; // 506E6C
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
60 //----- (00414D24) --------------------------------------------------------
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
61 static unsigned int GameMenuUI_GetKeyBindingColor(int key_index)
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
62 {
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
63 if (uGameMenuUI_CurentlySelectedKeyIdx == key_index)
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
64 {
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
65 if (GetTickCount() % 1000 < 500)
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
66 return ui_gamemenu_keys_key_selection_blink_color_1;
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
67 else
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
68 return ui_gamemenu_keys_key_selection_blink_color_2;
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
69 }
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
70 else if (GameMenuUI_InvaligKeyBindingsFlags[key_index])
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
71 {
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
72 int intensity;
948
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
73
1031
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
74 int time = GetTickCount() % 800;
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
75 if (time < 400)
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
76 intensity = - 70 + 70 * time / 400;
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
77 else
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
78 intensity = + 70 - 70 * time / 800;
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
79
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
80 return TargetColor(185 + intensity, 40 + intensity / 4, 40 + intensity / 4);
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
81 }
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
82
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
83 return ui_gamemenu_keys_key_default_color;
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
84 }
948
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
85
706
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
86 //----- (004142D3) --------------------------------------------------------
1006
e865f349aa41 ui cleanup
Gloval
parents: 980
diff changeset
87 void GameMenuUI_DrawKeyBindings()
1031
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
88 {
706
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
89 signed int v4; // ecx@7
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
90 signed int v5; // eax@8
1031
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
91
1038
39f42990698f Cleanings
Nomad
parents: 1031
diff changeset
92 if ( pGUIWindow_CurrentMenu->receives_keyboard_input_2 == WINDOW_INPUT_CONFIRMED)
706
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
93 {
1031
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
94 pPrevVirtualCidesMapping[uGameMenuUI_CurentlySelectedKeyIdx] = pKeyActionMap->pPressedKeysBuffer[0];
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
95 memset(GameMenuUI_InvaligKeyBindingsFlags, 0, sizeof(GameMenuUI_InvaligKeyBindingsFlags));
706
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
96 v4 = 0;
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
97 do
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
98 {
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
99 v5 = 0;
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
100 do
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
101 {
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
102 if ( v4 != v5 && pPrevVirtualCidesMapping[v4] == pPrevVirtualCidesMapping[v5] )
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
103 {
1031
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
104 GameMenuUI_InvaligKeyBindingsFlags[v4] = true;
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
105 GameMenuUI_InvaligKeyBindingsFlags[v5] = true;
706
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
106 }
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
107 ++v5;
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
108 }
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
109 while ( v5 < 28 );
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
110 ++v4;
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
111 }
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
112 while ( v4 < 28 );
1031
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
113 uGameMenuUI_CurentlySelectedKeyIdx = -1;
1038
39f42990698f Cleanings
Nomad
parents: 1031
diff changeset
114 pGUIWindow_CurrentMenu->receives_keyboard_input_2 = WINDOW_INPUT_NONE;
706
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
115 }
948
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
116 pRenderer->DrawTextureIndexed(8, 8, pIcons_LOD->GetTexture(uTextureID_Optkb[0]));
706
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
117 if ( KeyboardPageNum == 1 )
948
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
118 {
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
119 pRenderer->DrawTextureIndexed(0x13, 0x12E, pIcons_LOD->GetTexture(uTextureID_Optkb[3]));
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
120
1031
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
121 pGUIWindow_CurrentMenu->DrawText(pFontLucida, 23, 142, ui_gamemenu_keys_action_name_color, "ÂÏÅШÄ", 0, 0, 0);
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
122 pGUIWindow_CurrentMenu->DrawText(pFontLucida, 127, 142, GameMenuUI_GetKeyBindingColor(0), pKeyActionMap->GetVKeyDisplayName(pPrevVirtualCidesMapping[0]), 0, 0, 0);
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
123 pGUIWindow_CurrentMenu->DrawText(pFontLucida, 23, 163, ui_gamemenu_keys_action_name_color, "ÍÀÇÀÄ", 0, 0, 0);
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
124 pGUIWindow_CurrentMenu->DrawText(pFontLucida, 127, 163, GameMenuUI_GetKeyBindingColor(1), pKeyActionMap->GetVKeyDisplayName(pPrevVirtualCidesMapping[1]), 0, 0, 0);
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
125 pGUIWindow_CurrentMenu->DrawText(pFontLucida, 23, 184, ui_gamemenu_keys_action_name_color, "ÂËÅÂÎ", 0, 0, 0);
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
126 pGUIWindow_CurrentMenu->DrawText(pFontLucida, 127, 184, GameMenuUI_GetKeyBindingColor(2), pKeyActionMap->GetVKeyDisplayName(pPrevVirtualCidesMapping[2]), 0, 0, 0);
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
127 pGUIWindow_CurrentMenu->DrawText(pFontLucida, 23, 205, ui_gamemenu_keys_action_name_color, "ÂÏÐÀÂÎ", 0, 0, 0);
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
128 pGUIWindow_CurrentMenu->DrawText(pFontLucida, 127, 205, GameMenuUI_GetKeyBindingColor(3), pKeyActionMap->GetVKeyDisplayName(pPrevVirtualCidesMapping[3]), 0, 0, 0);
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
129 pGUIWindow_CurrentMenu->DrawText(pFontLucida, 23, 226, ui_gamemenu_keys_action_name_color, "ÊÐÈÊ", 0, 0, 0);
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
130 pGUIWindow_CurrentMenu->DrawText(pFontLucida, 127, 226, GameMenuUI_GetKeyBindingColor(4), pKeyActionMap->GetVKeyDisplayName(pPrevVirtualCidesMapping[4]), 0, 0, 0);
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
131 pGUIWindow_CurrentMenu->DrawText(pFontLucida, 23, 247, ui_gamemenu_keys_action_name_color, "ÏÐÛÆÎÊ", 0, 0, 0);
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
132 pGUIWindow_CurrentMenu->DrawText(pFontLucida, 127, 247, GameMenuUI_GetKeyBindingColor(5), pKeyActionMap->GetVKeyDisplayName(pPrevVirtualCidesMapping[5]), 0, 0, 0);
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
133 pGUIWindow_CurrentMenu->DrawText(pFontLucida, 23, 268, ui_gamemenu_keys_action_name_color, "Ï.ÐÅÆÈÌ", 0, 0, 0);
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
134 pGUIWindow_CurrentMenu->DrawText(pFontLucida, 127, 268, GameMenuUI_GetKeyBindingColor(6), pKeyActionMap->GetVKeyDisplayName(pPrevVirtualCidesMapping[6]), 0, 0, 0);
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
135 pGUIWindow_CurrentMenu->DrawText(pFontLucida, 247, 142, ui_gamemenu_keys_action_name_color, "ÏÐÈÌ. ÇÀÊË.", 0, 0, 0);
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
136 pGUIWindow_CurrentMenu->DrawText(pFontLucida, 350, 142, GameMenuUI_GetKeyBindingColor(7), pKeyActionMap->GetVKeyDisplayName(pPrevVirtualCidesMapping[7]), 0, 0, 0);
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
137 pGUIWindow_CurrentMenu->DrawText(pFontLucida, 247, 163, ui_gamemenu_keys_action_name_color, "ÀÒÀÊÀ", 0, 0, 0);
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
138 pGUIWindow_CurrentMenu->DrawText(pFontLucida, 350, 163, GameMenuUI_GetKeyBindingColor(8), pKeyActionMap->GetVKeyDisplayName(pPrevVirtualCidesMapping[8]), 0, 0, 0);
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
139 pGUIWindow_CurrentMenu->DrawText(pFontLucida, 247, 184, ui_gamemenu_keys_action_name_color, "ÄÅÉÑÒÂ.", 0, 0, 0);
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
140 pGUIWindow_CurrentMenu->DrawText(pFontLucida, 350, 184, GameMenuUI_GetKeyBindingColor(9), pKeyActionMap->GetVKeyDisplayName(pPrevVirtualCidesMapping[9]), 0, 0, 0);
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
141 pGUIWindow_CurrentMenu->DrawText(pFontLucida, 247, 205, ui_gamemenu_keys_action_name_color, "ÇÀÊËÈÍ.", 0, 0, 0);
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
142 pGUIWindow_CurrentMenu->DrawText(pFontLucida, 350, 205, GameMenuUI_GetKeyBindingColor(10), pKeyActionMap->GetVKeyDisplayName(pPrevVirtualCidesMapping[10]), 0, 0, 0);
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
143 pGUIWindow_CurrentMenu->DrawText(pFontLucida, 247, 226, ui_gamemenu_keys_action_name_color, "ÈÃÐÎÊ", 0, 0, 0);
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
144 pGUIWindow_CurrentMenu->DrawText(pFontLucida, 350, 226, GameMenuUI_GetKeyBindingColor(11), pKeyActionMap->GetVKeyDisplayName(pPrevVirtualCidesMapping[11]), 0, 0, 0);
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
145 pGUIWindow_CurrentMenu->DrawText(pFontLucida, 247, 247, ui_gamemenu_keys_action_name_color, "ÑËÅÄ. ÈÃÐÎÊ", 0, 0, 0);
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
146 pGUIWindow_CurrentMenu->DrawText(pFontLucida, 350, 247, GameMenuUI_GetKeyBindingColor(12), pKeyActionMap->GetVKeyDisplayName(pPrevVirtualCidesMapping[12]), 0, 0, 0);
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
147 pGUIWindow_CurrentMenu->DrawText(pFontLucida, 247, 268, ui_gamemenu_keys_action_name_color, "ÇÀÄÀÍÈß", 0, 0, 0);
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
148 pGUIWindow_CurrentMenu->DrawText(pFontLucida, 350, 268, GameMenuUI_GetKeyBindingColor(13), pKeyActionMap->GetVKeyDisplayName(pPrevVirtualCidesMapping[13]), 0, 0, 0);
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
149 }
706
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
150 else
1031
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
151 {
948
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
152 pRenderer->DrawTextureIndexed(0x7F, 0x12E, pIcons_LOD->GetTexture(uTextureID_Optkb[4]));
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
153
1031
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
154 pGUIWindow_CurrentMenu->DrawText(pFontLucida, 23, 142, ui_gamemenu_keys_action_name_color, "Á. ÑÏÐÀÂÊÀ", 0, 0, 0);
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
155 pGUIWindow_CurrentMenu->DrawText(pFontLucida, 127, 142, GameMenuUI_GetKeyBindingColor(14), pKeyActionMap->GetVKeyDisplayName(pPrevVirtualCidesMapping[14]), 0, 0, 0);
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
156 pGUIWindow_CurrentMenu->DrawText(pFontLucida, 23, 163, ui_gamemenu_keys_action_name_color, "ÎÒÄÛÕ", 0, 0, 0);
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
157 pGUIWindow_CurrentMenu->DrawText(pFontLucida, 127, 163, GameMenuUI_GetKeyBindingColor(15), pKeyActionMap->GetVKeyDisplayName(pPrevVirtualCidesMapping[15]), 0, 0, 0);
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
158 pGUIWindow_CurrentMenu->DrawText(pFontLucida, 23, 184, ui_gamemenu_keys_action_name_color, "ÒÅÊ. ÂÐÅÌß", 0, 0, 0);
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
159 pGUIWindow_CurrentMenu->DrawText(pFontLucida, 127, 184, GameMenuUI_GetKeyBindingColor(16), pKeyActionMap->GetVKeyDisplayName(pPrevVirtualCidesMapping[16]), 0, 0, 0);
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
160 pGUIWindow_CurrentMenu->DrawText(pFontLucida, 23, 205, ui_gamemenu_keys_action_name_color, "ÀÂÒÎÇÀÌÅÒÊÈ", 0, 0, 0);
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
161 pGUIWindow_CurrentMenu->DrawText(pFontLucida, 127, 205, GameMenuUI_GetKeyBindingColor(17), pKeyActionMap->GetVKeyDisplayName(pPrevVirtualCidesMapping[17]), 0, 0, 0);
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
162 pGUIWindow_CurrentMenu->DrawText(pFontLucida, 23, 226, ui_gamemenu_keys_action_name_color, "ÊÀÐÒÀ", 0, 0, 0);
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
163 pGUIWindow_CurrentMenu->DrawText(pFontLucida, 127, 226, GameMenuUI_GetKeyBindingColor(18), pKeyActionMap->GetVKeyDisplayName(pPrevVirtualCidesMapping[18]), 0, 0, 0);
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
164 pGUIWindow_CurrentMenu->DrawText(pFontLucida, 23, 247, ui_gamemenu_keys_action_name_color, "ÁÅÆÀÒÜ", 0, 0, 0);
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
165 pGUIWindow_CurrentMenu->DrawText(pFontLucida, 127, 247, GameMenuUI_GetKeyBindingColor(19), pKeyActionMap->GetVKeyDisplayName(pPrevVirtualCidesMapping[19]), 0, 0, 0);
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
166 pGUIWindow_CurrentMenu->DrawText(pFontLucida, 23, 268, ui_gamemenu_keys_action_name_color, "ÑÌ. ÂÂÅÐÕ", 0, 0, 0);
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
167 pGUIWindow_CurrentMenu->DrawText(pFontLucida, 127, 268, GameMenuUI_GetKeyBindingColor(20), pKeyActionMap->GetVKeyDisplayName(pPrevVirtualCidesMapping[20]), 0, 0, 0);
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
168 pGUIWindow_CurrentMenu->DrawText(pFontLucida, 247, 142, ui_gamemenu_keys_action_name_color, "ÑÌ. ÂÍÈÇ", 0, 0, 0);
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
169 pGUIWindow_CurrentMenu->DrawText(pFontLucida, 350, 142, GameMenuUI_GetKeyBindingColor(21), pKeyActionMap->GetVKeyDisplayName(pPrevVirtualCidesMapping[21]), 0, 0, 0);
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
170 pGUIWindow_CurrentMenu->DrawText(pFontLucida, 247, 163, ui_gamemenu_keys_action_name_color, "ÑÌ. ÂÏÅШÄ", 0, 0, 0);
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
171 pGUIWindow_CurrentMenu->DrawText(pFontLucida, 350, 163, GameMenuUI_GetKeyBindingColor(22), pKeyActionMap->GetVKeyDisplayName(pPrevVirtualCidesMapping[22]), 0, 0, 0);
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
172 pGUIWindow_CurrentMenu->DrawText(pFontLucida, 247, 184, ui_gamemenu_keys_action_name_color, "ÏÐÈÁËÈÇ", 0, 0, 0);
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
173 pGUIWindow_CurrentMenu->DrawText(pFontLucida, 350, 184, GameMenuUI_GetKeyBindingColor(23), pKeyActionMap->GetVKeyDisplayName(pPrevVirtualCidesMapping[23]), 0, 0, 0);
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
174 pGUIWindow_CurrentMenu->DrawText(pFontLucida, 247, 205, ui_gamemenu_keys_action_name_color, "ÎÒÄÀËÈÒÜ", 0, 0, 0);
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
175 pGUIWindow_CurrentMenu->DrawText(pFontLucida, 350, 205, GameMenuUI_GetKeyBindingColor(24), pKeyActionMap->GetVKeyDisplayName(pPrevVirtualCidesMapping[24]), 0, 0, 0);
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
176 pGUIWindow_CurrentMenu->DrawText(pFontLucida, 247, 226, ui_gamemenu_keys_action_name_color, "Ï. ÂÂÅÐÕ", 0, 0, 0);
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
177 pGUIWindow_CurrentMenu->DrawText(pFontLucida, 350, 226, GameMenuUI_GetKeyBindingColor(25), pKeyActionMap->GetVKeyDisplayName(pPrevVirtualCidesMapping[25]), 0, 0, 0);
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
178 pGUIWindow_CurrentMenu->DrawText(pFontLucida, 247, 247, ui_gamemenu_keys_action_name_color, "Ï. ÂÍÈÇ", 0, 0, 0);
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
179 pGUIWindow_CurrentMenu->DrawText(pFontLucida, 350, 247, GameMenuUI_GetKeyBindingColor(26), pKeyActionMap->GetVKeyDisplayName(pPrevVirtualCidesMapping[26]), 0, 0, 0);
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
180 pGUIWindow_CurrentMenu->DrawText(pFontLucida, 247, 268, ui_gamemenu_keys_action_name_color, "ÏÐÈÇÅÌË", 0, 0, 0);
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
181 pGUIWindow_CurrentMenu->DrawText(pFontLucida, 350, 268, GameMenuUI_GetKeyBindingColor(27), pKeyActionMap->GetVKeyDisplayName(pWindowList_at_506F50_minus1_indexing[0]), 0, 0, 0);
706
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
182 }
1031
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
183 }
706
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
184
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
185
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
186
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
187
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
188 //----- (00414D9A) --------------------------------------------------------
948
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
189 void GameMenuUI_DrawVideoOptions()
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
190 {
706
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
191 const char *v0; // ST0C_4@3
1031
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
192 //unsigned __int16 v1; // ax@3
948
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
193 //int v2; // eax@10
706
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
194 GUIWindow v3; // [sp+8h] [bp-54h]@3
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
195
948
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
196 pRenderer->DrawTextureIndexed(8, 8, pIcons_LOD->GetTexture(uTextureID_507C10));
706
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
197 if ( !pRenderer->bWindowMode && GammaController::IsGammaSupported() )
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
198 {
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
199 pRenderer->DrawTextureIndexed(
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
200 17 * uGammaPos + 42,
948
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
201 162,
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
202 pIcons_LOD->GetTexture(pTextureIDs_GammaPositions[uGammaPos]));
706
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
203 pRenderer->DrawTextureRGB(0x112u, 0xA9u, &stru_506E40);
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
204 v3.uFrameX = 22;
948
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
205 v0 = pGlobalTXT_LocalizationStrings[226]; // "Gamma controls the relative ""brightness"" of the game. May vary depending on your monitor."
706
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
206 v3.uFrameY = 190;
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
207 v3.uFrameWidth = 211;
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
208 v3.uFrameHeight = 79;
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
209 v3.uFrameZ = 232;
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
210 v3.uFrameW = 268;
1031
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
211 //v1 = TargetColor(0xFFu, 0xFFu, 0x9Bu);
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
212 v3.DrawTitleText(pFontSmallnum, 0, 0, ui_gamemenu_video_gamma_title_color, v0, 3u);
706
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
213 }
948
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
214
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
215 if (!pRenderer->pRenderD3D)
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
216 {
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
217 pRenderer->DrawTextureIndexed(20, 281, pIcons_LOD->GetTexture(uTextureID_507C50));
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
218 pRenderer->DrawTextureIndexed(20, 303, pIcons_LOD->GetTexture(uTextureID_507C54));
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
219 pRenderer->DrawTextureIndexed(20, 325, pIcons_LOD->GetTexture(uTextureID_507C58));
706
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
220 }
948
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
221 else
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
222 {
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
223 if (pGame->uFlags2 & GAME_FLAGS_2_DRAW_BLOODSPLATS)
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
224 pRenderer->DrawTextureIndexed(20, 281, pIcons_LOD->GetTexture(uTextureID_507C14));
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
225 if (pRenderer->bUseColoredLights)
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
226 pRenderer->DrawTextureIndexed(20, 303, pIcons_LOD->GetTexture(uTextureID_507C18));
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
227 if (pRenderer->bTinting)
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
228 pRenderer->DrawTextureIndexed(20, 325, pIcons_LOD->GetTexture(uTextureID_507C1C));
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
229 }
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
230 }
706
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
231
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
232
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
233
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
234 //----- (00414F82) --------------------------------------------------------
1031
f93d17337113 UI stuff.
Nomad
parents: 1018
diff changeset
235 void GameMenuUI_Options_Draw()
948
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
236 {
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
237 pRenderer->DrawTextureIndexed(8, 8, pIcons_LOD->GetTexture(uTextureID_Options));
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
238 pRenderer->DrawTextureIndexed(8, 132, pIcons_LOD->GetTexture(options_menu_skin.uTextureID_Background));
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
239
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
240 switch (uTurnSpeed)
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
241 {
980
a079c489118d Speed Turn
Ritor1
parents: 949
diff changeset
242 case 64: pRenderer->DrawTextureIndexed(BtnTurnCoord[1], 270, pIcons_LOD->GetTexture(options_menu_skin.uTextureID_TurnSpeed[1])); break;
a079c489118d Speed Turn
Ritor1
parents: 949
diff changeset
243 case 128: pRenderer->DrawTextureIndexed(BtnTurnCoord[2], 270, pIcons_LOD->GetTexture(options_menu_skin.uTextureID_TurnSpeed[2])); break;
a079c489118d Speed Turn
Ritor1
parents: 949
diff changeset
244 default: pRenderer->DrawTextureIndexed(BtnTurnCoord[0], 270, pIcons_LOD->GetTexture(options_menu_skin.uTextureID_TurnSpeed[0])); break;
948
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
245 }
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
246
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
247 if (bWalkSound) pRenderer->DrawTextureIndexed( 20, 303, pIcons_LOD->GetTexture(options_menu_skin.uTextureID_WalkSound));
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
248 if (bShowDamage) pRenderer->DrawTextureIndexed(128, 303, pIcons_LOD->GetTexture(options_menu_skin.uTextureID_ShowDamage));
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
249 if (bFlipOnExit) pRenderer->DrawTextureIndexed(128, 325, pIcons_LOD->GetTexture(options_menu_skin.uTextureID_FlipOnExit));
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
250 if (bAlwaysRun) pRenderer->DrawTextureIndexed( 20, 325, pIcons_LOD->GetTexture(options_menu_skin.uTextureID_AlwaysRun));
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
251
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
252 pRenderer->DrawTextureIndexed(265 + 17 * uSoundVolumeMultiplier, 162, pIcons_LOD->GetTexture(options_menu_skin.uTextureID_SoundLevels[uSoundVolumeMultiplier]));
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
253 pRenderer->DrawTextureIndexed(265 + 17 * uMusicVolimeMultiplier, 216, pIcons_LOD->GetTexture(options_menu_skin.uTextureID_SoundLevels[uMusicVolimeMultiplier]));
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
254 pRenderer->DrawTextureIndexed(265 + 17 * uVoicesVolumeMultiplier, 270, pIcons_LOD->GetTexture(options_menu_skin.uTextureID_SoundLevels[uVoicesVolumeMultiplier]));
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
255 }
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
256
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
257
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
258
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
259
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
260
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
261
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
262
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
263
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
264
706
d6236f6a9882 Rough function rearranging to new files
Gloval
parents: 701
diff changeset
265
948
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
266 OptionsMenuSkin::OptionsMenuSkin():
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
267 uTextureID_Background(0),
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
268 uTextureID_ArrowLeft(0),
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
269 uTextureID_ArrowRight(0),
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
270 uTextureID_unused_0(0), uTextureID_unused_1(0), uTextureID_unused_2(0),
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
271 uTextureID_FlipOnExit(0),
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
272 uTextureID_AlwaysRun(0),
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
273 uTextureID_WalkSound(0),
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
274 uTextureID_ShowDamage(0)
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
275 {
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
276 for (uint i = 0; i < 3; ++i) uTextureID_TurnSpeed[i] = 0;
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
277 for (uint i = 0; i < 10; ++i) uTextureID_SoundLevels[i] = 0;
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
278 }
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
279
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
280 void OptionsMenuSkin::Relaease()
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
281 {
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
282 #define RELEASE(id) \
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
283 {\
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
284 if (id)\
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
285 pIcons_LOD->GetTexture(id)->Release();\
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
286 id = 0;\
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
287 }
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
288
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
289 RELEASE(uTextureID_Background);
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
290 for (uint i = 0; i < 3; ++i)
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
291 RELEASE(uTextureID_TurnSpeed[i]);
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
292 RELEASE(uTextureID_ArrowLeft);
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
293 RELEASE(uTextureID_ArrowRight);
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
294 RELEASE(uTextureID_FlipOnExit);
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
295 for (uint i = 0; i < 10; ++i)
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
296 RELEASE(uTextureID_SoundLevels[i]);
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
297 RELEASE(uTextureID_AlwaysRun);
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
298 RELEASE(uTextureID_WalkSound);
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
299 RELEASE(uTextureID_ShowDamage);
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
300
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
301 #undef RELEASE
5a2dbb00c399 Code cleaning.
Nomad
parents: 939
diff changeset
302 }