X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fresources.h;h=f399af88a85c898331836a8152c1846889c6edc9;hb=6e843b1780f62f45b7021bd8c38181aa211588ee;hp=2519b046f4d902dd6844e56841508e586ebcd280;hpb=d46c78c842ab4090a3f46e560c891234167f124b;p=supertux.git diff --git a/src/resources.h b/src/resources.h index 2519b046f..f399af88a 100644 --- a/src/resources.h +++ b/src/resources.h @@ -93,6 +93,10 @@ extern Font* white_small_text; extern Font* white_big_text; extern Font* yellow_nums; +// maps a virtual resource path to a real path (ie. levels/bla is mapped to +// $DATADIR/levels/bla or $HOME/.supertux/levels/bla) +std::string get_resource_filename(const std::string& resource); + void loadshared(); void unloadshared();