Mercurial > might-and-magic-trilogy
diff DecalBuilder.h @ 45:bcc051713d20
BLV render & seffects
author | Nomad |
---|---|
date | Mon, 22 Oct 2012 20:45:14 +0200 |
parents | 8b8875f5b359 |
children | fde5c5acb66e |
line wrap: on
line diff
--- a/DecalBuilder.h Sun Oct 21 23:26:23 2012 +0600 +++ b/DecalBuilder.h Mon Oct 22 20:45:14 2012 +0200 @@ -5,7 +5,7 @@ #pragma pack(push, 1) struct DecalBuilder_stru0 { - double _43B570(); + double _43B570_get_color_mult_by_time(); int field_0; int field_4; @@ -47,7 +47,7 @@ __int16 field_C0A; __int16 field_C0C; __int16 field_C0E; - int field_C10; + uint uColorMultiplier; int field_C14; DecalBuilder_stru0 *field_C18; int field_C1C; @@ -92,12 +92,12 @@ bool AddBloodsplat(float x, float y, float z, float r, float g, float b, float radius, int a8, int a9); void Reset(unsigned int bPreserveBloodsplats); char ApplyDecals(int a2, char a3, struct stru154 *a4, int a5, struct RenderVertexSoft *a6, int a7, char a8, int a9); - char _49B790_build_decal_geometry(int a2, char a3, int a4, int a5, int a6, int a7, struct RenderVertexSoft *a8, struct stru314 *a9, signed int a10, struct RenderVertexSoft *a11, char uClipFlags); + char _49B790_build_decal_geometry(int a2, char a3, int a4, int a5, int a6, unsigned int uColorMultiplier, struct RenderVertexSoft *a8, struct stru314 *a9, signed int a10, struct RenderVertexSoft *a11, char uClipFlags); char ApplyBloodsplatDecals_IndoorFace(unsigned int uFaceID); char ApplyDecals_OutdoorFace(ODMFace *pFace); bool _49BE8A(struct stru148 *a2, float a3, int a4, struct RenderVertexSoft *a5, unsigned int uStripType, char a7); - void DrawDecal(Decal *pDecal, float a2); - void DrawDecals(float a2); + void DrawDecal(Decal *pDecal, float z_bias); + void DrawDecals(float z_bias); void DrawBloodsplats(); void DrawDecalDebugOutlines();