annotate stru9.h @ 68:fdacbc653945

BLV render: first image
author Nomad
date Sat, 27 Oct 2012 19:23:06 +0200
parents 8b8875f5b359
children
rev   line source
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
1 #pragma once
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
2 #include "Render.h"
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
3
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
4 /* 341 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
5 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
6 struct VertexBuffer
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
7 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
8 //----- (0049835A) --------------------------------------------------------
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
9 inline VertexBuffer()
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
10 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
11 for (unsigned int i = 0; i < 64; ++i)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
12 pVertices[i].flt_2C = 0.0f;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
13
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
14 uNumVertices = 0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
15 }
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
16
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
17
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
18 RenderVertexSoft pVertices[64];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
19 int uNumVertices;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
20 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
21 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
22
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
23
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
24
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
25
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
26 /* 342 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
27 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
28 struct stru312
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
29 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
30 //----- (004BE6D1) --------------------------------------------------------
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
31 inline stru312()
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
32 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
33 }
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
34
68
fdacbc653945 BLV render: first image
Nomad
parents: 0
diff changeset
35 float x;
fdacbc653945 BLV render: first image
Nomad
parents: 0
diff changeset
36 float y;
fdacbc653945 BLV render: first image
Nomad
parents: 0
diff changeset
37 float z;
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
38 char field_C;
68
fdacbc653945 BLV render: first image
Nomad
parents: 0
diff changeset
39 char pad[3];
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
40 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
41 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
42
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
43
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
44
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
45 /* 126 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
46 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
47 struct stru9
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
48 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
49 //----- (00498093) --------------------------------------------------------
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
50 inline stru9()
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
51 {}
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
52
68
fdacbc653945 BLV render: first image
Nomad
parents: 0
diff changeset
53 bool _4980B9(struct RenderVertexSoft *a1, unsigned int uNumVertices, float a3, float a4, float a5, struct RenderVertexSoft *pOutVertices, unsigned int *pOutNumVertices);
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
54 bool _498377(struct RenderVertexSoft *a1, unsigned int uNumVertices, struct IndoorCameraD3D_Vec4 *a3, struct RenderVertexSoft *pVertices, unsigned int *pOutNumVertices);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
55 bool _4985FB(struct RenderVertexSoft *a1, signed int a2, struct RenderVertexSoft *a3, unsigned int *pOutNumVertices, struct Vec3_float_ *a5, float a6, char *a7, int unused);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
56 void AddVertex(struct VertexBuffer *pVertexBuffer, struct RenderVertexSoft *pVertex);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
57 bool _498774(struct RenderVertexSoft *a1, struct RenderVertexSoft *a2, struct RenderVertexSoft *a3, struct stru312 *a4, struct RenderVertexSoft *a5);
68
fdacbc653945 BLV render: first image
Nomad
parents: 0
diff changeset
58 bool AreVectorsCollinear(struct RenderVertexSoft *a1, struct RenderVertexSoft *a2, struct stru312 *a3);
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
59 bool _4989E1(struct RenderVertexSoft *a1, struct RenderVertexSoft *a2, struct RenderVertexSoft *a3, struct stru312 *a4);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
60
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
61 void (__thiscall ***vdestructor_ptr)(stru9 *, bool);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
62 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
63 #pragma pack(pop)