[Super-tux-commit] supertux/src worldmap.cpp,1.20,1.21 worldmap.h,1.10,1.11
Brought to you by:
wkendrick
From: Ingo R. <gr...@us...> - 2004-04-11 02:05:16
|
Update of /cvsroot/super-tux/supertux/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1831 Modified Files: worldmap.cpp worldmap.h Log Message: - fixed worldmap a bit Index: worldmap.cpp =================================================================== RCS file: /cvsroot/super-tux/supertux/src/worldmap.cpp,v retrieving revision 1.20 retrieving revision 1.21 diff -u -d -r1.20 -r1.21 --- worldmap.cpp 10 Apr 2004 20:26:13 -0000 1.20 +++ worldmap.cpp 11 Apr 2004 01:51:42 -0000 1.21 @@ -201,6 +201,8 @@ height = 15; texture_load(&level_sprite, datadir + "/images/worldmap/levelmarker.png", USE_ALPHA); + texture_load(&leveldot_green, datadir + "/images/worldmap/leveldot_green.png", USE_ALPHA); + texture_load(&leveldot_red, datadir + "/images/worldmap/leveldot_red.png", USE_ALPHA); input_direction = NONE; enter_level = false; @@ -456,7 +458,7 @@ for(Levels::iterator i = levels.begin(); i != levels.end(); ++i) { - texture_draw(&level_sprite, i->x*32, i->y*32); + texture_draw(&leveldot_green, i->x*32, i->y*32); } tux->draw(); Index: worldmap.h =================================================================== RCS file: /cvsroot/super-tux/supertux/src/worldmap.h,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- worldmap.h 22 Mar 2004 14:34:05 -0000 1.10 +++ worldmap.h 11 Apr 2004 01:51:42 -0000 1.11 @@ -114,6 +114,9 @@ Tux* tux; texture_type level_sprite; + texture_type leveldot_green; + texture_type leveldot_red; + bool quit; std::string name; |