[Super-tux-commit] supertux/src gameloop.cpp,1.116,1.117 worldmap.cpp,1.64,1.65
Brought to you by:
wkendrick
From: Ingo R. <gr...@us...> - 2004-04-29 00:51:33
|
Update of /cvsroot/super-tux/supertux/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31816 Modified Files: gameloop.cpp worldmap.cpp Log Message: - fixed align of lives display to handle >10 lives Index: worldmap.cpp =================================================================== RCS file: /cvsroot/super-tux/supertux/src/worldmap.cpp,v retrieving revision 1.64 retrieving revision 1.65 diff -u -d -r1.64 -r1.65 --- worldmap.cpp 29 Apr 2004 00:15:11 -0000 1.64 +++ worldmap.cpp 29 Apr 2004 00:51:23 -0000 1.65 @@ -826,7 +826,7 @@ 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 Index: gameloop.cpp =================================================================== RCS file: /cvsroot/super-tux/supertux/src/gameloop.cpp,v retrieving revision 1.116 retrieving revision 1.117 diff -u -d -r1.116 -r1.117 --- gameloop.cpp 29 Apr 2004 00:15:10 -0000 1.116 +++ gameloop.cpp 29 Apr 2004 00:51:21 -0000 1.117 @@ -692,7 +692,7 @@ 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 |