1 /* 2 3 ************************************************************************* 4 5 ArmageTron -- Just another Tron Lightcycle Game in 3D. 6 Copyright (C) 2000 Manuel Moos (manuel@moosnet.de) 7 8 ************************************************************************** 9 10 This program is free software; you can redistribute it and/or 11 modify it under the terms of the GNU General Public License 12 as published by the Free Software Foundation; either version 2 13 of the License, or (at your option) any later version. 14 15 This program is distributed in the hope that it will be useful, 16 but WITHOUT ANY WARRANTY; without even the implied warranty of 17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 GNU General Public License for more details. 19 20 You should have received a copy of the GNU General Public License 21 along with this program; if not, write to the Free Software 22 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 23 24 *************************************************************************** 25 26 */ 27 28 #ifndef ArmageTron_STUFF_H 29 #define ArmageTron_STUFF_H 30 31 32 #include "rSDL.h" 33 34 #ifdef _MSC_VER 35 // disable nasty conversion complains of MSVC++ 36 #pragma warning ( disable : 4800 4081 4244 4305 4244) 37 #endif 38 39 #include "tMemManager.h" 40 #include "defs.h" 41 #include "tSafePTR.h" 42 43 // #define EPS 1E-16 44 45 #include <math.h> 46 47 #ifndef M_PI 48 #define M_PI 3.14159 49 #endif 50 51 52 extern bool sr_glOut; // do we have gl-output? 53 54 extern bool su_mouseGrab; // grab the mouse in windowed mode 55 56 extern bool sr_ZTrick; // Quake-Style z-buffer trick: do 57 // not delete the screen, just pait the background with depth test 58 // disabled. Gives 20% speedup. 59 60 //extern bool sr_textOut; // display game text graphically? 61 62 extern bool sg_moviepackInstalled; // do we have the mp on disk? 63 extern bool sg_moviepackUse; // do we use it? 64 65 bool sg_MoviePack(); 66 67 #ifdef POWERPAK_DEB 68 extern bool pp_out; // or 2d-output? 69 extern bool pp_tess_deb; 70 #endif 71 72 // we are going to define all these classes and want to be free 73 // to declare pointers to them anytime: 74 75 class ePoint; 76 class eHalfEdge; 77 class eFace; 78 class ePlayer; 79 class gCycle; 80 class eWall; 81 class eGameObject; 82 class eCamera; 83 84 #endif 85