/[anoncvs]/projects/roguelike/Terrain.h


UCC Code Repository

Diff of /projects/roguelike/Terrain.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7 by banana, Thu Apr 6 15:25:10 2006 UTC revision 1.8 by banana, Fri Apr 7 02:09:07 2006 UTC
# Line 1  Line 1 
1  /*  /*
2   *  Terrain - A part of the world   *  Terrain - the details of a location on the map
  *  
  * Some common ids:  
  * 0: floor  
  * 1: wall  
3   */   */
4    #pragma once
5    
6    //Includes
7  #include "Entity.h"  #include "Entity.h"
8    
9    //This is a hack :/
10  #define kMaxTerrainID 2  #define kMaxTerrainID 2
11    
12    //Class definition
13  class Terrain : public Entity {  class Terrain : public Entity {
14          bool opaque; //False if this terrain can be walked on/seen through          bool opaque; //False if this terrain can be walked on/seen through
15  public:  public:

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

Managed by UCC Webmasters ViewVC Help
Powered by ViewVC 1.1.26