Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 27, 2006, 10:15:46 AM (18 years ago)
Author:
patrick
Message:

network: lense flare work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/lib/graphics/graphics_engine.cc

    r6777 r6785  
    594594#endif /* NO_TEXT */
    595595
    596 
    597   }
     596  }
     597
    598598  Render2D::getInstance()->tick(dt);
     599
     600  // tick the graphics effects
     601  list<GraphicsEffect*>::iterator it;
     602  for (it = this->graphicsEffects.begin(); it != this->graphicsEffects.end(); it++)
     603    (*it)->tick(dt);
    599604}
    600605
     
    608613  Render2D::getInstance()->draw(E2D_LAYER_ALL);
    609614  Shader::restoreShader();
     615
     616  //draw the graphics
     617  for (it = this->graphicsEffects.begin(); it != this->graphicsEffects.end(); it++)
     618    (*it)->draw();
    610619}
    611620
Note: See TracChangeset for help on using the changeset viewer.