/* 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 BuildTrailModel(VModel * m); void BuildCockpitModel(VModel * m); void BuildRocketPowerupModel(VModel * m); void BuildHealthPowerupModel(VModel * m); void BuildWallsModel(VModel * m); void BuildLeftWallModel(VModel * m); void BuildRightWallModel(VModel * m); void BuildBackWallModel(VModel * m); void BuildFrontWallModel(VModel * m);