//-----------------------------------------------------------------------------
// File: Profile.h
//
// Desc: Class to read an ini file and store the information in a 
//       global struct for easy access.
//
// Copyright (C) Microsoft Corporation. All Rights Reserved.
//-----------------------------------------------------------------------------
#pragma once


#define MAX_SOURCE_TEXTURES 10
#define MAX_HEIGHT_OF_MAP  1000.0f

enum HEIGHT_CREATE_TYPE { HCT_FromFile=1, HCT_CreateTest };
enum TEXTURE_CREATE_TYPE { TCT_FromFile=1, TCT_CreateTest, TCT_CreateFromHeight, TCT_FromLayers };
enum ENEMY_CREATE_TYPE { ECT_FromFile=1, ECT_CreateTest };
enum ENEMY_MOVEMENT_TYPE { EMT_None=1, EMT_MoveRandom, EMT_MoveTowards };
enum ENEMY_ATTACK_TYPE { EAT_None=1 };


//-----------------------------------------------------------------------------
// Name: 
// Desc: 
//-----------------------------------------------------------------------------
class CProfile
{
public:
    CProfile();
    ~CProfile();

    // Read the ini file
    VOID GetProfile( LPCTSTR szIniName );


	long screenWidth, screenHeight;
	int  fullScreen;
protected:
    TCHAR m_szIniName[MAX_PATH]; 

    float GetFloat( TCHAR* szSection, TCHAR* szName, TCHAR* szDefault );
    long  GetLong( TCHAR* szSection, TCHAR* szName, TCHAR* szDefault );
    void  GetString( TCHAR* szValue, TCHAR* szSection, TCHAR* szName, TCHAR* szDefault );
    DWORD GetHex( TCHAR* szSection, TCHAR* szName, TCHAR* szDefault );

public:

};

