projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added level's name when in pause.
[supertux.git]
/
src
/
gameloop.cpp
diff --git
a/src/gameloop.cpp
b/src/gameloop.cpp
index
a91fcf7
..
790b8af
100644
(file)
--- a/
src/gameloop.cpp
+++ b/
src/gameloop.cpp
@@
-746,6
+746,14
@@
GameSession::drawstatus(DrawingContext& context)
Vector(screen->w - white_text->get_text_width(_("LIVES")) - white_text->get_text_width(" 99"), 20),
LAYER_FOREGROUND1);
Vector(screen->w - white_text->get_text_width(_("LIVES")) - white_text->get_text_width(" 99"), 20),
LAYER_FOREGROUND1);
+ if(game_pause)
+ {
+ sprintf(str, _("Playing: %s"), level->name.c_str());
+
+ context.draw_text(white_text, str, Vector(0,20),
+ LAYER_FOREGROUND1);
+ }
+
if(show_fps)
{
sprintf(str, "%2.1f", fps_fps);
if(show_fps)
{
sprintf(str, "%2.1f", fps_fps);