#pragma once typedef struct VModel VModel; #include "Vectors.h" #include "gl.h" #include "Settings.h" struct VModel { int NumberOfVertices; GLenum PrimitiveType; Vector * Vertices; int NumberOfMaskVertices; GLenum MaskPrimitiveType; Vector * MaskVertices; GLfloat Color[4]; Boolean WireFrame; }; void InitModel(VModel * m); void CleanUpModel(VModel * m); Boolean AllocateVertices(VModel * m, int numberOfVertices); Boolean AllocateMaskVertices(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 BuildDirtModel(VModel * m); void BuildTrailModel(VModel * m); void BuildCockpitModel(VModel * m); void BuildRocketPowerupModel(VModel * m); void BuildHealthPowerupModel(VModel * m); void BuildLeftWallModel(VModel * m); void BuildRightWallModel(VModel * m); void BuildBackWallModel(VModel * m); void BuildFrontWallModel(VModel * m); void BuildFloorModel(VModel * m); void BuildCeilingModel(VModel * m); void BuildTargetBoxModel(VModel * m);