Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 24, 2006, 3:21:13 PM (18 years ago)
Author:
hdavid
Message:

branches/atmospheric_engine: renamed fake-billboard to imageplane and created new billboard

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/atmospheric_engine/src/lib/graphics/effects/lightening_effect.cc

    r7699 r7807  
    1515#include "lightening_effect.h"
    1616
     17#include "state.h"
    1718#include "util/loading/load_param.h"
    1819#include "util/loading/factory.h"
    19 #include "render2D/billboard.h"
     20#include "render2D/image_plane.h"
    2021
    2122#include "glincl.h"
     
    3132 
    3233 
    33   lightening = new Billboard(NULL);
    34   lightening->setTexture("pictures/lense_flare/lens2.png");
     34  lightening = new ImagePlane(NULL);
     35  lightening->setTexture("maps/lightning_bolt.png");
    3536  lightening->setSize(50, 50);
    36   lightening->setAbsCoor2D(0,0);
     37  lightening->setAbsCoor2D(10,10);
    3738  lightening->setVisibility(true);
     39 
    3840 
    3941        this->init();
Note: See TracChangeset for help on using the changeset viewer.