Morph-SynRJ
view efx_screen0.h @ 0:22de913c2d84
morph-synrj intro
| author | "Cedric Pinson <cedric.pinson@alcove.fr> <mornifle@plopbyte.net>" |
|---|---|
| date | Tue Nov 27 15:23:52 2007 +0100 (2007-11-27) |
| parents | |
| children |
line source
1 #ifndef EFX_SCREEN0_H
2 #define EFX_SCREEN0_H
5 #include "cmn_texture.h"
6 #include "efx_equa.h"
7 #include "efx_harmonics.h"
8 #include "cmn_design.h"
11 #define NO_LOADER
14 class efxScreen0_t
15 {
17 GLuint backgroundTexture2;
18 GLuint backgroundTexture1;
20 cmnDesign_t design;
21 cmnDesignElementFont_t* designElements;
22 // cmnDesignElementTexturedQuad_t* designElements;
25 #ifndef NO_LOADER // no loading
26 float loadingLevel;
27 GLuint textureStart;
28 GLuint textureCurrent;
29 GLuint textureEnd;
31 void DrawLoader();
32 #endif
34 void InitDesign();
35 void MakeSync(float _offset,int _index,const char** text,int _nbChars,float _y,float _scaleX,float _scaleY);
38 public:
40 efxScreen0_t();
42 void Init();
44 void Update();
46 void Draw();
49 #ifndef NO_LOADER // no loading
50 void SetLoadLevel(float _level) {loadingLevel=_level;}
51 float GetLoadLevel() { return loadingLevel;}
52 #endif
54 };
57 #endif
