dungeon_crawler

diff prototype/src/tile.cc @ 45:dfd3a413ef9e

particle system 1
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 12 Sep 2012 06:04:20 +0300
parents acfe0c0110fc
children f3030df27110
line diff
     1.1 --- a/prototype/src/tile.cc	Thu Aug 30 06:08:22 2012 +0300
     1.2 +++ b/prototype/src/tile.cc	Wed Sep 12 06:04:20 2012 +0300
     1.3 @@ -34,6 +34,16 @@
     1.4  	}
     1.5  }
     1.6  
     1.7 +const struct psys_attributes **get_unique_psys() const
     1.8 +{
     1.9 +	return &psattr[0];
    1.10 +}
    1.11 +
    1.12 +int get_unique_psys_count() const
    1.13 +{
    1.14 +	return (int)psattr.size();
    1.15 +}
    1.16 +
    1.17  bool Tile::load(const char *fname)
    1.18  {
    1.19  	if(!fname) {