World of Might and Magic  0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
stru9.h
См. документацию.
1 #pragma once
3 
4 /* 341 */
5 #pragma pack(push, 1)
6 struct VertexBuffer {
7  //----- (0049835A) --------------------------------------------------------
8  inline VertexBuffer() {
9  for (unsigned int i = 0; i < 64; ++i) pVertices[i].flt_2C = 0.0f;
10 
11  uNumVertices = 0;
12  }
13 
16 };
17 #pragma pack(pop)
18 
19 /* 342 */
20 #pragma pack(push, 1)
21 struct stru312 {
22  //----- (004BE6D1) --------------------------------------------------------
23  inline stru312() {}
24 
25  float x;
26  float y;
27  float z;
28  char field_C;
29  char pad[3];
30 };
31 #pragma pack(pop)
32 
33 /* 126 */
34 #pragma pack(push, 1)
35 struct stru9 {
36  //----- (00498093) --------------------------------------------------------
37  inline stru9() {}
38 
39  bool _4980B9(struct RenderVertexSoft *a1, unsigned int uNumVertices,
40  float a3, float a4, float a5,
41  struct RenderVertexSoft *pOutVertices,
42  signed int *pOutNumVertices);
43  bool _498377(struct RenderVertexSoft *pPortalBounding,
44  unsigned int uNumVertices,
46  struct RenderVertexSoft *pVertices2,
47  unsigned int *pOutNumVertices);
48  bool AdjustVerticesToFrustumPlane(RenderVertexSoft *pInVertices, signed int pInNumVertices,
49  RenderVertexSoft *pOutVertices,
50  unsigned int *pOutNumVertices,
51  struct Vec3_float_ *CamFrustumNormal, float CamDotDistance, char *VertsAdjusted,
52  int unused);
53  void AddVertex(struct VertexBuffer *pVertexBuffer,
54  struct RenderVertexSoft *pVertex);
55  bool ClipDecalVertsToFace(struct RenderVertexSoft *a1, struct RenderVertexSoft *a2,
56  struct RenderVertexSoft *a3, struct stru312 *a4,
57  struct RenderVertexSoft *a5);
58  bool AreVectorsCollinear(struct RenderVertexSoft *a1,
59  struct RenderVertexSoft *a2, struct stru312 *a3);
61  struct RenderVertexSoft *a3, struct stru312 *a4);
62 
63  void (***vdestructor_ptr)(stru9 *, bool);
64 };
65 #pragma pack(pop)
Vec3_float_
Definition: VectorTypes.h:74
stru312::field_C
char field_C
Definition: stru9.h:28
stru312::stru312
stru312()
Definition: stru9.h:23
stru312::x
float x
Definition: stru9.h:25
IndoorCameraD3D_Vec4
Definition: IndoorCameraD3D.h:32
stru312
Definition: stru9.h:21
stru9::AreVectorsCollinear
bool AreVectorsCollinear(struct RenderVertexSoft *a1, struct RenderVertexSoft *a2, struct stru312 *a3)
Definition: stru9.cpp:339
VertexBuffer::VertexBuffer
VertexBuffer()
Definition: stru9.h:8
stru9::AdjustVerticesToFrustumPlane
bool AdjustVerticesToFrustumPlane(RenderVertexSoft *pInVertices, signed int pInNumVertices, RenderVertexSoft *pOutVertices, unsigned int *pOutNumVertices, struct Vec3_float_ *CamFrustumNormal, float CamDotDistance, char *VertsAdjusted, int unused)
Definition: stru9.cpp:164
pVertices
struct RenderVertexD3D3 pVertices[50]
Definition: Render.cpp:50
IRender.h
stru9::stru9
stru9()
Definition: stru9.h:37
stru312::z
float z
Definition: stru9.h:27
stru9::vdestructor_ptr
void(*** vdestructor_ptr)(stru9 *, bool)
Definition: stru9.h:63
stru9::_4980B9
bool _4980B9(struct RenderVertexSoft *a1, unsigned int uNumVertices, float a3, float a4, float a5, struct RenderVertexSoft *pOutVertices, signed int *pOutNumVertices)
Definition: stru9.cpp:379
stru9::DoDecalVertsNeedClipping
bool DoDecalVertsNeedClipping(struct RenderVertexSoft *a1, struct RenderVertexSoft *a2, struct RenderVertexSoft *a3, struct stru312 *a4)
Definition: stru9.cpp:357
f
GLfloat f
Definition: SDL_opengl_glext.h:1873
stru9::_498377
bool _498377(struct RenderVertexSoft *pPortalBounding, unsigned int uNumVertices, struct IndoorCameraD3D_Vec4 *pVertices, struct RenderVertexSoft *pVertices2, unsigned int *pOutNumVertices)
Definition: stru9.cpp:8
stru9::ClipDecalVertsToFace
bool ClipDecalVertsToFace(struct RenderVertexSoft *a1, struct RenderVertexSoft *a2, struct RenderVertexSoft *a3, struct stru312 *a4, struct RenderVertexSoft *a5)
Definition: stru9.cpp:250
VertexBuffer::uNumVertices
int uNumVertices
Definition: stru9.h:15
void
typedef void(SDLCALL *SDL_AudioFilter)(struct SDL_AudioCVT *cvt
stru9
Definition: stru9.h:35
stru9::AddVertex
void AddVertex(struct VertexBuffer *pVertexBuffer, struct RenderVertexSoft *pVertex)
Definition: stru9.cpp:236
VertexBuffer
Definition: stru9.h:6
stru312::pad
char pad[3]
Definition: stru9.h:29
stru312::y
float y
Definition: stru9.h:26
RenderVertexSoft
Definition: IRender.h:113
VertexBuffer::pVertices
RenderVertexSoft pVertices[64]
Definition: stru9.h:14