2496
|
1 #pragma once
|
|
2 #include "Render.h"
|
|
3
|
|
4 /* 341 */
|
|
5 #pragma pack(push, 1)
|
|
6 struct VertexBuffer
|
|
7 {
|
|
8 //----- (0049835A) --------------------------------------------------------
|
|
9 inline VertexBuffer()
|
|
10 {
|
|
11 for (unsigned int i = 0; i < 64; ++i)
|
|
12 pVertices[i].flt_2C = 0.0f;
|
|
13
|
|
14 uNumVertices = 0;
|
|
15 }
|
|
16
|
|
17
|
|
18 RenderVertexSoft pVertices[64];
|
|
19 int uNumVertices;
|
|
20 };
|
|
21 #pragma pack(pop)
|
|
22
|
|
23
|
|
24
|
|
25
|
|
26 /* 342 */
|
|
27 #pragma pack(push, 1)
|
|
28 struct stru312
|
|
29 {
|
|
30 //----- (004BE6D1) --------------------------------------------------------
|
|
31 inline stru312()
|
|
32 {
|
|
33 }
|
|
34
|
|
35 float x;
|
|
36 float y;
|
|
37 float z;
|
|
38 char field_C;
|
|
39 char pad[3];
|
|
40 };
|
|
41 #pragma pack(pop)
|
|
42
|
|
43
|
|
44
|
|
45 /* 126 */
|
|
46 #pragma pack(push, 1)
|
|
47 struct stru9
|
|
48 {
|
|
49 //----- (00498093) --------------------------------------------------------
|
|
50 inline stru9()
|
|
51 {}
|
|
52
|
|
53 bool _4980B9(struct RenderVertexSoft *a1, unsigned int uNumVertices, float a3, float a4, float a5, struct RenderVertexSoft *pOutVertices, unsigned int *pOutNumVertices);
|
|
54 bool _498377(struct RenderVertexSoft *pPortalBounding, unsigned int uNumVertices, struct IndoorCameraD3D_Vec4 *pVertices, struct RenderVertexSoft *pVertices2, unsigned int *pOutNumVertices);
|
|
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);
|
|
56 void AddVertex(struct VertexBuffer *pVertexBuffer, struct RenderVertexSoft *pVertex);
|
|
57 bool _498774(struct RenderVertexSoft *a1, struct RenderVertexSoft *a2, struct RenderVertexSoft *a3, struct stru312 *a4, struct RenderVertexSoft *a5);
|
|
58 bool AreVectorsCollinear(struct RenderVertexSoft *a1, struct RenderVertexSoft *a2, struct stru312 *a3);
|
|
59 bool _4989E1(struct RenderVertexSoft *a1, struct RenderVertexSoft *a2, struct RenderVertexSoft *a3, struct stru312 *a4);
|
|
60
|
|
61 void ( ***vdestructor_ptr)(stru9 *, bool);
|
|
62 };
|
|
63 #pragma pack(pop) |