diff Engine/Graphics/stru9.h @ 2496:5abd8fc8f1c6

for ITEM_ARTIFACT_LADYS_ESCORT
author Ritor1
date Thu, 18 Sep 2014 17:38:54 +0600
parents
children 9ec6b8be16fe
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Engine/Graphics/stru9.h	Thu Sep 18 17:38:54 2014 +0600
@@ -0,0 +1,63 @@
+#pragma once
+#include "Render.h"
+
+/*  341 */
+#pragma pack(push, 1)
+struct VertexBuffer
+{
+  //----- (0049835A) --------------------------------------------------------
+  inline VertexBuffer()
+  {
+    for (unsigned int i = 0; i < 64; ++i)
+      pVertices[i].flt_2C = 0.0f;
+
+    uNumVertices = 0;
+  }
+
+
+  RenderVertexSoft pVertices[64];
+  int uNumVertices;
+};
+#pragma pack(pop)
+
+
+
+
+/*  342 */
+#pragma pack(push, 1)
+struct stru312
+{
+  //----- (004BE6D1) --------------------------------------------------------
+  inline stru312()
+  {
+  }
+
+  float x;
+  float y;
+  float z;
+  char field_C;
+  char pad[3];
+};
+#pragma pack(pop)
+
+
+
+/*  126 */
+#pragma pack(push, 1)
+struct stru9
+{
+  //----- (00498093) --------------------------------------------------------
+  inline stru9()
+  {}
+
+  bool _4980B9(struct RenderVertexSoft *a1, unsigned int uNumVertices, float a3, float a4, float a5, struct RenderVertexSoft *pOutVertices, unsigned int *pOutNumVertices);
+  bool _498377(struct RenderVertexSoft *pPortalBounding, unsigned int uNumVertices, struct IndoorCameraD3D_Vec4 *pVertices, struct RenderVertexSoft *pVertices2, unsigned int *pOutNumVertices);
+  bool CalcPortalShape(struct RenderVertexSoft *a1, signed int a2, struct RenderVertexSoft *pVertices, unsigned int *pOutNumVertices, struct Vec3_float_ *a5, float a6, char *a7, int unused);
+  void AddVertex(struct VertexBuffer *pVertexBuffer, struct RenderVertexSoft *pVertex);
+  bool _498774(struct RenderVertexSoft *a1, struct RenderVertexSoft *a2, struct RenderVertexSoft *a3, struct stru312 *a4, struct RenderVertexSoft *a5);
+  bool AreVectorsCollinear(struct RenderVertexSoft *a1, struct RenderVertexSoft *a2, struct stru312 *a3);
+  bool _4989E1(struct RenderVertexSoft *a1, struct RenderVertexSoft *a2, struct RenderVertexSoft *a3, struct stru312 *a4);
+
+  void ( ***vdestructor_ptr)(stru9 *, bool);
+};
+#pragma pack(pop)
\ No newline at end of file