#pragma once typedef struct VInterface VInterface; #include "gl.h" #include "glu.h" #include #include #include "WindowManager.h" #include "VectorText.h" #include "Settings.h" #define TITLEMOVE 0.375 #define FADESPEED1 0.00024 #define FADESPEED2 0.0001 #define FADESPEED3 0.00006 struct VInterface { GLuint SplashTexture; GLint SplashDisp; float SplashAlpha; float TitleAlpha; float TitleMovement; char * Title; Boolean TitleDone; struct { Boolean Play; Boolean Prefs; Boolean Quit; } TitleOver; Boolean SplashUp; VWindow * w; }; void InitInterface(VInterface * i, VWindow * w, void * g); void RunInterface(VInterface * i, float interval); void DrawInterface(VInterface * i);