Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages  

Tile.h

Go to the documentation of this file.
00001 
00007 #ifndef _TILE_H_
00008 #define _TILE_H_
00009 
00010 #include "IsoBomb.h"
00011 
00012 class Drawable;
00013 
00017 struct ObjListNode {
00021     Drawable* obj;
00022 
00028     Point scrOffset;
00029 
00034     bool operator >= ( const ObjListNode& rhs ) const {
00035         return ( scrOffset.y >= rhs.scrOffset.y );
00036     }
00037 };
00038 
00042 struct Tile {
00043 
00047     int height;
00048 
00052     LPDIRECT3DTEXTURE8 topTex;
00053 
00057     LPDIRECT3DTEXTURE8 sideTex;
00058 
00062     typedef std::list< ObjListNode > DrawList;
00063 
00067     typedef DrawList::iterator DrawListIter;
00068 
00072     DrawList objs;
00073 };
00074 
00075 #endif

Generated on Tue Mar 4 02:29:25 2003 for SuperIsoBomb by doxygen1.2.18