/*
	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/>.
*/

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

Module:   Main.cpp
Purpose:  Application initialistation. User login.

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

#include "GLWin.h"

using namespace std;

/*******************************************************************************
Private module prototypes: Not for outside use!
*******************************************************************************/

   //..

/*******************************************************************************
Variables
*******************************************************************************/

   //..

/*******************************************************************************

Name:       main
Purpose:    application initialisation
Parameters: Handle to program instace, handle to previous instance,
			command line parameters, show command for window
Returns:    error code

*******************************************************************************/

#pragma warning(disable:4100)

int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow )
{

    // Display the program instructions first

    GLWin_Message
    (
       "Welcome to asteroids. Use the arrow keys to move and turn, press space \n"
       "to shoot your gun and use Pause, F6 and F9 respectively to pause, save \n"
       "and load the game.                                                     \n",
       "Asteroids Version 1.02 : Game Instructions"
    );

    // Intialise the OpenGL window

    GLWin_Init();

    // Return 0 for success

    return 0;
}

#pragma warning(default:4100)
