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