Main Page   Namespace List   Class Hierarchy   Alphabetical List   Data Structures   File List   Namespace Members   Data Fields   Globals  

ExManagerOutput.h

Go to the documentation of this file.
00001 /************************************************************************/
00002 /* Ex Nihlo Engine by Hermanns Christophe                                                               */
00003 /************************************************************************/
00004 /* This program is free software; you can redistribute it and/or                */
00005 /* modify it under the terms of the GNU General Public License                  */
00006 /* as published by the Free Software Foundation; either version 2               */
00007 /* of the License, or (at your option) any later version.                               */
00008 /*                                                                                                                                              */
00009 /* This program is distributed in the hope that it will be useful,              */
00010 /* but WITHOUT ANY WARRANTY; without even the implied warranty of               */
00011 /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.                                 */
00012 /*                                                                                                                                              */
00013 /* See the GNU General Public License for more details.                                 */
00014 /*                                                                                                                                              */
00015 /* You should have received a copy of the GNU General Public License    */
00016 /* along with this program; if not, write to the Free Software                  */
00017 /* Foundation, Inc., 59 Temple Place - Suite 330,                                               */
00018 /* Boston, MA  02111-1307, USA.                                                                                 */
00019 /*                                                                                                                                              */
00020 /* If you use a important part of this code please send me a mail               */
00021 /* I just want to see where my code go thks :)                                                  */
00022 /************************************************************************/
00023 
00024 /************************************************************************/
00025 /* Contact                                                              */  
00026 /************************************************************************/
00027 /* ExNihilo Website :www.ploksoftware.org                               */
00028 /*                                                                      */
00029 /* Hermanns Christophe ExNihilo creator and main programmer             */
00030 /*                                                                      */
00031 /* Mail             : Data@ploksoftware.org                                                             */
00032 /* ICQ              : 8030901                                                                                   */
00033 /* MSN Messenger    : Data_7@hotmail.com                                                                */
00034 /*                                                                      */
00035 /* Benjamin Michotte Linux port, webmaster                              */
00036 /*                                                                      */
00037 /* Mail             :binny@ploksoftware.org                             */
00038 /*                                                                      */
00039 /************************************************************************/
00040 
00041 /************************************************************************/
00042 /* File Description                                                                                             */
00043 /************************************************************************/
00044 /* File Name   :InputActionList.h                                                                               */
00045 /*                                                                                                                                              */
00046 /* Star Date   :03/15/2002                                                                                              */
00047 /*                                                                                                                                              */
00048 /* Last Update :
00049  * $Id: ExManagerOutput.h,v 1.17 2002/10/15 09:17:14 data Exp $
00050  *
00051  */
00052 
00053 #ifndef __EXMANAGEROUTPUT_H__
00054 #define __EXMANAGEROUTPUT_H__
00055 //--------------------------------
00056 // File to include
00057 //--------------------------------
00058 #include "ExDefine.h"
00059 #include "ExMath.h"
00060 #include "ExNihiloNameSpace.h"
00061 //--------------------------------
00062 #include "ExManager.h"
00063 #include "ExManagerWindow.h"
00064 #include "ExManagerAnimation.h"
00065 #include "ExManagerCollision.h"
00066 #include "ExManagerFog.h"
00067 #include "ExManagerCommand.h"
00068 #include "ExManagerConsole.h"
00069 //--------------------------------
00070 #include "ExManagerMenu.h"
00071 #include "ExManagerInterface.h"
00072 #include "ExManagerSpirit.h"
00073 //--------------------------------
00074 #include "ExManagerMap.h"
00075 #include "ExManagerCamera.h"
00076 #include "ExManagerModele.h"
00077 #include "ExManagerGizmo.h"
00078 #include "ExManagerParticuleSystem.h"
00079 #include "ExManagerLight.h"
00080 #include "ExManagerNetwork.h"
00081 //--------------------------------
00082 class ExManagerOutput  : public ExManager
00083 {
00084 private:
00085 //--------------------------------
00086 // Variable
00087 //--------------------------------
00088         ExManagerCollision                      *ManagerCollision;
00089         ExManagerFog                            *ManagerFog;
00090         ExManagerAnimation                      *ManagerAnim;
00091         ExManagerWindow                         *ManagerWindow;
00092         ExManagerCommand                        *ManagerCommand;
00093         ExManagerConsole                        *ManagerConsole;
00094 
00095         ExManagerInterface                      *ManagerInterface;
00096         ExManagerMenu                           *ManagerMenu;
00097         ExManagerSpirit                         *ManagerSpirit;
00098 
00099         ExManagerMap                            *ManagerMap;
00100         ExManagerCamera                         *ManagerCamera;
00101         ExManagerModel                          *ManagerModel;
00102         ExManagerGizmo                          *ManagerGizmo;
00103         ExManagerParticuleSystem        *ManagerParticuleSystem;
00104         ExManagerLight                          *ManagerLight;
00105         ExManagerNetwork                        *ManagerNetwork;
00106 //--------------------------------
00107 // Singleton creation
00108 //--------------------------------
00109         static bool m_flag; 
00110         static ExManagerOutput *m_instance;
00111         ExManagerOutput(void);
00112         ~ExManagerOutput(void);
00113 //--------------------------------
00114 public:
00115 //--------------------------------
00116 // Methode
00117 //--------------------------------
00118         static ExManagerOutput*  CreateSingleton(void);
00119 
00120         inline void SetManagerCollision(ExManagerCollision *Collision){ManagerCollision = Collision;}
00121         inline void SetManagerFog(ExManagerFog *Fog){ManagerFog = Fog;}
00122         inline void SetManagerAnim(ExManagerAnimation *Anim){ManagerAnim = Anim;}
00123         inline void SetManagerWindow(ExManagerWindow *Window){ManagerWindow = Window;}
00124         inline void SetManagerCommand(ExManagerCommand *Command){ManagerCommand = Command;}
00125         inline void SetManagerConsole(ExManagerConsole * Console){ManagerConsole=Console;}
00126         inline void SetManagerMenu(ExManagerMenu * Menu){ManagerMenu=Menu;}
00127         inline void SetManagerInterface(ExManagerInterface * Interface){ManagerInterface=Interface;}
00128         inline void SetManagerSpirit(ExManagerSpirit * Spirit){ManagerSpirit=Spirit;}
00129         inline void SetManagerMap(ExManagerMap *Map){ManagerMap = Map;}
00130         inline void SetManagerCamera(ExManagerCamera *Cam){ManagerCamera = Cam;}
00131         inline void SetManagerModel(ExManagerModel *Model){ManagerModel = Model;}
00132         inline void SetManagerGizmo(ExManagerGizmo *Gizmo){ManagerGizmo = Gizmo;}
00133         inline void SetManagerParticuleSystem(ExManagerParticuleSystem *ParticuleSystem){ManagerParticuleSystem = ParticuleSystem;}
00134         inline void SetManagerLight(ExManagerLight *Light){ManagerLight = Light;}
00135         inline void SetManagerNetwork(ExManagerNetwork *Network){ManagerNetwork = Network;}
00136         
00137         void Reset(void);
00138         void Init(void);
00139         void DrawScene(void);
00140         void Reshape(int w,int h);
00141 
00142 //--------------------------------
00143 // Operator
00144 //--------------------------------
00145 //--------------------------------
00146 // friends
00147 //--------------------------------
00148 };
00149 #endif //__EXMANAGEROUTPUT_H__

Generated on Tue Dec 10 18:20:07 2002 for ExNihilo by doxygen1.3-rc1