comparison BSPModel.h @ 0:9c0607679772

init
author Ritor1
date Sat, 12 Jan 2013 09:45:18 +0600
parents
children a5e587c8e30e
comparison
equal deleted inserted replaced
-1:000000000000 0:9c0607679772
1 #pragma once
2 #include "VectorTypes.h"
3
4
5 #pragma pack(push, 1)
6 struct BSPNode
7 {
8 __int16 uFront;
9 __int16 uBack;
10 __int16 uCoplanarOffset;
11 __int16 uCoplanarSize;
12 };
13 #pragma pack(pop)
14
15
16 #pragma pack(push, 1)
17 struct BSPVertexBuffer
18 {
19 int uNumVertices;
20 Vec3_int_ *pVertices;
21 };
22 #pragma pack(pop)
23
24
25
26 /* 80 */
27 #pragma pack(push, 1)
28 struct BSPModel
29 {
30 void Release();
31
32
33 char pModelName[32];
34 char pModelName2[32];
35 int field_40;
36 struct BSPVertexBuffer pVertices;
37 unsigned int uNumFaces;
38 unsigned int uNumConvexFaces;
39 struct ODMFace *pFaces;
40 unsigned __int16 *pFacesOrdering;
41 unsigned int uNumNodes;
42 struct BSPNode *pNodes;
43 unsigned int uNumDecorations;
44 int sCenterX;
45 int sCenterY;
46 Vec3_int_ vPosition;
47 int sMinX;
48 int sMinY;
49 int sMinZ;
50 int sMaxX;
51 int sMaxY;
52 int sMaxZ;
53 int sSomeOtherMinX;
54 int sSomeOtherMinY;
55 int sSomeOtherMinZ;
56 int sSomeOtherMaxX;
57 int sSomeOtherMaxY;
58 int sSomeOtherMaxZ;
59 Vec3_int_ vBoundingCenter;
60 int sBoundingRadius;
61 };
62 #pragma pack(pop)