projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
some cleanups memory leak fixes and moving of source files
[supertux.git]
/
src
/
resources.h
diff --git
a/src/resources.h
b/src/resources.h
index
2519b04
..
f399af8
100644
(file)
--- 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;
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();
void loadshared();
void unloadshared();