include/globals.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *            globals.h
00003  *
00004  *  Sun Sep 26 13:38:17 2004
00005  *  Copyright  2004  Joe Venzon
00006  *  joe@venzon.net
00007  ****************************************************************************/
00008 
00009 /*
00010  *  This program is free software; you can redistribute it and/or modify
00011  *  it under the terms of the GNU General Public License as published by
00012  *  the Free Software Foundation; either version 2 of the License, or
00013  *  (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 Library 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00023  */
00024  
00025 //this file contains all of the global modules defined in main.cpp
00026 
00027 //it allows them to be used in other modules without having to explicitly pass
00028 // them.  this means modules can be added or subtracted from projects by simply
00029 // not using them and none of the functions or function calls need to be altered
00030 
00031 //when using other modules in a module, make sure to include the other modules'
00032 // include files as well as this globals.h file
00033 
00034 #ifdef _FONT_H
00035 extern FONT font;
00036 #endif
00037 
00038 #ifdef _UTILITY_H
00039 extern UTILITY utility;
00040 #endif
00041 
00042 #ifdef _CAMERA_H
00043 extern CAMERA cam;
00044 #endif
00045 
00046 #ifdef _BACKDROP_H
00047 extern BACKDROP backdrop;
00048 #endif
00049 
00050 #ifdef _WEATHER_H
00051 extern WEATHER weathersystem;
00052 #endif
00053 
00054 #ifdef _VAMOSWORLD_H
00055 extern VAMOSWORLD world;
00056 #endif
00057 
00058 #ifdef _KEYMAN_H
00059 extern KEYMAN keyman;
00060 #endif
00061 
00062 #ifdef _MESSAGEQ_H
00063 extern MESSAGEQ mq1;
00064 #endif
00065 
00066 /*#ifdef _TERRAIN_H
00067 extern TERRAIN terrain;
00068 #endif*/
00069 
00070 #ifdef _PARTICLE_H
00071 extern PARTICLE particle;
00072 #endif
00073 
00074 #ifdef _SOUND_H
00075 extern SOUNDMANAGER sound;
00076 #endif
00077 
00078 #ifdef _TIMER_H
00079 extern TIMER timer;
00080 #endif
00081 
00082 #ifdef _CONTROLS_H
00083 extern GAMECONTROLS gamecontrols;
00084 #endif
00085 
00086 #ifdef _MENU_H
00087 extern MENU menu;
00088 #endif
00089 
00090 #ifdef _REPLAY_H
00091 extern REPLAY replay;
00092 #endif
00093 
00094 #ifdef _MOUSE_H
00095 extern MOUSE mouse;
00096 #endif
00097 
00098 #ifdef _GAMESTATE_H
00099 extern GAMESTATE state;
00100 #endif
00101 
00102 #ifdef _OBJECTS_H
00103 extern OBJECTS objects;
00104 #endif
00105 
00106 /*#ifdef _TREES_H
00107 extern TREES trees;
00108 #endif*/
00109 
00110 #ifdef _NET_H
00111 extern NET net;
00112 #endif
00113 
00114 #ifdef _MULTIPLAY_H
00115 extern MULTIPLAY multiplay;
00116 #endif
00117 
00118 #ifdef _SETTINGS_H
00119 extern SETTINGS settings;
00120 #endif
00121 
00122 #ifdef _TEXTURES_H
00123 extern TEXTURES textures;
00124 #endif
00125 
00126 #ifdef _CARDINFO_H
00127 extern CARDINFO gfxcard;
00128 #endif

Generated on Thu Oct 19 04:05:47 2006 by  doxygen 1.4.6