Rename a variable
authorparasti <parasti@78b8d119-cf0a-0410-b17c-f493084dd1d7>
Sun, 12 Jun 2011 13:54:34 +0000 (13:54 +0000)
committerparasti <parasti@78b8d119-cf0a-0410-b17c-f493084dd1d7>
Sun, 12 Jun 2011 13:54:34 +0000 (13:54 +0000)
git-svn-id: https://s.snth.net/svn/neverball/branches/gles@3596 78b8d119-cf0a-0410-b17c-f493084dd1d7

ball/game_draw.c
putt/game.c
share/solid_draw.c
share/solid_draw.h

index bc9f056..0591524 100644 (file)
@@ -410,7 +410,7 @@ void game_draw(struct game_draw *gd, int pose, float t)
         const struct game_view *view = &gd->view;
         struct s_rend rend;
 
-        gd->draw.shadow = 0;
+        gd->draw.shadow_ui = 0;
 
         sol_draw_enable(&rend);
 
index aef258b..c817742 100644 (file)
@@ -289,7 +289,7 @@ void game_draw(int pose, float t)
     if (!state)
         return;
 
-    fp->shadow = ball;
+    fp->shadow_ui = ball;
 
     sol_draw_enable(&rend);
 
index fff0f64..23b5ccf 100644 (file)
@@ -755,7 +755,7 @@ static void sol_draw_all(const struct s_draw *draw, struct s_rend *rend, int p)
         {
             glPushMatrix();
             {
-                sol_transform(draw->vary, draw->vary->bv + bi, draw->shadow);
+                sol_transform(draw->vary, draw->vary->bv + bi, draw->shadow_ui);
                 sol_draw_body(draw->bv + bi, rend, p);
             }
             glPopMatrix();
index ecc62b8..4a99fdd 100644 (file)
@@ -86,7 +86,7 @@ struct s_draw
     GLuint bill;
 
     int reflective;
-    int shadow;
+    int shadow_ui;
 };
 
 /*---------------------------------------------------------------------------*/