projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41037fd
)
- fixed align of lives display to handle >10 lives
author
Ingo Ruhnke
<grumbel@gmx.de>
Thu, 29 Apr 2004 00:51:23 +0000
(
00:51
+0000)
committer
Ingo Ruhnke
<grumbel@gmx.de>
Thu, 29 Apr 2004 00:51:23 +0000
(
00:51
+0000)
SVN-Revision: 829
src/gameloop.cpp
patch
|
blob
|
history
src/worldmap.cpp
patch
|
blob
|
history
diff --git
a/src/gameloop.cpp
b/src/gameloop.cpp
index
4e4c622
..
b739d05
100644
(file)
--- a/
src/gameloop.cpp
+++ b/
src/gameloop.cpp
@@
-692,7
+692,7
@@
GameSession::drawstatus()
if (player_status.lives >= 5)
{
sprintf(str, "%dx", player_status.lives);
- gold_text->draw
(str, 585, 20
);
+ gold_text->draw
_align(str, 617, 20, A_RIGHT, A_TOP
);
tux_life->draw(565+(18*3), 20);
}
else
diff --git
a/src/worldmap.cpp
b/src/worldmap.cpp
index
826f226
..
fbe34c9
100644
(file)
--- a/
src/worldmap.cpp
+++ b/
src/worldmap.cpp
@@
-826,7
+826,7
@@
WorldMap::draw_status()
if (player_status.lives >= 5)
{
sprintf(str, "%dx", player_status.lives);
- gold_text->draw
(str, 585, 0
);
+ gold_text->draw
_align(str, 617, 0, A_RIGHT, A_TOP
);
tux_life->draw(565+(18*3), 0);
}
else