src/glob.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 2007 by                                                 *
00003  *         Pierre-yves JEZEQUEL, Julien MICHOT, Loic MOISAN,               *
00004  *         Julien PAPILLON, Sebastien PINEAUD, Barthelemy SERRES           *
00005  *                                                                         *
00006  *   https://sourceforge.net/projects/anidam                               *
00007  *                                                                         *
00008  *   This program is free software; you can redistribute it and/or modify  *
00009  *   it under the terms of the GNU General Public License as published by  *
00010  *   the Free Software Foundation; either version 2 of the License, or     *
00011  *   (at your option) any later version.                                   *
00012  *                                                                         *
00013  *   This program is distributed in the hope that it will be useful,       *
00014  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00015  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
00016  *   GNU General Public License for more details.                          *
00017  *                                                                         *
00018  *   You should have received a copy of the GNU General Public License     *
00019  *   along with this program; if not, write to the                         *
00020  *   Free Software Foundation, Inc.,                                       *
00021  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
00022  ***************************************************************************/
00023 #ifndef SUPER_FICHIER_GLOBAL_TROP_LAID_MAIS_BON_PAS_TROP_LE_CHOIX_QUAND_MEME
00024 #define SUPER_FICHIER_GLOBAL_TROP_LAID_MAIS_BON_PAS_TROP_LE_CHOIX_QUAND_MEME
00025 
00026 #define MAX_PARTICLE_HZ 400
00027 #define MAX_PARTICLE_CHUTE 800
00028 #define MAX_PARTICLE_NUAG 520
00029 #define MIN_PARTICLE 0
00030 #define DELAY 0.5
00031 #define DUREE_MVT 1332
00032 #define DUREE_ATT_HZCHUTE 100
00033 #define DUREE_ATT_CHUTENUAG 125
00034 #define PAS_MVT_PORTE 0.0003
00035 #define COEF_TURBINE -0.35
00036 #define DUREE_ATT_HZCHUTE_END 100
00037 #define DUREE_ATT_CHUTENUAG_END 150
00038 #define DEBUT_MISE_A_NIVEAU 250
00039 #define FIN_MISE_A_NIVEAU 600
00040 #define HAUTEUR_EMIT 0.2
00041 
00042 typedef enum {CHU,HZ,NUAG};
00043 typedef enum {LEVER,DESCENDRE,ARRETER};
00044 typedef enum {ENBAS,AUMILIEU,ENHAUT};
00045 
00046 extern int mvtPorte;            //0 : monte             1 : descend
00047 extern int posPorte;
00048 extern bool debut_descente_chute;
00049 extern bool debut_descente_nuag;
00050 extern float dist;
00051 extern int cpt_mvt;
00052 
00053 
00054 extern osg::PositionAttitudeTransform * pat_dam;
00055 extern osg::PositionAttitudeTransform * pat1;
00056 extern osg::PositionAttitudeTransform * pat2_2;
00057 extern osg::Quat* quaternion; 
00058 extern osg::Geode * geo2;
00059 
00060 
00061 
00062 #endif

Generated on Tue Jun 5 16:56:48 2007 for Anidam by  doxygen 1.5.1