goat3dgfx

diff src/psyspp.cc @ 15:7d6b667821cf

wrapped everything in the goatgfx namespace
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 30 Nov 2013 20:52:21 +0200
parents 1873dfd13f2d
children dc5918c62a64
line diff
     1.1 --- a/src/psyspp.cc	Sat Nov 30 15:15:34 2013 +0200
     1.2 +++ b/src/psyspp.cc	Sat Nov 30 20:52:21 2013 +0200
     1.3 @@ -8,6 +8,8 @@
     1.4  #include "texman.h"
     1.5  #include "texgen.h"
     1.6  
     1.7 +using namespace goatgfx;
     1.8 +
     1.9  static void pdraw_start(const psys_emitter *em, void *cls);
    1.10  static void pdraw(const psys_emitter *em, const psys_particle *part, void *cls);
    1.11  static void pdraw_end(const psys_emitter *em, void *cls);
    1.12 @@ -59,7 +61,7 @@
    1.13  bool ParticleSystemAttributes::load(const char *fname)
    1.14  {
    1.15  	psys_texture_loader(psys_load_texture, 0, this);
    1.16 -	return psys_load_attr(psattr, datafile_path(fname).c_str()) != -1;
    1.17 +	return psys_load_attr(psattr, goatgfx::datafile_path(fname).c_str()) != -1;
    1.18  }
    1.19  
    1.20  bool ParticleSystemAttributes::load(FILE *fp)