diff mm7_5.cpp @ 657:7747161ea5b5

RenderBillboard member rename
author Nomad
date Wed, 13 Mar 2013 01:29:33 +0200
parents 2bf48d11d742
children c10163a6d946
line wrap: on
line diff
--- a/mm7_5.cpp	Tue Mar 12 08:30:17 2013 +0200
+++ b/mm7_5.cpp	Wed Mar 13 01:29:33 2013 +0200
@@ -9276,16 +9276,16 @@
 
 
 //----- (0043F515) --------------------------------------------------------
-void MessWithBillboards_BLV()
+void FindBillboardsLightLevels_BLV()
 {
   for (uint i = 0; i < uNumBillboardsToDraw; ++i)
   {
     auto p = pBillboardRenderList + i;
 
     if (p->field_1E & 2 || uCurrentlyLoadedLevelType == LEVEL_Indoor && !p->uIndoorSectorID)
-      p->uPaletteSubindex = 0;
+      p->dimming_level = 0;
     else
-      p->uPaletteSubindex = _43F55F_get_billboard_light_level(p, -1);
+      p->dimming_level = _43F55F_get_billboard_light_level(p, -1);
   }
 }
 
@@ -9301,7 +9301,7 @@
   else
   {
     if ( uBaseLightLevel == -1 )
-      v3 = a1->uPaletteSubindex;
+      v3 = a1->dimming_level;
     else
       v3 = uBaseLightLevel;
   }