//------------------------------------------------------------------------------ // File: powerup.c // Author: George Bain // Date: May 22, 1997 // Description: Initialize the powerups and control the powerups AI // Copyright (C) 1997 George Bain, All Rights Reserved //------------------------------------------------------------------------------ //------------------------------------------------------------------------------ // I N C L U D E S //------------------------------------------------------------------------------ #include // standard Sony library #include "powerup.h" #include "gfx.h" //------------------------------------------------------------------------------ // Function: DrawPowerUp() // Description: Register power up sprites into the OT // Parameters: none // Returns: void // Notes: N/A //------------------------------------------------------------------------------ void DrawPowerUp( void ) { int count; for( count=0; count (SCREEN_WIDTH+15) || power_up[index].sprite.x < -15 ) power_up[index].state = POWERUP_DEAD; }// end }// end for }// end MovePowerUpLeft //-----------------------------------EOF----------------------------------------