#pragma once typedef struct VWorld VWorld; #include "Vectors.h" #include "Console.h" #include "Quaternions.h" #include "Camera.h" #include "ObjectWrapper.h" #include "PhysicsManager.h" #include "LevelManager.h" #include "glu.h" #define PLAYERSHIPRADIUS 0.4 #define ALPHAFILL 0.017647059 #define NUMLEVELS 1 struct VWorld { VObject CrossHair; VObject Target; VObjectWrapper * Objects; int CurrentLevel; VLevel Level; VLevel Levels[NUMLEVELS]; VCamera Camera; VPhysics Physics; VConsole Console; VPlayer Player; Boolean Finished; }; void InitPlayer(VPlayer * p); void InitWorld(VWorld * world); void AddWeapon(VWorld * world, int Type); void CleanUpWorld(VWorld * world); void DrawCrossHair(VWorld * world); void RunWorld(VWorld * world, float interval); void DrawWorld(VWorld * world, float interval); Boolean InBounds(VWorld * world, Vector * Pos, float Radius); void DamagePlayer(VWorld * world, int amount); void FindTarget(VWorld * w);