Update of /cvsroot/super-tux/supertux/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14326/src
Modified Files:
gameloop.cpp
Log Message:
changed author field on official levels to "SuperTux Team"
author info on official levels is not shown anymore
(i felt level designers were getting too much credit that way)
Index: gameloop.cpp
===================================================================
RCS file: /cvsroot/super-tux/supertux/src/gameloop.cpp,v
retrieving revision 1.196
retrieving revision 1.197
diff -u -d -r1.196 -r1.197
--- gameloop.cpp 23 Nov 2004 02:00:33 -0000 1.196
+++ gameloop.cpp 23 Nov 2004 13:41:23 -0000 1.197
@@ -198,9 +198,10 @@
context.draw_text(white_text, str, Vector(screen->w/2, 210),
CENTER_ALLIGN, LAYER_FOREGROUND1);
- if(level->get_author().size())
+ if((level->get_author().size()) && (level->get_author() != "SuperTux Team"))
+ //TODO make author check case/blank-insensitive
context.draw_text(white_small_text,
- std::string(_("by ")) + level->get_author(),
+ std::string(_("contributed by ")) + level->get_author(),
Vector(screen->w/2, 350), CENTER_ALLIGN, LAYER_FOREGROUND1);
|