home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 February / Chip_2001-02_cd1.bin / bonus / demos / CS / exp / SOURCES / DEMO / EFEKT_03.H < prev    next >
C/C++ Source or Header  |  2000-08-17  |  919b  |  62 lines

  1. #define ZACIATOK03 16.0
  2. #define KONIEC03   56.0
  3. #define CFGNAME03 "data\\cfg\\tunel1.cfg"
  4.  
  5. #include "tunel.h"
  6.  
  7.  
  8. class efekt_03 : public EFEKT
  9. {
  10. public:
  11.    int  go(double t);
  12.    int  init();
  13.    int  load();
  14.    int  free();
  15.    int  update();
  16.  
  17.   // -> premenne efektu
  18.  
  19.  
  20.   OmniLight3DS* l1;
  21.   OmniLight3DS* l2;
  22.   Material3DS   tunel_material2;
  23.   Material3DS   tunel_material1;
  24.   Lights lgts;
  25.  
  26.   TUNEL obal;
  27.   TUNEL transp;
  28.  
  29.   float cin_r;
  30.   float cin_g;
  31.   float cin_b;
  32.   int inen;
  33.  
  34.   float cout_r;
  35.   float cout_g;
  36.   float cout_b;
  37.   int outen;
  38.  
  39.   float vis;
  40.   float minvis;
  41.  
  42.   CameraTarget3DS ca;
  43.   CameraDescent3DS cam;
  44.  
  45.   Texture3DS *texin;
  46.   Texture3DS *texout;
  47.  
  48.   float time;
  49.   float a1,a2,a3,d1,d2,d3;
  50.  
  51.   float campos;
  52.   int nxt;
  53.   float wav_counter;
  54.   float wav_scale;
  55.   float cam_speed;
  56.   float fade;
  57.   int cnter;
  58.   bool waved;
  59.   bool fadeset;
  60.   // <- 
  61. };
  62.