view stru9.h @ 21:3fa5d0522f92

Both Bink 1.5.21.0 & 3.0.0.0 support added
author Nomad
date Sat, 13 Oct 2012 20:17:56 +0200
parents 8b8875f5b359
children fdacbc653945
line wrap: on
line source

#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 flt_0;
  float flt_4;
  float flt_8;
  char field_C;
};
#pragma pack(pop)



/*  126 */
#pragma pack(push, 1)
struct stru9
{
  //----- (00498093) --------------------------------------------------------
  inline stru9()
  {}

  bool _4980B9(struct RenderVertexSoft *a1, signed int a2, float a3, float a4, float a5, struct RenderVertexSoft *a6, unsigned int *pOutNumVertices);
  bool _498377(struct RenderVertexSoft *a1, unsigned int uNumVertices, struct IndoorCameraD3D_Vec4 *a3, struct RenderVertexSoft *pVertices, unsigned int *pOutNumVertices);
  bool _4985FB(struct RenderVertexSoft *a1, signed int a2, struct RenderVertexSoft *a3, 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 _49895A(struct RenderVertexSoft *a1, struct RenderVertexSoft *a2, struct stru312 *a3);
  bool _4989E1(struct RenderVertexSoft *a1, struct RenderVertexSoft *a2, struct RenderVertexSoft *a3, struct stru312 *a4);

  void (__thiscall ***vdestructor_ptr)(stru9 *, bool);
};
#pragma pack(pop)