#define ZACIATOK15 188.8
#define KONIEC15   208.0
#define CFGNAME15  "data\\cfg\\gula.cfg"

#define s1xmin -800
#define s1xmax  800
#define s1ymin -100
#define s1ymax -100
#define s1zmin -100
#define s1zmax  800

#define s2xmin -800
#define s2xmax  800
#define s2ymin -100
#define s2ymax  820
#define s2zmin -100
#define s2zmax -100
#define prsh 0.0


class efekt_15 : public EFEKT
{
public:
   int  go(double t);
   int  init();
   int  load();
   int  free();
   int  update();

   Scene3DS *sce;
   CameraTarget3DS *kam;
   CameraDescent3DS dkam;

   float begin3d;
   float end3d;

   char scene_name[30];   
   char camera_name[30];  
   char object_name[30];  
   float cl_r,cl_g,cl_b;  
   int lgt;               
   int fog;               
   float fg_r,fg_g,fg_b;  
   float fgd;             
   float vis,minvis;             
   float hfov,vfov;
   int render;
   int obrysy;
   float ob_r,ob_g,ob_b;
   int ob_wdt;
   int rays;



   
   int mreza_x;
   int mreza_y;
   int mreza;
   
   struct StenaVx
     {
     float x,y,z,s,t;
     };
   
   StenaVx vtx_stena1[100*100];   
   StenaVx vtx_stena2[100*100];   
   Object3DS* object_gula;
   
   Texture3DS *tien;
   Texture3DS *tehla1;
   Texture3DS *phong;
   
   float new_x,new_y,new_z;
   float move_counter;
   float uhol_counter;
   float uhol;
   float alfa,beta,gama;
   
   DmatrixOrientation<GLmatrix,GLfloat> *dmat;
   
   GLmatrix mat;
};