//:Header:1, "_font", 3b940006
//
// File: llgfx_stilemap.h
//
// G A M E.O.N.E - LOW LEVEL LIB V1.0
// Copyright (C) 2001 LEVEL ONE ENTERTAINMENT, 
// Licensed under the terms of LGPL.
//:---------------------------------------------------------------------------
//:Description
//
// Beschreibt einen Zeichensatz - Grafikbuffer 
//
//:-----------------------------------------------------------------------------

#if !defined(LLGFX_STILEMAP_INCLUDED)
#define LLGFX_STILEMAP_INCLUDED


/************************************************************************/
/* TILEMAP FILE                                                         */
/************************************************************************/
/*

	0x00	'M','0'					// 2bytes Kennung
	0x02	
		{
			short,short,short,short;	// x1,y1,x2,y2 position
			
			[name]			// Optional Name des Tiles

			char 0x00;		// \0 fix

			[char 0x00];	// gesetzt damit nächster Struct an wortgrenze liegt
        
		 } * (0-n) // wiederholt sich bis Ende kennung

	0xXXX
		short 0xFFFF;	// Ende Kennung, Minus Werte für position = ungültig


*/


//;------------------[ tilemap file ]---------------------
struct _tilemap
{
	TxU16	magic;
	TxU16	start; 
};



//:Custom
typedef struct _tilemap s_tilemap;
typedef struct _tilemap llgfx_sTILEMAP;
//:End Custom


/************************************************************************/
/* TILE LIST                                                            */
/************************************************************************/
//struct _tilelist_entry
//{
//	llgfx_id	id;		// gfx_id
//	char *		name;	// Name des tiles
//};

//:Custom
//typedef struct _tilelist_entry s_tiles;
//typedef struct _tilelist_entry llgfx_sTILES;
//:End Custom


#endif	// LLGFX_stilemap_INCLUDED