/***********************************************************************
 * MapLoader.h
 *  
 *    Map Loader API
 *
 *
 * Toby Opferman Copyright (c) 2007
 *
 ***********************************************************************/


#ifndef __MAPLOADER_H__
#define __MAPLOADER_H__

typedef struct _MAP_INFO
{
	UINT MapResolutionX;
	UINT MapResolutionY;
	DWORD *MapData;
} MAP_INFO, *PMAP_INFO;


#ifdef __cplusplus
extern "C" {
#endif

BOOL WINAPI MapLoader_LoadMap(PCHAR pszMapFile, PMAP_INFO pMapInfo);
BOOL WINAPI MapLoader_SaveMap(PCHAR pszMapFile, PMAP_INFO pMapInfo);
BOOL WINAPI MapLoader_FreeMap(PMAP_INFO pMapInfo);

#ifdef __cplusplus
}
#endif



#endif

