Mercurial > mm7
comparison DecalBuilder.cpp @ 638:ccf8b4815a1f
GetActorTintColor fixed
Outdoor sunlight works on terrain & bmodels (not sure about billboards though)
author | Nomad |
---|---|
date | Mon, 11 Mar 2013 21:43:26 +0200 |
parents | d65528fc3bda |
children | 346f7069676a |
comparison
equal
deleted
inserted
replaced
637:d7b14091e434 | 638:ccf8b4815a1f |
---|---|
105 } | 105 } |
106 std__vector_pDecals_size = 0; | 106 std__vector_pDecals_size = 0; |
107 } | 107 } |
108 | 108 |
109 //----- (0049B540) -------------------------------------------------------- | 109 //----- (0049B540) -------------------------------------------------------- |
110 char DecalBuilder::ApplyDecals(int a2, char a3, stru154 *a4, int a5, RenderVertexSoft *a6, IndoorCameraD3D_Vec4 *a7, char a8, unsigned int uSectorID) | 110 char DecalBuilder::ApplyDecals(int light_level, char a3, stru154 *a4, int a5, RenderVertexSoft *a6, IndoorCameraD3D_Vec4 *a7, char a8, unsigned int uSectorID) |
111 { | 111 { |
112 char *v9; // eax@3 | 112 char *v9; // eax@3 |
113 signed int v10; // ecx@3 | 113 signed int v10; // ecx@3 |
114 RenderVertexSoft *v11; // eax@10 | 114 RenderVertexSoft *v11; // eax@10 |
115 unsigned int v12; // edx@10 | 115 unsigned int v12; // edx@10 |
146 DecalBuilder *thisa; // [sp+40h] [bp-8h]@1 | 146 DecalBuilder *thisa; // [sp+40h] [bp-8h]@1 |
147 RenderVertexSoft *a11; // [sp+44h] [bp-4h]@8 | 147 RenderVertexSoft *a11; // [sp+44h] [bp-4h]@8 |
148 | 148 |
149 __debugbreak(); | 149 __debugbreak(); |
150 | 150 |
151 auto a2 = light_level; | |
151 auto a9 = uSectorID; | 152 auto a9 = uSectorID; |
152 | 153 |
153 thisa = this; | 154 thisa = this; |
154 if ( !a5 ) | 155 if ( !a5 ) |
155 return 0; | 156 return 0; |