Logo Search packages:      
Sourcecode: race version File versions

track_gfx.h

#ifndef race_track_gfx
#define race_track_gfx

class Texture;
class Object3D;

class track_gfx
{
 public:
      track_gfx();

      void init();
      void update_frames();

      CL_Surface *track;

      Texture *dust_road_texture;
      Texture *dust_water_texture;
      
      // road tiles

      CL_Surface *r_full;
      CL_Surface *r_n;
      CL_Surface *r_e;
      CL_Surface *r_w;
      CL_Surface *r_s;
      CL_Surface *r_nw;
      CL_Surface *r_ne;
      CL_Surface *r_sw;
      CL_Surface *r_se;

      // water tiles
      
/*    CL_Surface *w_full;
      CL_Surface *w_n;
      CL_Surface *w_e;
      CL_Surface *w_w;
      CL_Surface *w_s;
      CL_Surface *w_nw;
      CL_Surface *w_ne;
      CL_Surface *w_sw;
      CL_Surface *w_se;
*/
      CL_Surface *bg;
      CL_Surface *water;
      CL_Surface *road;

      CL_Surface *finish;

      Object3D *dust;
};

#endif


Generated by  Doxygen 1.6.0   Back to index