#pragma once #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 typedef struct VWorld { VObject CrossHair; /*VObject Environment; VObject Walls;*/ VObjectWrapper * Objects; int CurrentLevel; VLevel Levels[NUMLEVELS]; VCamera Camera; VPhysics Physics; VConsole Console; VPlayer Player; } VWorld; 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);