Update of /cvsroot/super-tux/supertux/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1477
Modified Files:
level.cpp level.h
Log Message:
removed unused function whcih caused compile errors
Index: level.cpp
===================================================================
RCS file: /cvsroot/super-tux/supertux/src/level.cpp,v
retrieving revision 1.103
retrieving revision 1.104
diff -u -d -r1.103 -r1.104
--- level.cpp 24 Sep 2004 15:10:10 -0000 1.103
+++ level.cpp 24 Sep 2004 21:19:25 -0000 1.104
@@ -158,18 +158,6 @@
return i->second;
}
-const std::string&
-Level::get_sector_name(const Sector* sector)
-{
- for(Sectors::iterator i = sectors.begin(); i != sectors.end(); ++i)
- {
- if(i->second == sector)
- return i->first;
- }
- std::cerr << "Warning: Sector not found on level\n";
- return "";
-}
-
Sector*
Level::get_next_sector(const Sector* sector)
{
Index: level.h
===================================================================
RCS file: /cvsroot/super-tux/supertux/src/level.h,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -d -r1.64 -r1.65
--- level.h 24 Sep 2004 15:10:10 -0000 1.64
+++ level.h 24 Sep 2004 21:19:25 -0000 1.65
@@ -64,8 +64,6 @@
Sector* get_next_sector(const Sector* sector);
Sector* get_previous_sector(const Sector* sector);
- const std::string& get_sector_name(const Sector* sector);
-
int get_total_sectors();
int get_total_badguys();
|