libmoldeo (Moldeo 1.0 Core)
1.0
libmoldeo es el conjunto de objetos y funciones, que permiten ejecutar las operaciones básicas de la plataforma Moldeo, y que compone su núcleo.
moMasterEffect.cpp
Ir a la documentación de este archivo.
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
37
moMasterEffect::moMasterEffect
() :
moEffect
() {
38
SetType(
MO_OBJECT_MASTEREFFECT
);
39
m_pEffectManager = NULL;
40
consolestate = NULL;
41
}
42
43
moMasterEffect::~moMasterEffect
() {
44
m_pEffectManager
= NULL;
45
consolestate
= NULL;
46
47
}
48
49
50
MOboolean
moMasterEffect::PreInit
() {
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
moMasterEffect::PreInit
virtual MOboolean PreInit()
Definition:
moMasterEffect.cpp:50
moArray.h
moConsoleState
Estado de la consola.
Definition:
moConsoleState.h:54
MOboolean
#define MOboolean
Definition:
moTypes.h:385
moMasterEffect::Set
virtual void Set(moEffectManager *pEffectManager, moConsoleState *cstate)
Definition:
moMasterEffect.cpp:56
moEffect::PreInit
virtual MOboolean PreInit()
Definition:
moEffect.cpp:122
moDefineDynamicArray
moDefineDynamicArray(moMasterEffectsArray) moMasterEffect
Definition:
moMasterEffect.cpp:35
moMasterEffect::~moMasterEffect
virtual ~moMasterEffect()
Definition:
moMasterEffect.cpp:43
moMasterEffect.h
moMasterEffect::m_pEffectManager
moEffectManager * m_pEffectManager
Definition:
moMasterEffect.h:98
moMasterEffect::consolestate
moConsoleState * consolestate
Definition:
moMasterEffect.h:103
moEffect
clase base para objetos dibujables
Definition:
moEffect.h:82
MO_OBJECT_MASTEREFFECT
Objeto dibujable, post-efecto ( últímos efectos en el orden de dibujado )
Definition:
moTypes.h:530
moEffectManager
Administrador de efectos.
Definition:
moEffectManager.h:59
moMasterEffect::moMasterEffect
moMasterEffect()
libmoldeo
moMasterEffect.cpp
Generado el Martes, 10 de Septiembre de 2019 21:28:24 para libmoldeo (Moldeo 1.0 Core) por
1.8.13