/[enigma]/enigma/src/display.cc
ViewVC logotype

Diff of /enigma/src/display.cc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.23 by dheck, Fri Jun 13 17:02:58 2003 UTC revision 1.24 by dheck, Sat Jun 14 12:13:41 2003 UTC
# Line 1087  DL_Shadows::draw(GC &gc, int xpos, int y Line 1087  DL_Shadows::draw(GC &gc, int xpos, int y
1087              }              }
1088              for (unsigned i=0; i<m_sprites->sprites.size(); ++i) {              for (unsigned i=0; i<m_sprites->sprites.size(); ++i) {
1089                  if (Sprite *sp = m_sprites->sprites[i]) {                  if (Sprite *sp = m_sprites->sprites[i]) {
1090                      int sx = int(sp->pos[0]*32) - x*32;                      if (sp->model) {
1091                      int sy = int(sp->pos[1]*32) - y*32;                          int sx = int(sp->pos[0]*32) - x*32;
1092                      sp->model->draw_shadow(gc2, sx, sy);                          int sy = int(sp->pos[1]*32) - y*32;
1093                            sp->model->draw_shadow(gc2, sx, sy);
1094                        }
1095                  }                  }
1096              }              }
1097              blit(gc, xpos, ypos, buffer);              blit(gc, xpos, ypos, buffer);

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26