src/tron/gStuff.h

Go to the documentation of this file.
00001 /*
00002 
00003 *************************************************************************
00004 
00005 ArmageTron -- Just another Tron Lightcycle Game in 3D.
00006 Copyright (C) 2000  Manuel Moos (manuel@moosnet.de)
00007 
00008 **************************************************************************
00009 
00010 This program is free software; you can redistribute it and/or
00011 modify it under the terms of the GNU General Public License
00012 as published by the Free Software Foundation; either version 2
00013 of the License, or (at your option) any later version.
00014 
00015 This program is distributed in the hope that it will be useful,
00016 but WITHOUT ANY WARRANTY; without even the implied warranty of
00017 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00018 GNU General Public License for more details.
00019 
00020 You should have received a copy of the GNU General Public License
00021 along with this program; if not, write to the Free Software
00022 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
00023   
00024 ***************************************************************************
00025 
00026 */
00027 
00028 #ifndef ArmageTron_STUFF_H
00029 #define ArmageTron_STUFF_H
00030 
00031 
00032 #include "rSDL.h"
00033 
00034 #ifdef _MSC_VER
00035 // disable nasty conversion complains of MSVC++
00036 #pragma warning ( disable : 4800 4081 4244 4305 4244)
00037 #endif
00038 
00039 #include "tMemManager.h"
00040 #include "defs.h"
00041 #include "tSafePTR.h"
00042 
00043 // #define EPS     1E-16
00044 
00045 #include <math.h>
00046 
00047 #ifndef M_PI
00048 #define M_PI 3.14159
00049 #endif
00050 
00051 
00052 extern bool sr_glOut; // do we have gl-output?
00053 
00054 extern bool su_mouseGrab; // grab the mouse in windowed mode
00055 
00056 extern bool sr_ZTrick;     // Quake-Style z-buffer trick: do
00057 // not delete the screen, just pait the background with depth test
00058 // disabled. Gives 20% speedup.
00059 
00060 //extern bool sr_textOut; // display game text graphically?
00061 
00062 extern bool sg_moviepackInstalled; // do we have the mp on disk?
00063 extern bool sg_moviepackUse;       // do we use it?
00064 
00065 bool sg_MoviePack();
00066 
00067 #ifdef POWERPAK_DEB
00068 extern bool pp_out; // or 2d-output?
00069 extern bool pp_tess_deb;
00070 #endif
00071 
00072 // we are going to define all these classes and want to be free
00073 // to declare pointers to them anytime:
00074 
00075 class ePoint;
00076 class eHalfEdge;
00077 class eFace;
00078 class ePlayer;
00079 class gCycle;
00080 class eWall;
00081 class eGameObject;
00082 class eCamera;
00083 
00084 #endif

Generated on Sat Mar 15 22:56:10 2008 for Armagetron Advanced by  doxygen 1.5.4