Mercurial > might-and-magic-trilogy
view ParticleEngine.h @ 38:431e26f265a0
Слияние
author | Ritor1 |
---|---|
date | Thu, 18 Oct 2012 09:11:23 +0600 |
parents | 8b8875f5b359 |
children | bcc051713d20 |
line wrap: on
line source
#pragma once #include "Render.h" /* 305 */ #pragma pack(push, 1) struct Particle_ { int bFree; float x; float y; float z; float flt_10; float flt_14; float flt_18; unsigned int uDiffuse; int field_20; unsigned int uTextureID; float flt_28; int field_2C; int field_30; int field_34; int field_38[12]; }; #pragma pack(pop) /* 109 */ #pragma pack(push, 1) struct Particle { int bFree; float x; float y; float z; float flt_10; float flt_14; float flt_18; int uParticleColor; int field_20; unsigned int uTextureID; float flt_28; float _x; float _y; float _z; int field_38; int _rotation; int uScreenSpaceX; int uScreenSpaceY; float field_48; int field_4C; int field_50; int field_54; int field_58; float flt_5C; float flt_60; int uLightColor; }; #pragma pack(pop) /* 111 */ #pragma pack(push, 1) struct stru2_LineList { unsigned int uNumLines; RenderVertexD3D3 pLineVertices[48]; char field_604[60]; }; #pragma pack(pop) /* 110 */ #pragma pack(push, 1) struct ParticleEngine { ParticleEngine(); void ResetParticles(); void AddParticle(Particle_ *a2); void Draw(); int UpdateParticles(); bool ViewProject_TrueIfStillVisible(unsigned int uParticleID); bool _48B5B3(unsigned int uID); void DrawParticles_BLV(); void DrawParticles_ODM(); Particle pParticles[500]; stru2_LineList pLines; char field_D160[4800]; float field_E420; int uStartParticle; int uEndParticle; int uTimeElapsed; }; #pragma pack(pop)