/* Functional, but should be replaced with something better. */ #pragma once #include "Vectors.h" #include "gl.h" /* Should maybe use display lists? */ typedef struct VModel { int NumberOfVertices; GLenum PrimitiveType; Vector * Vertices; GLfloat Color[4]; Boolean WireFrame; } VModel; void InitModel(VModel * m); void CleanUpModel(VModel * m); Boolean AllocateVertices(VModel * m, int numberOfVertices); void DrawModel(VModel * m); void BuildCrossHairModel(VModel * m); void BuildBulletModel(VModel * m); void BuildTargetModel(VModel * m); void BuildRocketModel(VModel * m); void BuildEnemyModel(VModel * m); void BuildExplosionModel(VModel * m); void BuildGrassModel(VModel * m); void BuildCockpitModel(VModel * m);