libmoldeo (Moldeo 1.0 Core)  1.0
libmoldeo is the group of objects and functions that executes the basic operations of Moldeo 1.0 Platform.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
moMasterEffect.cpp
Go to the documentation of this file.
1 /*******************************************************************************
2 
3  moMasterEffect.cpp
4 
5  ****************************************************************************
6  * *
7  * This source is free software; you can redistribute it and/or modify *
8  * it under the terms of the GNU General Public License as published by *
9  * the Free Software Foundation; either version 2 of the License, or *
10  * (at your option) any later version. *
11  * *
12  * This code is distributed in the hope that it will be useful, but *
13  * WITHOUT ANY WARRANTY; without even the implied warranty of *
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
15  * General Public License for more details. *
16  * *
17  * A copy of the GNU General Public License is available on the World *
18  * Wide Web at <http://www.gnu.org/copyleft/gpl.html>. You can also *
19  * obtain it by writing to the Free Software Foundation, *
20  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
21  * *
22  ****************************************************************************
23 
24  Copyright(C) 2006 Fabricio Costa
25 
26  Authors:
27  Fabricio Costa
28 
29 
30 *******************************************************************************/
31 
32 #include "moMasterEffect.h"
33 
34 #include "moArray.h"
35 moDefineDynamicArray(moMasterEffectsArray)
36 
38  SetType(MO_OBJECT_MASTEREFFECT);
39  m_pEffectManager = NULL;
40  consolestate = NULL;
41 }
42 
44  m_pEffectManager = NULL;
45  consolestate = NULL;
46 
47 }
48 
49 
51  if (m_pEffectManager==NULL) return false;
52  else return moEffect::PreInit();
53 }
54 
55 void
56 moMasterEffect::Set( moEffectManager *pEffectManager, moConsoleState* cstate ) {
57 
58  m_pEffectManager = pEffectManager;
59  consolestate = cstate;
60 
61 }
62 
virtual MOboolean PreInit()
Estado de la consola.
#define MOboolean
Definition: moTypes.h:385
virtual void Set(moEffectManager *pEffectManager, moConsoleState *cstate)
virtual MOboolean PreInit()
Definition: moEffect.cpp:93
moDefineDynamicArray(moMasterEffectsArray) moMasterEffect
virtual ~moMasterEffect()
moEffectManager * m_pEffectManager
moConsoleState * consolestate
clase base para objetos dibujables
Definition: moEffect.h:82
Objeto dibujable, post-efecto ( últímos efectos en el orden de dibujado )
Definition: moTypes.h:530
Administrador de efectos.