annotate stru9.h @ 2300:4c3f91554be8

stru319::GetMagicalResistance renamed to stru319::DoesDmgTypeDoDamage
author Grumpy7
date Sun, 16 Mar 2014 19:58:02 +0100
parents 934074e7fcc1
children
rev   line source
0
Ritor1
parents:
diff changeset
1 #pragma once
Ritor1
parents:
diff changeset
2 #include "Render.h"
Ritor1
parents:
diff changeset
3
Ritor1
parents:
diff changeset
4 /* 341 */
Ritor1
parents:
diff changeset
5 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
6 struct VertexBuffer
Ritor1
parents:
diff changeset
7 {
Ritor1
parents:
diff changeset
8 //----- (0049835A) --------------------------------------------------------
Ritor1
parents:
diff changeset
9 inline VertexBuffer()
Ritor1
parents:
diff changeset
10 {
Ritor1
parents:
diff changeset
11 for (unsigned int i = 0; i < 64; ++i)
Ritor1
parents:
diff changeset
12 pVertices[i].flt_2C = 0.0f;
Ritor1
parents:
diff changeset
13
Ritor1
parents:
diff changeset
14 uNumVertices = 0;
Ritor1
parents:
diff changeset
15 }
Ritor1
parents:
diff changeset
16
Ritor1
parents:
diff changeset
17
Ritor1
parents:
diff changeset
18 RenderVertexSoft pVertices[64];
Ritor1
parents:
diff changeset
19 int uNumVertices;
Ritor1
parents:
diff changeset
20 };
Ritor1
parents:
diff changeset
21 #pragma pack(pop)
Ritor1
parents:
diff changeset
22
Ritor1
parents:
diff changeset
23
Ritor1
parents:
diff changeset
24
Ritor1
parents:
diff changeset
25
Ritor1
parents:
diff changeset
26 /* 342 */
Ritor1
parents:
diff changeset
27 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
28 struct stru312
Ritor1
parents:
diff changeset
29 {
Ritor1
parents:
diff changeset
30 //----- (004BE6D1) --------------------------------------------------------
Ritor1
parents:
diff changeset
31 inline stru312()
Ritor1
parents:
diff changeset
32 {
Ritor1
parents:
diff changeset
33 }
Ritor1
parents:
diff changeset
34
Ritor1
parents:
diff changeset
35 float x;
Ritor1
parents:
diff changeset
36 float y;
Ritor1
parents:
diff changeset
37 float z;
Ritor1
parents:
diff changeset
38 char field_C;
Ritor1
parents:
diff changeset
39 char pad[3];
Ritor1
parents:
diff changeset
40 };
Ritor1
parents:
diff changeset
41 #pragma pack(pop)
Ritor1
parents:
diff changeset
42
Ritor1
parents:
diff changeset
43
Ritor1
parents:
diff changeset
44
Ritor1
parents:
diff changeset
45 /* 126 */
Ritor1
parents:
diff changeset
46 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
47 struct stru9
Ritor1
parents:
diff changeset
48 {
Ritor1
parents:
diff changeset
49 //----- (00498093) --------------------------------------------------------
Ritor1
parents:
diff changeset
50 inline stru9()
Ritor1
parents:
diff changeset
51 {}
Ritor1
parents:
diff changeset
52
Ritor1
parents:
diff changeset
53 bool _4980B9(struct RenderVertexSoft *a1, unsigned int uNumVertices, float a3, float a4, float a5, struct RenderVertexSoft *pOutVertices, unsigned int *pOutNumVertices);
1188
Ritor1
parents: 795
diff changeset
54 bool _498377(struct RenderVertexSoft *pPortalBounding, unsigned int uNumVertices, struct IndoorCameraD3D_Vec4 *pVertices, struct RenderVertexSoft *pVertices2, unsigned int *pOutNumVertices);
1301
18665b8f66b2 yellow points remove
Ritor1
parents: 1188
diff changeset
55 bool CalcPortalShape(struct RenderVertexSoft *a1, signed int a2, struct RenderVertexSoft *pVertices, unsigned int *pOutNumVertices, struct Vec3_float_ *a5, float a6, char *a7, int unused);
0
Ritor1
parents:
diff changeset
56 void AddVertex(struct VertexBuffer *pVertexBuffer, struct RenderVertexSoft *pVertex);
Ritor1
parents:
diff changeset
57 bool _498774(struct RenderVertexSoft *a1, struct RenderVertexSoft *a2, struct RenderVertexSoft *a3, struct stru312 *a4, struct RenderVertexSoft *a5);
Ritor1
parents:
diff changeset
58 bool AreVectorsCollinear(struct RenderVertexSoft *a1, struct RenderVertexSoft *a2, struct stru312 *a3);
Ritor1
parents:
diff changeset
59 bool _4989E1(struct RenderVertexSoft *a1, struct RenderVertexSoft *a2, struct RenderVertexSoft *a3, struct stru312 *a4);
Ritor1
parents:
diff changeset
60
1458
934074e7fcc1 ModalWindow
Nomad
parents: 1301
diff changeset
61 void ( ***vdestructor_ptr)(stru9 *, bool);
0
Ritor1
parents:
diff changeset
62 };
Ritor1
parents:
diff changeset
63 #pragma pack(pop)