#pragma once #include "ObjectManager.h" #include "Console.h" #define POWERUPTYPENONE 0 #define POWERUPTYPEROCKETS 1 #define POWERUPTYPEHEALTH 2 #define POWERUPROTATESPEED 0.0005 typedef struct VPowerup { VObject Object; int Type; int Amount; Boolean taggedForRemoval; } VPowerup; void InitPowerup(VPowerup * p); void CleanUpPowerup(VPowerup * p); void SetupPowerup(VPowerup * p, int type, int amount); void RunPowerup(VPowerup * p, float interval, void * w); void DrawPowerup(VPowerup * p);