Removed trailing whitespace from all *.?pp files
[supertux.git] / src / worldmap / level.cpp
index 3b502a7..dd4dbef 100644 (file)
@@ -1,5 +1,5 @@
 //  SuperTux
-//  Copyright (C) 2004 Ingo Ruhnke <grumbel@gmx.de>
+//  Copyright (C) 2004 Ingo Ruhnke <grumbel@gmail.com>
 //  Copyright (C) 2006 Christoph Sommer <christoph.sommer@2006.expires.deltadevelopment.de>
 //
 //  This program is free software: you can redistribute it and/or modify
@@ -32,12 +32,14 @@ namespace worldmap {
 LevelTile::LevelTile(const std::string& basedir, const Reader& lisp) :
   pos(),
   title(),
-  solved(false), 
-  auto_play(false), 
+  solved(false),
+  perfect(false),
+  auto_play(false),
   sprite(),
   statistics(),
+  target_time(),
   extro_script(),
-  basedir(basedir), 
+  basedir(basedir),
   picture_cached(false),
   picture(0)
 {
@@ -76,19 +78,6 @@ LevelTile::update(float )
 {
 }
 
-const Surface*
-LevelTile::get_picture()
-{
-  if (picture_cached) return picture;
-  picture_cached = true;
-  std::string fname = FileSystem::strip_extension(basedir + name)+".jpg";
-  if (!PHYSFS_exists(fname.c_str())) {
-    return 0;
-  }
-  picture = new Surface(fname);
-  return picture;
-}
-
-}
+} // namespace worldmap
 
 /* EOF */