#pragma once #include #include #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 typedef struct VInterface { GLuint SplashTexture; float SplashAlpha; Boolean GameWasWon; float TitleAlpha; float TitleMovement; char * Title; Boolean TitleDone; struct { Boolean Play; Boolean Prefs; Boolean Quit; } TitleOver; Boolean SplashUp; VWindow * w; } VInterface; void InitInterface(VInterface * i, VWindow * w, void * g); void RunInterface(VInterface * i, float interval); void DrawInterface(VInterface * i);