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
moEffectTemplate.h
Go to the documentation of this file.
1 /*******************************************************************************
2 
3  moEffectTemplate.h
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 // Clase modelo de efecto //
32 
33 #ifndef __MO_EFFECT_TEMPLATE_H__
34 #define __MO_EFFECT_TEMPLATE_H__
35 
36 #include "moEffect.h"
37 
38 #ifndef MO_RED
39 #define MO_RED 0
40 #define MO_GREEN 1
41 #define MO_BLUE 2
42 #define MO_ALPHA 3
43 #endif
44 
46 {
47 public:
49  MOint transx, transy, transz;
50  MOint rotatx, rotaty, rotatz;
51  MOint scalex, scaley, scalez;
52 
55 
56  MOboolean Init();
57  void Draw( moTempo*,moEffectState* parentstate=NULL);
58  MOboolean Finish();
59 };
60 
61 #endif
Tempo, beat, ritmo.
Definition: moTempo.h:44
#define MOboolean
Definition: moTypes.h:385
#define LIBMOLDEO_API
Definition: moTypes.h:180
#define MOint
Definition: moTypes.h:388
virtual MOboolean Init()=0
clase base para objetos dibujables
Definition: moEffect.h:82
virtual void Draw(moTempo *, moEffectState *parentstate=NULL)=0
virtual MOboolean Finish()=0