#pragma once #include "Vectors.h" #include "ModelManager.h" #include "Quaternions.h" typedef struct VObject { Vector Position; Vector Front; Vector Right; Vector Up; VModel Model; float Radius; /* Squared */ struct VObject * next; int Durability; int PowerupType; int PowerupAmount; Boolean taggedForRemoval; Boolean Billboard; short MustBeDestroyed; } VObject; void InitObject(VObject * o); void CleanUpObject(VObject * o); void RunObject(VObject * o, void * w); void MoveObjectToPoint(VObject * o, Vector * p); void RotateObject(VObject * o, Vector * r); void DrawObject(VObject * o); void CalculateRadius(VObject * o); void CopyObject(VObject * src, VObject * dest);