Update of /cvsroot/super-tux/supertux/lib/video
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15164/lib/video
Modified Files:
font.cpp
Log Message:
changed worldmap to be stored inside the same directory as the levelsubset, fixed badguys writing out their current position instead of their startposition when saving levelfile
Index: font.cpp
===================================================================
RCS file: /cvsroot/super-tux/supertux/lib/video/font.cpp,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- font.cpp 28 Nov 2004 14:56:48 -0000 1.16
+++ font.cpp 2 Dec 2004 00:25:27 -0000 1.17
@@ -223,6 +223,8 @@
if(!text_lisp->get("text", text))
throw std::runtime_error("file doesn't contain a text field");
+ if(!text_lisp->get("background", background_file))
+ throw std::runtime_error("file doesn't contain a background file");
} catch(std::exception& e) {
std::cerr << "Couldn't load file '" << filename << "': " << e.what() <<
"\n";
|