annotate mm7_1.cpp @ 1621:25d3f9e43634

Merge
author Grumpy7
date Sun, 15 Sep 2013 02:21:26 +0200
parents 89dec2be255f
children 7182930263b3
rev   line source
1165
29a8defbad9e temporary _CRT_SECURE_NO_WARNINGS to remove some warnings
Grumpy7
parents: 1143
diff changeset
1 #ifdef _MSC_VER
29a8defbad9e temporary _CRT_SECURE_NO_WARNINGS to remove some warnings
Grumpy7
parents: 1143
diff changeset
2 #define _CRT_SECURE_NO_WARNINGS
29a8defbad9e temporary _CRT_SECURE_NO_WARNINGS to remove some warnings
Grumpy7
parents: 1143
diff changeset
3 #endif
29a8defbad9e temporary _CRT_SECURE_NO_WARNINGS to remove some warnings
Grumpy7
parents: 1143
diff changeset
4
0
Ritor1
parents:
diff changeset
5 /* This file has been generated by the Hex-Rays decompiler.
Ritor1
parents:
diff changeset
6 Copyright (c) 2007-2011 Hex-Rays <info@hex-rays.com>
Ritor1
parents:
diff changeset
7
Ritor1
parents:
diff changeset
8 Detected compiler: Visual C++
Ritor1
parents:
diff changeset
9 */
Ritor1
parents:
diff changeset
10
Ritor1
parents:
diff changeset
11 //#include <defs.h>
373
edd2d8b7e3c4 Interface reloading fix & party alignment enum
Nomad
parents: 365
diff changeset
12
1262
0aeac0b9ca30 included header cleanup
Grumpy7
parents: 1254
diff changeset
13 #include "Texture.h"
0aeac0b9ca30 included header cleanup
Grumpy7
parents: 1254
diff changeset
14 #include "mm7_data.h"
1016
c45d51b3f4f4 Included header files cleanup
Grumpy7
parents: 995
diff changeset
15 #include "VideoPlayer.h"
c45d51b3f4f4 Included header files cleanup
Grumpy7
parents: 995
diff changeset
16 #include "BSPModel.h"
c45d51b3f4f4 Included header files cleanup
Grumpy7
parents: 995
diff changeset
17 #include "Mouse.h"
c45d51b3f4f4 Included header files cleanup
Grumpy7
parents: 995
diff changeset
18
c45d51b3f4f4 Included header files cleanup
Grumpy7
parents: 995
diff changeset
19 #include "Vis.h"
0
Ritor1
parents:
diff changeset
20 #include "MM7.h"
Ritor1
parents:
diff changeset
21 #include "Game.h"
Ritor1
parents:
diff changeset
22 #include "GUIWindow.h"
Ritor1
parents:
diff changeset
23 #include "Party.h"
Ritor1
parents:
diff changeset
24 #include "AudioPlayer.h"
Ritor1
parents:
diff changeset
25 #include "Outdoor.h"
Ritor1
parents:
diff changeset
26 #include "Overlays.h"
Ritor1
parents:
diff changeset
27 #include "LOD.h"
Ritor1
parents:
diff changeset
28 #include "Actor.h"
Ritor1
parents:
diff changeset
29 #include "Events.h"
Ritor1
parents:
diff changeset
30 #include "Viewport.h"
515
cb0ad52d6a26 LayingItem -> SpriteObject (long-waited rename, old name was inaccurate and confused people)
Nomad
parents: 510
diff changeset
31 #include "SpriteObject.h"
0
Ritor1
parents:
diff changeset
32 #include "ObjectList.h"
Ritor1
parents:
diff changeset
33 #include "Chest.h"
Ritor1
parents:
diff changeset
34 #include "DecorationList.h"
Ritor1
parents:
diff changeset
35 #include "stru123.h"
Ritor1
parents:
diff changeset
36 #include "Time.h"
Ritor1
parents:
diff changeset
37 #include "IconFrameTable.h"
Ritor1
parents:
diff changeset
38 #include "TurnEngine.h"
189
038a4d09406f new texts file, fix text rendender error
Gloval
parents: 180
diff changeset
39 #include "texts.h"
1299
8c2f689b5f0b folder UI
Ritor1
parents: 1297
diff changeset
40 #include "UI\UIHouses.h"
1078
b44dee7e70e8 added a structure for 0x50B700-0x50BBB8
zipi
parents: 1060
diff changeset
41 #include "stru367.h"
0
Ritor1
parents:
diff changeset
42
Ritor1
parents:
diff changeset
43 int __stdcall aWinProc(HWND hWnd, UINT Msg, WPARAM wParam, unsigned int lParam);
Ritor1
parents:
diff changeset
44 int __stdcall InsertMM7CDDialogFunc(HWND hDlg, int a2, __int16 a3, int a4);
Ritor1
parents:
diff changeset
45 bool __fastcall FindMM7CD(HWND hWnd, char *pCDDrive);
Ritor1
parents:
diff changeset
46 bool __fastcall Initialize(HINSTANCE hInst, char *pCmdLine);
Ritor1
parents:
diff changeset
47
791
346f7069676a Indoor::GetSector and various stuff
Nomad
parents: 790
diff changeset
48
346f7069676a Indoor::GetSector and various stuff
Nomad
parents: 790
diff changeset
49 //----- (004A1780) mm6_chinese---------------------------------------------
1556
e668660457dc Some more cleaning
Nomad
parents: 1545
diff changeset
50 __int64 fixpoint_div(int a1, int a2)
791
346f7069676a Indoor::GetSector and various stuff
Nomad
parents: 790
diff changeset
51 {
346f7069676a Indoor::GetSector and various stuff
Nomad
parents: 790
diff changeset
52 return ((__int64)a1 << 16) / a2;
346f7069676a Indoor::GetSector and various stuff
Nomad
parents: 790
diff changeset
53 }
346f7069676a Indoor::GetSector and various stuff
Nomad
parents: 790
diff changeset
54
1556
e668660457dc Some more cleaning
Nomad
parents: 1545
diff changeset
55 __int64 fixpoint_mul(int a1, int a2)
871
710cf848ad24 Particle engine made working.
Nomad
parents: 832
diff changeset
56 {
710cf848ad24 Particle engine made working.
Nomad
parents: 832
diff changeset
57 return (((__int64)a1 << 16) * a2) >> 16;
710cf848ad24 Particle engine made working.
Nomad
parents: 832
diff changeset
58 }
710cf848ad24 Particle engine made working.
Nomad
parents: 832
diff changeset
59
1459
2ca62c9e7b3c Function names
Nomad
parents: 1426
diff changeset
60
2ca62c9e7b3c Function names
Nomad
parents: 1426
diff changeset
61 //----- (0042EBBE) --------------------------------------------------------
762
cf2fbac6edc9 Misc cleaning
Nomad
parents: 749
diff changeset
62 //----- (004453C0) mm6-----------------------------------------------------
cf2fbac6edc9 Misc cleaning
Nomad
parents: 749
diff changeset
63 //----- (004A1760) mm6_chinese---------------------------------------------
1556
e668660457dc Some more cleaning
Nomad
parents: 1545
diff changeset
64 __int64 fixpoint_sub0(int a1, int a2)
762
cf2fbac6edc9 Misc cleaning
Nomad
parents: 749
diff changeset
65 {
871
710cf848ad24 Particle engine made working.
Nomad
parents: 832
diff changeset
66 return ((__int64)a1 * (__int64)a2) >> 16;
762
cf2fbac6edc9 Misc cleaning
Nomad
parents: 749
diff changeset
67 }
1615
89dec2be255f AI visibility issue temporarily fixed
zipi
parents: 1583
diff changeset
68 __int64 fixpoint_sub2(int a1, int a2)
89dec2be255f AI visibility issue temporarily fixed
zipi
parents: 1583
diff changeset
69 {
89dec2be255f AI visibility issue temporarily fixed
zipi
parents: 1583
diff changeset
70 signed __int64 v3; // qtt@1
89dec2be255f AI visibility issue temporarily fixed
zipi
parents: 1583
diff changeset
71
89dec2be255f AI visibility issue temporarily fixed
zipi
parents: 1583
diff changeset
72 LODWORD(v3) = a1 << 16;
89dec2be255f AI visibility issue temporarily fixed
zipi
parents: 1583
diff changeset
73 HIDWORD(v3) = a1 >> 16;
89dec2be255f AI visibility issue temporarily fixed
zipi
parents: 1583
diff changeset
74 return v3 / a2;
89dec2be255f AI visibility issue temporarily fixed
zipi
parents: 1583
diff changeset
75 }
762
cf2fbac6edc9 Misc cleaning
Nomad
parents: 749
diff changeset
76
1556
e668660457dc Some more cleaning
Nomad
parents: 1545
diff changeset
77 __int64 fixpoint_dot(int x1, int x2, int y1, int y2, int z1, int z2)
1544
499761153844 stru149
Nomad
parents: 1507
diff changeset
78 {
499761153844 stru149
Nomad
parents: 1507
diff changeset
79 return fixpoint_sub0(x1, x2) +
499761153844 stru149
Nomad
parents: 1507
diff changeset
80 fixpoint_sub0(y1, y2) +
499761153844 stru149
Nomad
parents: 1507
diff changeset
81 fixpoint_sub0(z1, z2);
499761153844 stru149
Nomad
parents: 1507
diff changeset
82 }
499761153844 stru149
Nomad
parents: 1507
diff changeset
83
0
Ritor1
parents:
diff changeset
84 //----- (0041D20D) --------------------------------------------------------
1006
e865f349aa41 ui cleanup
Gloval
parents: 995
diff changeset
85 void __fastcall sub_41D20D_buff_remaining_time_string( int ecx0, struct GUIWindow *edx0, __int64 a3, struct GUIFont *a2 )
e865f349aa41 ui cleanup
Gloval
parents: 995
diff changeset
86 {
0
Ritor1
parents:
diff changeset
87 unsigned int v4; // edi@1
Ritor1
parents:
diff changeset
88 unsigned int v5; // esi@1
Ritor1
parents:
diff changeset
89 unsigned int v6; // ebp@1
Ritor1
parents:
diff changeset
90 unsigned int v7; // ebx@1
Ritor1
parents:
diff changeset
91 signed __int64 v8; // ST34_8@1
Ritor1
parents:
diff changeset
92 signed __int64 v9; // kr00_8@1
Ritor1
parents:
diff changeset
93 char *v10; // eax@2
Ritor1
parents:
diff changeset
94 char *v11; // eax@7
Ritor1
parents:
diff changeset
95 char *v12; // eax@13
Ritor1
parents:
diff changeset
96 char *v13; // eax@19
Ritor1
parents:
diff changeset
97 int uY; // [sp+0h] [bp-20h]@1
Ritor1
parents:
diff changeset
98 GUIWindow *a1; // [sp+4h] [bp-1Ch]@1
Ritor1
parents:
diff changeset
99 signed __int64 v17; // [sp+10h] [bp-10h]@1
Ritor1
parents:
diff changeset
100 signed __int64 v18; // [sp+18h] [bp-8h]@1
Ritor1
parents:
diff changeset
101 unsigned int v19; // [sp+24h] [bp+4h]@1
Ritor1
parents:
diff changeset
102
Ritor1
parents:
diff changeset
103 a1 = edx0;
Ritor1
parents:
diff changeset
104 uY = ecx0;
Ritor1
parents:
diff changeset
105 v4 = (unsigned __int64)(signed __int64)((double)a3 * 0.234375) >> 32;
Ritor1
parents:
diff changeset
106 v5 = (signed __int64)((double)a3 * 0.234375);
Ritor1
parents:
diff changeset
107 v6 = (unsigned __int64)((signed __int64)((double)a3 * 0.234375) / 60) >> 32;
Ritor1
parents:
diff changeset
108 v7 = (signed __int64)((double)a3 * 0.234375) / 60;
Ritor1
parents:
diff changeset
109 v8 = (signed __int64)((double)a3 * 0.234375) / 60 / 60;
Ritor1
parents:
diff changeset
110 v19 = (unsigned int)v8 / 0x18;
Ritor1
parents:
diff changeset
111 v18 = (signed __int64)__PAIR__(v4, v5) % 60;
Ritor1
parents:
diff changeset
112 v17 = (signed __int64)__PAIR__(v6, v7) % 60;
Ritor1
parents:
diff changeset
113 v9 = v8 % 24;
1205
8c02e6f74b29 arrays to std::arrays phase 2 - mm7_data.h converted
Grumpy7
parents: 1195
diff changeset
114 strcpy(pTmpBuf.data(), "\r020");
0
Ritor1
parents:
diff changeset
115 if ( (unsigned int)v8 / 0x18 )
Ritor1
parents:
diff changeset
116 {
Ritor1
parents:
diff changeset
117 v10 = pGlobalTXT_LocalizationStrings[57]; // Days
Ritor1
parents:
diff changeset
118 if ( v19 <= 1 )
Ritor1
parents:
diff changeset
119 v10 = pGlobalTXT_LocalizationStrings[56]; // Day
1205
8c02e6f74b29 arrays to std::arrays phase 2 - mm7_data.h converted
Grumpy7
parents: 1195
diff changeset
120 sprintfex(pTmpBuf2.data(), "%d %s ", (int)v19, v10);
8c02e6f74b29 arrays to std::arrays phase 2 - mm7_data.h converted
Grumpy7
parents: 1195
diff changeset
121 strcat(pTmpBuf.data(), pTmpBuf2.data());
0
Ritor1
parents:
diff changeset
122 }
Ritor1
parents:
diff changeset
123 if ( v9 )
Ritor1
parents:
diff changeset
124 {
Ritor1
parents:
diff changeset
125 if ( v9 <= 1 )
Ritor1
parents:
diff changeset
126 v11 = pGlobalTXT_LocalizationStrings[109];// Hour
Ritor1
parents:
diff changeset
127 else
Ritor1
parents:
diff changeset
128 v11 = pGlobalTXT_LocalizationStrings[110];// Hours
1205
8c02e6f74b29 arrays to std::arrays phase 2 - mm7_data.h converted
Grumpy7
parents: 1195
diff changeset
129 sprintfex(pTmpBuf2.data(), "%d %s ", (int)v9, v11);
8c02e6f74b29 arrays to std::arrays phase 2 - mm7_data.h converted
Grumpy7
parents: 1195
diff changeset
130 strcat(pTmpBuf.data(), pTmpBuf2.data());
0
Ritor1
parents:
diff changeset
131 }
Ritor1
parents:
diff changeset
132 if ( v17 && !v19 )
Ritor1
parents:
diff changeset
133 {
Ritor1
parents:
diff changeset
134 if ( v17 <= 1 )
Ritor1
parents:
diff changeset
135 v12 = pGlobalTXT_LocalizationStrings[437];// Minute
Ritor1
parents:
diff changeset
136 else
Ritor1
parents:
diff changeset
137 v12 = pGlobalTXT_LocalizationStrings[436];// Minutes
1205
8c02e6f74b29 arrays to std::arrays phase 2 - mm7_data.h converted
Grumpy7
parents: 1195
diff changeset
138 sprintfex(pTmpBuf2.data(), "%d %s ", (int)v17, v12);
8c02e6f74b29 arrays to std::arrays phase 2 - mm7_data.h converted
Grumpy7
parents: 1195
diff changeset
139 strcat(pTmpBuf.data(), pTmpBuf2.data());
0
Ritor1
parents:
diff changeset
140 }
Ritor1
parents:
diff changeset
141 if ( v18 && !v9 )
Ritor1
parents:
diff changeset
142 {
Ritor1
parents:
diff changeset
143 if ( v18 <= 1 )
Ritor1
parents:
diff changeset
144 v13 = pGlobalTXT_LocalizationStrings[439];// Second
Ritor1
parents:
diff changeset
145 else
Ritor1
parents:
diff changeset
146 v13 = pGlobalTXT_LocalizationStrings[438];// Seconds
1205
8c02e6f74b29 arrays to std::arrays phase 2 - mm7_data.h converted
Grumpy7
parents: 1195
diff changeset
147 sprintfex(pTmpBuf2.data(), "%d %s ", (int)v18, v13);
8c02e6f74b29 arrays to std::arrays phase 2 - mm7_data.h converted
Grumpy7
parents: 1195
diff changeset
148 strcat(pTmpBuf.data(), pTmpBuf2.data());
0
Ritor1
parents:
diff changeset
149 }
1205
8c02e6f74b29 arrays to std::arrays phase 2 - mm7_data.h converted
Grumpy7
parents: 1195
diff changeset
150 a1->DrawText(a2, 32, uY, 0, pTmpBuf.data(), 0, 0, 0);
0
Ritor1
parents:
diff changeset
151 }
Ritor1
parents:
diff changeset
152
Ritor1
parents:
diff changeset
153 //----- (004226C2) --------------------------------------------------------
265
96bc024a5fed Render overflows
Nomad
parents: 255
diff changeset
154 bool PauseGameDrawing()
0
Ritor1
parents:
diff changeset
155 {
265
96bc024a5fed Render overflows
Nomad
parents: 255
diff changeset
156 if ( pCurrentScreen != SCREEN_GAME
151
9abdd40a107b pCurrentScreen
Ritor1
parents: 150
diff changeset
157 && pCurrentScreen != SCREEN_NPC_DIALOGUE
9abdd40a107b pCurrentScreen
Ritor1
parents: 150
diff changeset
158 && pCurrentScreen != SCREEN_CHANGE_LOCATION )
9abdd40a107b pCurrentScreen
Ritor1
parents: 150
diff changeset
159 {
9abdd40a107b pCurrentScreen
Ritor1
parents: 150
diff changeset
160 if ( pCurrentScreen == SCREEN_INPUT_BLV )
0
Ritor1
parents:
diff changeset
161 return pVideoPlayer->pSmackerMovie != 0;
151
9abdd40a107b pCurrentScreen
Ritor1
parents: 150
diff changeset
162 if ( pCurrentScreen != SCREEN_BRANCHLESS_NPC_DIALOG )
265
96bc024a5fed Render overflows
Nomad
parents: 255
diff changeset
163 return true;
96bc024a5fed Render overflows
Nomad
parents: 255
diff changeset
164 }
96bc024a5fed Render overflows
Nomad
parents: 255
diff changeset
165 return false;
0
Ritor1
parents:
diff changeset
166 }
Ritor1
parents:
diff changeset
167 // 4E28F8: using guessed type int pCurrentScreen;
Ritor1
parents:
diff changeset
168
Ritor1
parents:
diff changeset
169 //----- (004226EF) --------------------------------------------------------
373
edd2d8b7e3c4 Interface reloading fix & party alignment enum
Nomad
parents: 365
diff changeset
170 void SetUserInterface(PartyAlignment align, bool bReplace)
0
Ritor1
parents:
diff changeset
171 {
Ritor1
parents:
diff changeset
172 unsigned int v3; // eax@7
Ritor1
parents:
diff changeset
173 unsigned __int16 v4; // dx@7
Ritor1
parents:
diff changeset
174 unsigned __int16 v5; // cx@7
Ritor1
parents:
diff changeset
175 unsigned __int16 v6; // [sp-4h] [bp-14h]@7
Ritor1
parents:
diff changeset
176
373
edd2d8b7e3c4 Interface reloading fix & party alignment enum
Nomad
parents: 365
diff changeset
177
983
1462a5f12b65 Character Skills tab drawing fixed.
Nomad
parents: 979
diff changeset
178 extern void set_default_ui_skin();
1462a5f12b65 Character Skills tab drawing fixed.
Nomad
parents: 979
diff changeset
179 set_default_ui_skin();
1462a5f12b65 Character Skills tab drawing fixed.
Nomad
parents: 979
diff changeset
180
373
edd2d8b7e3c4 Interface reloading fix & party alignment enum
Nomad
parents: 365
diff changeset
181 if (align == PartyAlignment_Evil)
edd2d8b7e3c4 Interface reloading fix & party alignment enum
Nomad
parents: 365
diff changeset
182 {
0
Ritor1
parents:
diff changeset
183 if ( bReplace )
Ritor1
parents:
diff changeset
184 {
Ritor1
parents:
diff changeset
185 pTexture_RightFrame->Reload("ib-r-C.pcx");
Ritor1
parents:
diff changeset
186 pTexture_BottomFrame->Reload("ib-b-C.pcx");
Ritor1
parents:
diff changeset
187 pTexture_TopFrame->Reload("ib-t-C.pcx");
Ritor1
parents:
diff changeset
188 pTexture_LeftFrame->Reload("ib-l-C.pcx");
Ritor1
parents:
diff changeset
189 pTexture_StatusBar->Reload("IB-Foot-c.pcx");
Ritor1
parents:
diff changeset
190 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_right_panel], "ib-mb-C", 2);
1507
a109bb203e28 UIGame.cpp cleaning(continue) GameUI_DrawMinimap
Ritor1
parents: 1459
diff changeset
191 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_Minimap_Loop], "ib-autmask-c", 2);
a109bb203e28 UIGame.cpp cleaning(continue) GameUI_DrawMinimap
Ritor1
parents: 1459
diff changeset
192 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_Compas], "IB-COMP-C", 2);
0
Ritor1
parents:
diff changeset
193 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[dword_5079D0], "IB-InitG-c", 2);
Ritor1
parents:
diff changeset
194 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[dword_5079C8], "IB-InitY-c", 2);
Ritor1
parents:
diff changeset
195 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[dword_5079CC], "IB-InitR-c", 2);
319
5a66be213cff Actor::Die
Nomad
parents: 316
diff changeset
196 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_Btn_NPCLeft], "IB-NPCLD-C", 2);
5a66be213cff Actor::Die
Nomad
parents: 316
diff changeset
197 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_Btn_NPCRight], "IB-NPCRD-C", 2);
5a66be213cff Actor::Die
Nomad
parents: 316
diff changeset
198 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_Btn_ZoomIn], "ib-autout-C", 2);
5a66be213cff Actor::Die
Nomad
parents: 316
diff changeset
199 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_Btn_ZoomOut], "ib-autin-C", 2);
995
5876a9cafa3e Various UIs, autonotes title fixed
Nomad
parents: 994
diff changeset
200 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_GameUI_CharSelectionFrame], "IB-selec-C", 2);
319
5a66be213cff Actor::Die
Nomad
parents: 316
diff changeset
201 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_Btn_CastSpell], "ib-m1d-c", 2);
5a66be213cff Actor::Die
Nomad
parents: 316
diff changeset
202 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_Btn_Rest], "ib-m2d-c", 2);
5a66be213cff Actor::Die
Nomad
parents: 316
diff changeset
203 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_Btn_QuickReference], "ib-m3d-c", 2);
5a66be213cff Actor::Die
Nomad
parents: 316
diff changeset
204 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_Btn_GameSettings], "ib-m4d-c", 2);
569
f451efdb7c8b * Party buff icons drawing (right panel)
Nomad
parents: 566
diff changeset
205
f451efdb7c8b * Party buff icons drawing (right panel)
Nomad
parents: 566
diff changeset
206 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_PlayerBuff_Bless], "isg-01-c", 2);
f451efdb7c8b * Party buff icons drawing (right panel)
Nomad
parents: 566
diff changeset
207 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_PlayerBuff_Preservation], "isg-02-c", 2);
f451efdb7c8b * Party buff icons drawing (right panel)
Nomad
parents: 566
diff changeset
208 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_PlayerBuff_Hammerhands], "isg-03-c", 2);
f451efdb7c8b * Party buff icons drawing (right panel)
Nomad
parents: 566
diff changeset
209 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_PlayerBuff_PainReflection], "isg-04-c", 2);
f451efdb7c8b * Party buff icons drawing (right panel)
Nomad
parents: 566
diff changeset
210
0
Ritor1
parents:
diff changeset
211 pUIAnim_WizardEye->uIconID = pIconsFrameTable->FindIcon("wizeyeC");
569
f451efdb7c8b * Party buff icons drawing (right panel)
Nomad
parents: 566
diff changeset
212 pIconsFrameTable->InitializeAnimation(pUIAnim_WizardEye->uIconID);
0
Ritor1
parents:
diff changeset
213 pUIAnum_Torchlight->uIconID = pIconsFrameTable->FindIcon("torchC");
569
f451efdb7c8b * Party buff icons drawing (right panel)
Nomad
parents: 566
diff changeset
214 pIconsFrameTable->InitializeAnimation(pUIAnum_Torchlight->uIconID);
f451efdb7c8b * Party buff icons drawing (right panel)
Nomad
parents: 566
diff changeset
215
526
214d9d47cf1f Chest working, but items are not laid correctly
Gloval
parents: 524
diff changeset
216 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uExitCancelTextureId], "ib-bcu-c", 2);
0
Ritor1
parents:
diff changeset
217 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_50795C], "evtnpc-c", 2);
984
d982fffb8b96 CharacterUI_InventoryTab_Draw cleaned.
Nomad
parents: 983
diff changeset
218 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_CharacterUI_InventoryBackground], "fr_inven-c", 2);
0
Ritor1
parents:
diff changeset
219 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_Parchment], "parchment", 2);
Ritor1
parents:
diff changeset
220 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_5076B4], "cornr_ll-c", 2);
Ritor1
parents:
diff changeset
221 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_5076B0], "cornr_lr-c", 2);
Ritor1
parents:
diff changeset
222 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_5076AC], "cornr_ul-c", 2);
Ritor1
parents:
diff changeset
223 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_5076A8], "cornr_ur-c", 2);
Ritor1
parents:
diff changeset
224 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_5076A4], "edge_btm-c", 2);
Ritor1
parents:
diff changeset
225 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_5076A0], "edge_lf-c", 2);
Ritor1
parents:
diff changeset
226 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_50769C], "edge_rt-c", 2);
Ritor1
parents:
diff changeset
227 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_507698], "edge_top-c", 2);
Ritor1
parents:
diff changeset
228 pIcons_LOD->ReloadTexture(pTexture_591428, "endcap-c", 2);
Ritor1
parents:
diff changeset
229 }
Ritor1
parents:
diff changeset
230 else
Ritor1
parents:
diff changeset
231 {
Ritor1
parents:
diff changeset
232 pTexture_RightFrame->Load("ib-r-C.pcx", 0);
Ritor1
parents:
diff changeset
233 pTexture_BottomFrame->Load("ib-b-c.pcx", 0);
Ritor1
parents:
diff changeset
234 pTexture_TopFrame->Load("ib-t-C.pcx", 0);
Ritor1
parents:
diff changeset
235 pTexture_LeftFrame->Load("ib-l-C.pcx", 0);
Ritor1
parents:
diff changeset
236 pTexture_StatusBar->Load("IB-Foot-c.pcx", 0);
Ritor1
parents:
diff changeset
237 uTextureID_right_panel = pIcons_LOD->LoadTexture("ib-mb-C", TEXTURE_16BIT_PALETTE);
1507
a109bb203e28 UIGame.cpp cleaning(continue) GameUI_DrawMinimap
Ritor1
parents: 1459
diff changeset
238 uTextureID_Minimap_Loop = pIcons_LOD->LoadTexture("ib-autmask-c", TEXTURE_16BIT_PALETTE);
a109bb203e28 UIGame.cpp cleaning(continue) GameUI_DrawMinimap
Ritor1
parents: 1459
diff changeset
239 uTextureID_Compas = pIcons_LOD->LoadTexture("IB-COMP-C", TEXTURE_16BIT_PALETTE);
0
Ritor1
parents:
diff changeset
240 dword_5079D0 = pIcons_LOD->LoadTexture("IB-InitG-c", TEXTURE_16BIT_PALETTE);
Ritor1
parents:
diff changeset
241 dword_5079C8 = pIcons_LOD->LoadTexture("IB-InitY-c", TEXTURE_16BIT_PALETTE);
Ritor1
parents:
diff changeset
242 dword_5079CC = pIcons_LOD->LoadTexture("IB-InitR-c", TEXTURE_16BIT_PALETTE);
319
5a66be213cff Actor::Die
Nomad
parents: 316
diff changeset
243 uTextureID_Btn_NPCLeft = pIcons_LOD->LoadTexture("IB-NPCLD-C", TEXTURE_16BIT_PALETTE);
5a66be213cff Actor::Die
Nomad
parents: 316
diff changeset
244 uTextureID_Btn_NPCRight = pIcons_LOD->LoadTexture("IB-NPCRD-C", TEXTURE_16BIT_PALETTE);
328
8e23edf57e27 little fix
Ritor1
parents: 323
diff changeset
245 uTextureID_Btn_ZoomIn = pIcons_LOD->LoadTexture("ib-autout-C", TEXTURE_16BIT_PALETTE);
319
5a66be213cff Actor::Die
Nomad
parents: 316
diff changeset
246 uTextureID_Btn_ZoomOut = pIcons_LOD->LoadTexture("ib-autin-C", TEXTURE_16BIT_PALETTE);
995
5876a9cafa3e Various UIs, autonotes title fixed
Nomad
parents: 994
diff changeset
247 uTextureID_GameUI_CharSelectionFrame = pIcons_LOD->LoadTexture("IB-selec-C", TEXTURE_16BIT_PALETTE);
319
5a66be213cff Actor::Die
Nomad
parents: 316
diff changeset
248 uTextureID_Btn_CastSpell = pIcons_LOD->LoadTexture("ib-m1d-c", TEXTURE_16BIT_PALETTE);
5a66be213cff Actor::Die
Nomad
parents: 316
diff changeset
249 uTextureID_Btn_Rest = pIcons_LOD->LoadTexture("ib-m2d-c", TEXTURE_16BIT_PALETTE);
5a66be213cff Actor::Die
Nomad
parents: 316
diff changeset
250 uTextureID_Btn_QuickReference = pIcons_LOD->LoadTexture("ib-m3d-c", TEXTURE_16BIT_PALETTE);
5a66be213cff Actor::Die
Nomad
parents: 316
diff changeset
251 uTextureID_Btn_GameSettings = pIcons_LOD->LoadTexture("ib-m4d-c", TEXTURE_16BIT_PALETTE);
526
214d9d47cf1f Chest working, but items are not laid correctly
Gloval
parents: 524
diff changeset
252 uExitCancelTextureId = pIcons_LOD->LoadTexture("ib-bcu-c", TEXTURE_16BIT_PALETTE);
569
f451efdb7c8b * Party buff icons drawing (right panel)
Nomad
parents: 566
diff changeset
253 uTextureID_PlayerBuff_Bless = pIcons_LOD->LoadTexture("isg-01-c", TEXTURE_16BIT_PALETTE);
f451efdb7c8b * Party buff icons drawing (right panel)
Nomad
parents: 566
diff changeset
254 uTextureID_PlayerBuff_Preservation = pIcons_LOD->LoadTexture("isg-02-c", TEXTURE_16BIT_PALETTE);
f451efdb7c8b * Party buff icons drawing (right panel)
Nomad
parents: 566
diff changeset
255 uTextureID_PlayerBuff_Hammerhands = pIcons_LOD->LoadTexture("isg-03-c", TEXTURE_16BIT_PALETTE);
f451efdb7c8b * Party buff icons drawing (right panel)
Nomad
parents: 566
diff changeset
256 uTextureID_PlayerBuff_PainReflection = pIcons_LOD->LoadTexture("isg-04-c", TEXTURE_16BIT_PALETTE);
0
Ritor1
parents:
diff changeset
257 uTextureID_50795C = pIcons_LOD->LoadTexture("evtnpc-c", TEXTURE_16BIT_PALETTE);
984
d982fffb8b96 CharacterUI_InventoryTab_Draw cleaned.
Nomad
parents: 983
diff changeset
258 uTextureID_CharacterUI_InventoryBackground = pIcons_LOD->LoadTexture("fr_inven", TEXTURE_16BIT_PALETTE);
0
Ritor1
parents:
diff changeset
259 pUIAnim_WizardEye->uIconID = pIconsFrameTable->FindIcon("wizeyeC");
Ritor1
parents:
diff changeset
260 pIconsFrameTable->InitializeAnimation((signed __int16)pUIAnim_WizardEye->uIconID);
Ritor1
parents:
diff changeset
261 pUIAnum_Torchlight->uIconID = pIconsFrameTable->FindIcon("torchC");
Ritor1
parents:
diff changeset
262 pIconsFrameTable->InitializeAnimation((signed __int16)pUIAnum_Torchlight->uIconID);
Ritor1
parents:
diff changeset
263 }
949
Nomad
parents: 948
diff changeset
264 v3 = TargetColor(0xC8u, 0, 0);
0
Ritor1
parents:
diff changeset
265 v4 = 0;
Ritor1
parents:
diff changeset
266 v6 = 0;
Ritor1
parents:
diff changeset
267 v5 = 10;
Ritor1
parents:
diff changeset
268 }
373
edd2d8b7e3c4 Interface reloading fix & party alignment enum
Nomad
parents: 365
diff changeset
269 else if (align == PartyAlignment_Neutral)
0
Ritor1
parents:
diff changeset
270 {
Ritor1
parents:
diff changeset
271 if ( bReplace )
Ritor1
parents:
diff changeset
272 {
Ritor1
parents:
diff changeset
273 pTexture_RightFrame->Reload("ib-r-a.pcx");
Ritor1
parents:
diff changeset
274 pTexture_BottomFrame->Reload("ib-b-a.pcx");
Ritor1
parents:
diff changeset
275 pTexture_TopFrame->Reload("ib-t-a.pcx");
Ritor1
parents:
diff changeset
276 pTexture_LeftFrame->Reload("ib-l-a.pcx");
Ritor1
parents:
diff changeset
277 pTexture_StatusBar->Reload("IB-Foot-a.pcx");
Ritor1
parents:
diff changeset
278 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_right_panel], "ib-mb-a", 2);
1507
a109bb203e28 UIGame.cpp cleaning(continue) GameUI_DrawMinimap
Ritor1
parents: 1459
diff changeset
279 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_Minimap_Loop], "ib-autmask-a", 2);
a109bb203e28 UIGame.cpp cleaning(continue) GameUI_DrawMinimap
Ritor1
parents: 1459
diff changeset
280 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_Compas], "IB-COMP-a", 2);
0
Ritor1
parents:
diff changeset
281 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[dword_5079D0], "IB-InitG-a", 2);
Ritor1
parents:
diff changeset
282 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[dword_5079C8], "IB-InitY-a", 2);
Ritor1
parents:
diff changeset
283 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[dword_5079CC], "IB-InitR-a", 2);
319
5a66be213cff Actor::Die
Nomad
parents: 316
diff changeset
284 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_Btn_NPCLeft], "IB-NPCLD-a", 2);
5a66be213cff Actor::Die
Nomad
parents: 316
diff changeset
285 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_Btn_NPCRight], "IB-NPCRD-a", 2);
5a66be213cff Actor::Die
Nomad
parents: 316
diff changeset
286 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_Btn_ZoomIn], "ib-autout-a", 2);
5a66be213cff Actor::Die
Nomad
parents: 316
diff changeset
287 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_Btn_ZoomOut], "ib-autin-a", 2);
995
5876a9cafa3e Various UIs, autonotes title fixed
Nomad
parents: 994
diff changeset
288 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_GameUI_CharSelectionFrame], "IB-selec-a", 2);
319
5a66be213cff Actor::Die
Nomad
parents: 316
diff changeset
289 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_Btn_CastSpell], "ib-m1d-a", 2);
5a66be213cff Actor::Die
Nomad
parents: 316
diff changeset
290 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_Btn_Rest], "ib-m2d-a", 2);
5a66be213cff Actor::Die
Nomad
parents: 316
diff changeset
291 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_Btn_QuickReference], "ib-m3d-a", 2);
5a66be213cff Actor::Die
Nomad
parents: 316
diff changeset
292 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_Btn_GameSettings], "ib-m4d-a", 2);
569
f451efdb7c8b * Party buff icons drawing (right panel)
Nomad
parents: 566
diff changeset
293 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_PlayerBuff_Bless], "isg-01-a", 2);
f451efdb7c8b * Party buff icons drawing (right panel)
Nomad
parents: 566
diff changeset
294 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_PlayerBuff_Preservation], "isg-02-a", 2);
f451efdb7c8b * Party buff icons drawing (right panel)
Nomad
parents: 566
diff changeset
295 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_PlayerBuff_Hammerhands], "isg-03-a", 2);
f451efdb7c8b * Party buff icons drawing (right panel)
Nomad
parents: 566
diff changeset
296 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_PlayerBuff_PainReflection], "isg-04-a", 2);
0
Ritor1
parents:
diff changeset
297 pUIAnim_WizardEye->uIconID = pIconsFrameTable->FindIcon("wizeyeA");
Ritor1
parents:
diff changeset
298 pIconsFrameTable->InitializeAnimation((signed __int16)pUIAnim_WizardEye->uIconID);
Ritor1
parents:
diff changeset
299 pUIAnum_Torchlight->uIconID = pIconsFrameTable->FindIcon("torchA");
Ritor1
parents:
diff changeset
300 pIconsFrameTable->InitializeAnimation((signed __int16)pUIAnum_Torchlight->uIconID);
526
214d9d47cf1f Chest working, but items are not laid correctly
Gloval
parents: 524
diff changeset
301 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uExitCancelTextureId], "ib-bcu-a", 2);
0
Ritor1
parents:
diff changeset
302 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_50795C], "evtnpc", 2);
984
d982fffb8b96 CharacterUI_InventoryTab_Draw cleaned.
Nomad
parents: 983
diff changeset
303 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_CharacterUI_InventoryBackground], "fr_inven", 2);
0
Ritor1
parents:
diff changeset
304 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_Parchment], "parchment", 2);
Ritor1
parents:
diff changeset
305 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_5076B4], "cornr_ll", 2);
Ritor1
parents:
diff changeset
306 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_5076B0], "cornr_lr", 2);
Ritor1
parents:
diff changeset
307 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_5076AC], "cornr_ul", 2);
Ritor1
parents:
diff changeset
308 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_5076A8], "cornr_ur", 2);
Ritor1
parents:
diff changeset
309 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_5076A4], "edge_btm", 2);
Ritor1
parents:
diff changeset
310 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_5076A0], "edge_lf", 2);
Ritor1
parents:
diff changeset
311 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_50769C], "edge_rt", 2);
Ritor1
parents:
diff changeset
312 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_507698], "edge_top", 2);
Ritor1
parents:
diff changeset
313 pIcons_LOD->ReloadTexture(pTexture_591428, "endcap", 2);
Ritor1
parents:
diff changeset
314 }
Ritor1
parents:
diff changeset
315 else
Ritor1
parents:
diff changeset
316 {
Ritor1
parents:
diff changeset
317 pTexture_RightFrame->Load("ib-r-A.pcx", 0);
Ritor1
parents:
diff changeset
318 pTexture_BottomFrame->Load("ib-b-A.pcx", 0);
Ritor1
parents:
diff changeset
319 pTexture_TopFrame->Load("ib-t-A.pcx", 0);
Ritor1
parents:
diff changeset
320 pTexture_LeftFrame->Load("ib-l-A.pcx", 0);
Ritor1
parents:
diff changeset
321 pTexture_StatusBar->Load("IB-Foot-a.pcx", 0);
Ritor1
parents:
diff changeset
322 uTextureID_right_panel = pIcons_LOD->LoadTexture("ib-mb-A", TEXTURE_16BIT_PALETTE);
1507
a109bb203e28 UIGame.cpp cleaning(continue) GameUI_DrawMinimap
Ritor1
parents: 1459
diff changeset
323 uTextureID_Minimap_Loop = pIcons_LOD->LoadTexture("ib-autmask-a", TEXTURE_16BIT_PALETTE);
a109bb203e28 UIGame.cpp cleaning(continue) GameUI_DrawMinimap
Ritor1
parents: 1459
diff changeset
324 uTextureID_Compas = pIcons_LOD->LoadTexture("IB-COMP-A", TEXTURE_16BIT_PALETTE);
0
Ritor1
parents:
diff changeset
325 dword_5079D0 = pIcons_LOD->LoadTexture("IB-InitG-a", TEXTURE_16BIT_PALETTE);
Ritor1
parents:
diff changeset
326 dword_5079C8 = pIcons_LOD->LoadTexture("IB-InitY-a", TEXTURE_16BIT_PALETTE);
Ritor1
parents:
diff changeset
327 dword_5079CC = pIcons_LOD->LoadTexture("IB-InitR-a", TEXTURE_16BIT_PALETTE);
319
5a66be213cff Actor::Die
Nomad
parents: 316
diff changeset
328 uTextureID_Btn_NPCLeft = pIcons_LOD->LoadTexture("IB-NPCLD-A", TEXTURE_16BIT_PALETTE);
5a66be213cff Actor::Die
Nomad
parents: 316
diff changeset
329 uTextureID_Btn_NPCRight = pIcons_LOD->LoadTexture("IB-NPCRD-A", TEXTURE_16BIT_PALETTE);
995
5876a9cafa3e Various UIs, autonotes title fixed
Nomad
parents: 994
diff changeset
330 uTextureID_GameUI_CharSelectionFrame = pIcons_LOD->LoadTexture("IB-selec-A", TEXTURE_16BIT_PALETTE);
319
5a66be213cff Actor::Die
Nomad
parents: 316
diff changeset
331 uTextureID_Btn_CastSpell = pIcons_LOD->LoadTexture("ib-m1d-a", TEXTURE_16BIT_PALETTE);
5a66be213cff Actor::Die
Nomad
parents: 316
diff changeset
332 uTextureID_Btn_Rest = pIcons_LOD->LoadTexture("ib-m2d-a", TEXTURE_16BIT_PALETTE);
5a66be213cff Actor::Die
Nomad
parents: 316
diff changeset
333 uTextureID_Btn_QuickReference = pIcons_LOD->LoadTexture("ib-m3d-a", TEXTURE_16BIT_PALETTE);
5a66be213cff Actor::Die
Nomad
parents: 316
diff changeset
334 uTextureID_Btn_GameSettings = pIcons_LOD->LoadTexture("ib-m4d-a", TEXTURE_16BIT_PALETTE);
328
8e23edf57e27 little fix
Ritor1
parents: 323
diff changeset
335 uTextureID_Btn_ZoomIn = pIcons_LOD->LoadTexture("ib-autout-a", TEXTURE_16BIT_PALETTE);
319
5a66be213cff Actor::Die
Nomad
parents: 316
diff changeset
336 uTextureID_Btn_ZoomOut = pIcons_LOD->LoadTexture("ib-autin-a", TEXTURE_16BIT_PALETTE);
526
214d9d47cf1f Chest working, but items are not laid correctly
Gloval
parents: 524
diff changeset
337 uExitCancelTextureId = pIcons_LOD->LoadTexture("ib-bcu-a", TEXTURE_16BIT_PALETTE);
569
f451efdb7c8b * Party buff icons drawing (right panel)
Nomad
parents: 566
diff changeset
338 uTextureID_PlayerBuff_Bless = pIcons_LOD->LoadTexture("isg-01-a", TEXTURE_16BIT_PALETTE);
f451efdb7c8b * Party buff icons drawing (right panel)
Nomad
parents: 566
diff changeset
339 uTextureID_PlayerBuff_Preservation = pIcons_LOD->LoadTexture("isg-02-a", TEXTURE_16BIT_PALETTE);
f451efdb7c8b * Party buff icons drawing (right panel)
Nomad
parents: 566
diff changeset
340 uTextureID_PlayerBuff_Hammerhands = pIcons_LOD->LoadTexture("isg-03-a", TEXTURE_16BIT_PALETTE);
f451efdb7c8b * Party buff icons drawing (right panel)
Nomad
parents: 566
diff changeset
341 uTextureID_PlayerBuff_PainReflection = pIcons_LOD->LoadTexture("isg-04-a", TEXTURE_16BIT_PALETTE);
0
Ritor1
parents:
diff changeset
342 uTextureID_50795C = pIcons_LOD->LoadTexture("evtnpc", TEXTURE_16BIT_PALETTE);
984
d982fffb8b96 CharacterUI_InventoryTab_Draw cleaned.
Nomad
parents: 983
diff changeset
343 uTextureID_CharacterUI_InventoryBackground = pIcons_LOD->LoadTexture("fr_inven", TEXTURE_16BIT_PALETTE);
0
Ritor1
parents:
diff changeset
344 pUIAnim_WizardEye->uIconID = pIconsFrameTable->FindIcon("wizeyeA");
Ritor1
parents:
diff changeset
345 pIconsFrameTable->InitializeAnimation((signed __int16)pUIAnim_WizardEye->uIconID);
Ritor1
parents:
diff changeset
346 pUIAnum_Torchlight->uIconID = pIconsFrameTable->FindIcon("torchA");
Ritor1
parents:
diff changeset
347 pIconsFrameTable->InitializeAnimation((signed __int16)pUIAnum_Torchlight->uIconID);
Ritor1
parents:
diff changeset
348 uTextureID_Parchment = pIcons_LOD->LoadTexture("parchment", TEXTURE_16BIT_PALETTE);
Ritor1
parents:
diff changeset
349 uTextureID_5076B4 = pIcons_LOD->LoadTexture("cornr_ll", TEXTURE_16BIT_PALETTE);
Ritor1
parents:
diff changeset
350 uTextureID_5076B0 = pIcons_LOD->LoadTexture("cornr_lr", TEXTURE_16BIT_PALETTE);
Ritor1
parents:
diff changeset
351 uTextureID_5076AC = pIcons_LOD->LoadTexture("cornr_ul", TEXTURE_16BIT_PALETTE);
Ritor1
parents:
diff changeset
352 uTextureID_5076A8 = pIcons_LOD->LoadTexture("cornr_ur", TEXTURE_16BIT_PALETTE);
Ritor1
parents:
diff changeset
353 uTextureID_5076A4 = pIcons_LOD->LoadTexture("edge_btm", TEXTURE_16BIT_PALETTE);
Ritor1
parents:
diff changeset
354 uTextureID_5076A0 = pIcons_LOD->LoadTexture("edge_lf", TEXTURE_16BIT_PALETTE);
Ritor1
parents:
diff changeset
355 uTextureID_50769C = pIcons_LOD->LoadTexture("edge_rt", TEXTURE_16BIT_PALETTE);
Ritor1
parents:
diff changeset
356 uTextureID_507698 = pIcons_LOD->LoadTexture("edge_top", TEXTURE_16BIT_PALETTE);
948
5a2dbb00c399 Code cleaning.
Nomad
parents: 945
diff changeset
357 pTexture_591428 = pIcons_LOD->LoadTexturePtr("endcap", TEXTURE_16BIT_PALETTE);
0
Ritor1
parents:
diff changeset
358
Ritor1
parents:
diff changeset
359 }
949
Nomad
parents: 948
diff changeset
360 v3 = TargetColor(0xAu, 0, 0);
0
Ritor1
parents:
diff changeset
361 v4 = 214;
Ritor1
parents:
diff changeset
362 v5 = 230;
Ritor1
parents:
diff changeset
363 v6 = 193;
Ritor1
parents:
diff changeset
364 }
373
edd2d8b7e3c4 Interface reloading fix & party alignment enum
Nomad
parents: 365
diff changeset
365 else if (align == PartyAlignment_Good)
0
Ritor1
parents:
diff changeset
366 {
Ritor1
parents:
diff changeset
367 if ( bReplace )
Ritor1
parents:
diff changeset
368 {
Ritor1
parents:
diff changeset
369 pTexture_RightFrame->Reload("ib-r-B.pcx");
Ritor1
parents:
diff changeset
370 pTexture_BottomFrame->Reload("ib-b-B.pcx");
Ritor1
parents:
diff changeset
371 pTexture_TopFrame->Reload("ib-t-B.pcx");
Ritor1
parents:
diff changeset
372 pTexture_LeftFrame->Reload("ib-l-B.pcx");
Ritor1
parents:
diff changeset
373 pTexture_StatusBar->Reload("IB-Foot-b.pcx");
Ritor1
parents:
diff changeset
374 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_right_panel], "ib-mb-B", 2);
1507
a109bb203e28 UIGame.cpp cleaning(continue) GameUI_DrawMinimap
Ritor1
parents: 1459
diff changeset
375 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_Minimap_Loop], "ib-autmask-b", 2);
a109bb203e28 UIGame.cpp cleaning(continue) GameUI_DrawMinimap
Ritor1
parents: 1459
diff changeset
376 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_Compas], "IB-COMP-B", 2);
0
Ritor1
parents:
diff changeset
377 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[dword_5079D0], "IB-InitG-b", 2);
Ritor1
parents:
diff changeset
378 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[dword_5079C8], "IB-InitY-b", 2);
Ritor1
parents:
diff changeset
379 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[dword_5079CC], "IB-InitR-b", 2);
319
5a66be213cff Actor::Die
Nomad
parents: 316
diff changeset
380 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_Btn_NPCLeft], "IB-NPCLD-B", 2);
5a66be213cff Actor::Die
Nomad
parents: 316
diff changeset
381 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_Btn_NPCRight], "IB-NPCRD-B", 2);
5a66be213cff Actor::Die
Nomad
parents: 316
diff changeset
382 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_Btn_ZoomIn], "ib-autout-B", 2);
5a66be213cff Actor::Die
Nomad
parents: 316
diff changeset
383 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_Btn_ZoomOut], "ib-autin-B", 2);
995
5876a9cafa3e Various UIs, autonotes title fixed
Nomad
parents: 994
diff changeset
384 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_GameUI_CharSelectionFrame], "IB-selec-B", 2);
319
5a66be213cff Actor::Die
Nomad
parents: 316
diff changeset
385 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_Btn_CastSpell], "ib-m1d-b", 2);
5a66be213cff Actor::Die
Nomad
parents: 316
diff changeset
386 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_Btn_Rest], "ib-m2d-b", 2);
5a66be213cff Actor::Die
Nomad
parents: 316
diff changeset
387 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_Btn_QuickReference], "ib-m3d-b", 2);
5a66be213cff Actor::Die
Nomad
parents: 316
diff changeset
388 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_Btn_GameSettings], "ib-m4d-b", 2);
569
f451efdb7c8b * Party buff icons drawing (right panel)
Nomad
parents: 566
diff changeset
389 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_PlayerBuff_Bless], "isg-01-b", 2);
f451efdb7c8b * Party buff icons drawing (right panel)
Nomad
parents: 566
diff changeset
390 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_PlayerBuff_Preservation], "isg-02-b", 2);
f451efdb7c8b * Party buff icons drawing (right panel)
Nomad
parents: 566
diff changeset
391 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_PlayerBuff_Hammerhands], "isg-03-b", 2);
f451efdb7c8b * Party buff icons drawing (right panel)
Nomad
parents: 566
diff changeset
392 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_PlayerBuff_PainReflection], "isg-04-b", 2);
0
Ritor1
parents:
diff changeset
393 pUIAnim_WizardEye->uIconID = pIconsFrameTable->FindIcon("wizeyeB");
Ritor1
parents:
diff changeset
394 pIconsFrameTable->InitializeAnimation((signed __int16)pUIAnim_WizardEye->uIconID);
Ritor1
parents:
diff changeset
395 pUIAnum_Torchlight->uIconID = pIconsFrameTable->FindIcon("torchB");
Ritor1
parents:
diff changeset
396 pIconsFrameTable->InitializeAnimation((signed __int16)pUIAnum_Torchlight->uIconID);
526
214d9d47cf1f Chest working, but items are not laid correctly
Gloval
parents: 524
diff changeset
397 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uExitCancelTextureId], "ib-bcu-b", 2);
0
Ritor1
parents:
diff changeset
398 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_50795C], "evtnpc-b", 2);
984
d982fffb8b96 CharacterUI_InventoryTab_Draw cleaned.
Nomad
parents: 983
diff changeset
399 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_CharacterUI_InventoryBackground], "fr_inven-b", 2);
0
Ritor1
parents:
diff changeset
400 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_Parchment], "parchment", 2);
Ritor1
parents:
diff changeset
401 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_5076B4], "cornr_ll-b", 2);
Ritor1
parents:
diff changeset
402 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_5076B0], "cornr_lr-b", 2);
Ritor1
parents:
diff changeset
403 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_5076AC], "cornr_ul-b", 2);
Ritor1
parents:
diff changeset
404 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_5076A8], "cornr_ur-b", 2);
Ritor1
parents:
diff changeset
405 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_5076A4], "edge_btm-b", 2);
Ritor1
parents:
diff changeset
406 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_5076A0], "edge_lf-b", 2);
Ritor1
parents:
diff changeset
407 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_50769C], "edge_rt-b", 2);
Ritor1
parents:
diff changeset
408 pIcons_LOD->ReloadTexture(&pIcons_LOD->pTextures[uTextureID_507698], "edge_top-b", 2);
Ritor1
parents:
diff changeset
409 pIcons_LOD->ReloadTexture(pTexture_591428, "endcap-b", 2);
Ritor1
parents:
diff changeset
410 }
949
Nomad
parents: 948
diff changeset
411 v3 = TargetColor(0, 0, 0xC8u);
0
Ritor1
parents:
diff changeset
412 v5 = 255;
Ritor1
parents:
diff changeset
413 v4 = 225;
Ritor1
parents:
diff changeset
414 v6 = 255;
Ritor1
parents:
diff changeset
415 }
1545
c4ab816fcc5e assert, Abortf, AbortWithError -> Assert, Error
Nomad
parents: 1544
diff changeset
416 else Error("Invalid alignment type: %u", align);
373
edd2d8b7e3c4 Interface reloading fix & party alignment enum
Nomad
parents: 365
diff changeset
417
0
Ritor1
parents:
diff changeset
418 uGameUIFontMain = v3;
949
Nomad
parents: 948
diff changeset
419 uGameUIFontShadow = TargetColor(v5, v4, v6);
0
Ritor1
parents:
diff changeset
420 }
Ritor1
parents:
diff changeset
421
1038
39f42990698f Cleanings
Nomad
parents: 1030
diff changeset
422
39f42990698f Cleanings
Nomad
parents: 1030
diff changeset
423
0
Ritor1
parents:
diff changeset
424 //----- (00424CD7) --------------------------------------------------------
1414
110eac219e5a ChestUI_WritePointedObjectStatusString
Nomad
parents: 1413
diff changeset
425 int sr_424CD7(unsigned int num_vertices)
0
Ritor1
parents:
diff changeset
426 {
1414
110eac219e5a ChestUI_WritePointedObjectStatusString
Nomad
parents: 1413
diff changeset
427 //unsigned int v1; // edx@1
0
Ritor1
parents:
diff changeset
428 signed int v2; // edi@1
Ritor1
parents:
diff changeset
429 char *v3; // esi@4
Ritor1
parents:
diff changeset
430 char *v4; // ecx@4
1414
110eac219e5a ChestUI_WritePointedObjectStatusString
Nomad
parents: 1413
diff changeset
431 //unsigned int v5; // eax@4
0
Ritor1
parents:
diff changeset
432 char *v6; // edx@4
Ritor1
parents:
diff changeset
433 double v7; // st6@10
Ritor1
parents:
diff changeset
434 double v8; // st5@10
Ritor1
parents:
diff changeset
435 double v9; // st6@11
Ritor1
parents:
diff changeset
436 unsigned __int8 v10; // c2@15
Ritor1
parents:
diff changeset
437 unsigned __int8 v11; // c3@15
Ritor1
parents:
diff changeset
438 RenderVertexSoft *v12; // edi@22
Ritor1
parents:
diff changeset
439 char *v13; // eax@22
Ritor1
parents:
diff changeset
440 double v14; // st6@22
1414
110eac219e5a ChestUI_WritePointedObjectStatusString
Nomad
parents: 1413
diff changeset
441 //signed int result; // eax@24
110eac219e5a ChestUI_WritePointedObjectStatusString
Nomad
parents: 1413
diff changeset
442 //unsigned int v16; // [sp+8h] [bp-28h]@4
0
Ritor1
parents:
diff changeset
443 bool v17; // [sp+Ch] [bp-24h]@6
Ritor1
parents:
diff changeset
444 char *v18; // [sp+10h] [bp-20h]@4
Ritor1
parents:
diff changeset
445 char *v19; // [sp+14h] [bp-1Ch]@4
1414
110eac219e5a ChestUI_WritePointedObjectStatusString
Nomad
parents: 1413
diff changeset
446 //signed int v20; // [sp+18h] [bp-18h]@1
0
Ritor1
parents:
diff changeset
447 RenderVertexSoft *v21; // [sp+1Ch] [bp-14h]@4
Ritor1
parents:
diff changeset
448 char *v22; // [sp+20h] [bp-10h]@4
Ritor1
parents:
diff changeset
449 char *v23; // [sp+24h] [bp-Ch]@4
Ritor1
parents:
diff changeset
450 char *v24; // [sp+28h] [bp-8h]@4
Ritor1
parents:
diff changeset
451 char *v25; // [sp+2Ch] [bp-4h]@4
1414
110eac219e5a ChestUI_WritePointedObjectStatusString
Nomad
parents: 1413
diff changeset
452
110eac219e5a ChestUI_WritePointedObjectStatusString
Nomad
parents: 1413
diff changeset
453 if (!num_vertices)
110eac219e5a ChestUI_WritePointedObjectStatusString
Nomad
parents: 1413
diff changeset
454 return 0;
0
Ritor1
parents:
diff changeset
455
1414
110eac219e5a ChestUI_WritePointedObjectStatusString
Nomad
parents: 1413
diff changeset
456 //v1 = uVertexID;
110eac219e5a ChestUI_WritePointedObjectStatusString
Nomad
parents: 1413
diff changeset
457 memcpy(&array_50AC10[num_vertices], array_50AC10, sizeof(array_50AC10[0]));
0
Ritor1
parents:
diff changeset
458 v2 = 0;
1414
110eac219e5a ChestUI_WritePointedObjectStatusString
Nomad
parents: 1413
diff changeset
459 //v20 = 0;
0
Ritor1
parents:
diff changeset
460 if ( array_50AC10[0].vWorldViewPosition.x >= 8.0 )
Ritor1
parents:
diff changeset
461 v2 = 1;
Ritor1
parents:
diff changeset
462 v3 = (char *)&array_507D30[0].vWorldViewPosition.z;
Ritor1
parents:
diff changeset
463 v4 = (char *)&array_507D30[0].vWorldViewPosition.y;
1414
110eac219e5a ChestUI_WritePointedObjectStatusString
Nomad
parents: 1413
diff changeset
464 //v5 = v1;
168
ee11772d0ad2 New sky (turn on -new_sky console command)
Nomad
parents: 144
diff changeset
465 v23 = (char *)&array_507D30[0]._rhw;
1207
96a81634669e arrays to std::arrays phase 3 - finishing global arrays
Grumpy7
parents: 1206
diff changeset
466 v21 = array_507D30;
0
Ritor1
parents:
diff changeset
467 v18 = (char *)&array_507D30[0].vWorldViewPosition.z;
Ritor1
parents:
diff changeset
468 v19 = (char *)&array_507D30[0].vWorldViewPosition.y;
Ritor1
parents:
diff changeset
469 v22 = (char *)&array_507D30[0].vWorldViewPosition;
Ritor1
parents:
diff changeset
470 v24 = (char *)&array_507D30[0].v;
Ritor1
parents:
diff changeset
471 v25 = (char *)&array_507D30[0].u;
Ritor1
parents:
diff changeset
472 v6 = (char *)&array_50AC10[0].v;
1414
110eac219e5a ChestUI_WritePointedObjectStatusString
Nomad
parents: 1413
diff changeset
473 //v16 = v1;
110eac219e5a ChestUI_WritePointedObjectStatusString
Nomad
parents: 1413
diff changeset
474
110eac219e5a ChestUI_WritePointedObjectStatusString
Nomad
parents: 1413
diff changeset
475 int out_num_vertices = 0;
110eac219e5a ChestUI_WritePointedObjectStatusString
Nomad
parents: 1413
diff changeset
476 for (int i = 0; i < num_vertices; ++i)
0
Ritor1
parents:
diff changeset
477 {
Ritor1
parents:
diff changeset
478 v17 = *((float *)v6 + 5) >= 8.0;
Ritor1
parents:
diff changeset
479 if ( v2 != v17 )
Ritor1
parents:
diff changeset
480 {
Ritor1
parents:
diff changeset
481 if ( v17 )
Ritor1
parents:
diff changeset
482 {
Ritor1
parents:
diff changeset
483 v7 = (8.0 - *((float *)v6 - 7)) / (*((float *)v6 + 5) - *((float *)v6 - 7));
Ritor1
parents:
diff changeset
484 *(float *)v4 = (*((float *)v6 + 6) - *((float *)v6 - 6)) * v7 + *((float *)v6 - 6);
Ritor1
parents:
diff changeset
485 *(float *)v3 = (*((float *)v6 + 7) - *((float *)v6 - 5)) * v7 + *((float *)v6 - 5);
Ritor1
parents:
diff changeset
486 *(float *)v25 = (*((float *)v6 + 11) - *((float *)v6 - 1)) * v7 + *((float *)v6 - 1);
Ritor1
parents:
diff changeset
487 v8 = (*((float *)v6 + 12) - *(float *)v6) * v7 + *(float *)v6;
Ritor1
parents:
diff changeset
488 }
Ritor1
parents:
diff changeset
489 else
Ritor1
parents:
diff changeset
490 {
Ritor1
parents:
diff changeset
491 v9 = (8.0 - *((float *)v6 + 5)) / (*((float *)v6 - 7) - *((float *)v6 + 5));
Ritor1
parents:
diff changeset
492 *(float *)v4 = (*((float *)v6 - 6) - *((float *)v6 + 6)) * v9 + *((float *)v6 + 6);
Ritor1
parents:
diff changeset
493 *(float *)v3 = (*((float *)v6 - 5) - *((float *)v6 + 7)) * v9 + *((float *)v6 + 7);
Ritor1
parents:
diff changeset
494 *(float *)v25 = (*((float *)v6 - 1) - *((float *)v6 + 11)) * v9 + *((float *)v6 + 11);
Ritor1
parents:
diff changeset
495 v8 = (*(float *)v6 - *((float *)v6 + 12)) * v9 + *((float *)v6 + 12);
Ritor1
parents:
diff changeset
496 }
Ritor1
parents:
diff changeset
497 *(float *)v24 = v8;
Ritor1
parents:
diff changeset
498 *(float *)v22 = 8.0;
Ritor1
parents:
diff changeset
499 *(int *)v23 = 0x3E000000u;
Ritor1
parents:
diff changeset
500 if ( v2 )
Ritor1
parents:
diff changeset
501 {
Ritor1
parents:
diff changeset
502 if ( 8.0 == *((float *)v6 - 7) && *(float *)v4 == *((float *)v6 - 6) )
Ritor1
parents:
diff changeset
503 {
Ritor1
parents:
diff changeset
504 v10 = 0;
Ritor1
parents:
diff changeset
505 v11 = *(float *)v3 == *((float *)v6 - 5);
1426
2754f373a8b3 mistake fixed
zipi
parents: 1418
diff changeset
506 if ( v11 | v10 )
2754f373a8b3 mistake fixed
zipi
parents: 1418
diff changeset
507 goto LABEL_21;
2754f373a8b3 mistake fixed
zipi
parents: 1418
diff changeset
508 }
0
Ritor1
parents:
diff changeset
509 }
Ritor1
parents:
diff changeset
510 else
Ritor1
parents:
diff changeset
511 {
Ritor1
parents:
diff changeset
512 if ( 8.0 == *((float *)v6 + 5) && *(float *)v4 == *((float *)v6 + 6) )
Ritor1
parents:
diff changeset
513 {
Ritor1
parents:
diff changeset
514 v10 = 0;
Ritor1
parents:
diff changeset
515 v11 = *(float *)v3 == *((float *)v6 + 7);
1426
2754f373a8b3 mistake fixed
zipi
parents: 1418
diff changeset
516 if ( v11 | v10 )
2754f373a8b3 mistake fixed
zipi
parents: 1418
diff changeset
517 goto LABEL_21;
0
Ritor1
parents:
diff changeset
518 }
Ritor1
parents:
diff changeset
519 }
1426
2754f373a8b3 mistake fixed
zipi
parents: 1418
diff changeset
520 ++v21;
2754f373a8b3 mistake fixed
zipi
parents: 1418
diff changeset
521 v22 += 48;
2754f373a8b3 mistake fixed
zipi
parents: 1418
diff changeset
522 v24 += 48;
2754f373a8b3 mistake fixed
zipi
parents: 1418
diff changeset
523 v25 += 48;
2754f373a8b3 mistake fixed
zipi
parents: 1418
diff changeset
524 v4 += 48;
2754f373a8b3 mistake fixed
zipi
parents: 1418
diff changeset
525 v3 += 48;
2754f373a8b3 mistake fixed
zipi
parents: 1418
diff changeset
526 ++out_num_vertices;
2754f373a8b3 mistake fixed
zipi
parents: 1418
diff changeset
527 v23 += 48;
2754f373a8b3 mistake fixed
zipi
parents: 1418
diff changeset
528 v19 = v4;
2754f373a8b3 mistake fixed
zipi
parents: 1418
diff changeset
529 v18 = v3;
0
Ritor1
parents:
diff changeset
530 }
1426
2754f373a8b3 mistake fixed
zipi
parents: 1418
diff changeset
531 LABEL_21:
0
Ritor1
parents:
diff changeset
532 if ( v17 )
Ritor1
parents:
diff changeset
533 {
Ritor1
parents:
diff changeset
534 v12 = v21;
Ritor1
parents:
diff changeset
535 v13 = v23;
Ritor1
parents:
diff changeset
536 v19 += 48;
Ritor1
parents:
diff changeset
537 v18 += 48;
Ritor1
parents:
diff changeset
538 v14 = 1.0 / (*((float *)v6 + 5) + 0.0000001);
1414
110eac219e5a ChestUI_WritePointedObjectStatusString
Nomad
parents: 1413
diff changeset
539 ++out_num_vertices;
0
Ritor1
parents:
diff changeset
540 v25 += 48;
Ritor1
parents:
diff changeset
541 v24 += 48;
Ritor1
parents:
diff changeset
542 v22 += 48;
Ritor1
parents:
diff changeset
543 ++v21;
Ritor1
parents:
diff changeset
544 v23 += 48;
Ritor1
parents:
diff changeset
545 memcpy(v12, v6 + 8, 0x30u);
Ritor1
parents:
diff changeset
546 v4 = v19;
Ritor1
parents:
diff changeset
547 v3 = v18;
Ritor1
parents:
diff changeset
548 *(float *)v13 = v14;
Ritor1
parents:
diff changeset
549 }
Ritor1
parents:
diff changeset
550 v2 = v17;
Ritor1
parents:
diff changeset
551 v6 += 48;
Ritor1
parents:
diff changeset
552 }
1414
110eac219e5a ChestUI_WritePointedObjectStatusString
Nomad
parents: 1413
diff changeset
553
110eac219e5a ChestUI_WritePointedObjectStatusString
Nomad
parents: 1413
diff changeset
554 return out_num_vertices >= 3 ? out_num_vertices : 0;
0
Ritor1
parents:
diff changeset
555 }