# add some additional files to package
Package INSTALL NEWS README COPYING AUTHORS ChangeLog ;
+
+actions MakePot
+{
+ xgettext --keyword='_:1' --c++ -o $(<) $(>)
+}
+MakePot supertux.pot : $(TRANSLATABLE_SOURCES) ;
+Depends supertux.pot : $(TRANSLATABLE_SOURCES) ;
+MakeLocate supertux.pot : data/locale ;
+Depends all : supertux.pot ;
SubDir TOP lib ;
-Library supertuxlib :
+sources =
[ Wildcard app : *.cpp *.h ]
[ Wildcard audio : *.cpp *.h ]
[ Wildcard gui : *.cpp *.h ]
[ Wildcard utils : *.cpp *.h ]
[ Wildcard video : *.cpp *.h ]
;
+TRANSLATABLE_SOURCE += [ DoSourceGrist $(sources) ] ;
+
+Library supertuxlib : $(sources) : noinstall ;
ExternalLibs supertuxlib : SDL SDLMIXER SDLIMAGE GL ;
C++Flags supertuxlib : -DDATA_PREFIX='\"$(appdatadir)\"' -DLOCALEDIR='\"$(datadir)/locale\"' : export ;
Help supertuxlib : "Build supertux library" ;
protected:
friend class Sector;
+ friend class CollisionGrid;
/** The bounding box of the object (as used for collision detection, this
* isn't necessarily the bounding box for graphics)
SubDir TOP src ;
-Application supertux :
+sources =
[ Wildcard *.cpp *.h ]
[ Wildcard object : *.cpp *.h ]
[ Wildcard badguy : *.cpp *.h ]
[ Wildcard trigger : *.cpp *.h ]
;
+TRANSLATABLE_SOURCES += [ DoSourceGrist $(sources) ] ;
+
+Application supertux : $(sources) ;
LinkWith supertux : supertuxlib ;
ExternalLibs supertux : SDL SDLMIXER SDLIMAGE GL ;
Help supertux : "Build the supertux executable" ;
}
void
-InvisibleTile::draw(DrawingContext& context)
+InvisibleTile::draw(DrawingContext& )
{
}