/*
	Asteroids
    Copyright (C) 2006  Darragh Coy.

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/

/*##############################################################################

Header name: Player.hpp

##############################################################################*/

#ifndef PLAYER_HPP
#define PLAYER_HPP

   /****************************************************************************
   Defines
   ****************************************************************************/
   
      #define PLAYER_TURN_SPEED  320.0f   // speed of turning
      #define PLAYER_MOVE_SPEED  1280.0f  // speed of movement 
      #define PLAYER_FRICTION    0.15f    // Slowdown per second
      #define PLAYER_FIRE_DELAY  0.08f    // Minimum time between firing last bullet and next
      #define PLAYER_NAME_LENGHT 15       // Maximum lenght of player name: not including null

   /****************************************************************************
   Includes
   ****************************************************************************/
      
      #include <Windows.h>	  // Windows
      #include <gl/gl.h>      // OpenGL
      #include <stdlib.h>     // memcpy 
      #include <iostream>     // File I/O
      #include "Game.h"       // Game defines etc..
      #include "Saves.h"      // Saving the user data
      #include "Stars.h"      // Stars movement
      #include "GLWin.h"      // Need screen center position
      #include "Vec2D.h"      // Vectors needed to describe ship etc..
      #include "Asteroid.h"   // Asteroid movement      
      
      using namespace std;
   
   /****************************************************************************
   Externs
   ****************************************************************************/   
   
      //..
      
   /****************************************************************************
   Structs and enums
   ****************************************************************************/
      
      //..

   /****************************************************************************
   Prototypes
   ****************************************************************************/   

   void Player_Init      ( struct GameData_t*);         // Initialise player data
   void Player_Move      ( struct GameData_t*);         // Player movement
   void Player_Draw();                                  // Player drawing 
   
   // Name entry for the player  
   
   void Player_EnterName( struct GameData_t * gamedata);                             
    
#endif
