Update of /cvsroot/super-tux/supertux/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12409
Modified Files:
level.cpp
Log Message:
- fixed/changed gradient tags to match with the one used in the current level files
Index: level.cpp
===================================================================
RCS file: /cvsroot/super-tux/supertux/src/level.cpp,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -d -r1.48 -r1.49
--- level.cpp 24 Apr 2004 14:49:03 -0000 1.48
+++ level.cpp 25 Apr 2004 12:11:25 -0000 1.49
@@ -313,13 +313,13 @@
if (!reader.read_int("start_pos_y", &start_pos_y)) start_pos_y = 170;
reader.read_int("time", &time_left);
- reader.read_int("bkgd_top_red", &bkgd_top.red);
- reader.read_int("bkgd_top_green", &bkgd_top.green);
- reader.read_int("bkgd_top_blue", &bkgd_top.blue);
+ reader.read_int("bkgd_red_top", &bkgd_top.red);
+ reader.read_int("bkgd_green_top", &bkgd_top.green);
+ reader.read_int("bkgd_blue_top", &bkgd_top.blue);
- reader.read_int("bkgd_bottom_red", &bkgd_bottom.red);
- reader.read_int("bkgd_bottom_green", &bkgd_bottom.green);
- reader.read_int("bkgd_bottom_blue", &bkgd_bottom.blue);
+ reader.read_int("bkgd_red_bottom", &bkgd_bottom.red);
+ reader.read_int("bkgd_green_bottom", &bkgd_bottom.green);
+ reader.read_int("bkgd_blue_bottom", &bkgd_bottom.blue);
reader.read_float("gravity", &gravity);
reader.read_string("name", &name);
@@ -540,12 +540,12 @@
fprintf(fi," (music \"%s\")\n", song_title.c_str());
fprintf(fi," (background \"%s\")\n", bkgd_image.c_str());
fprintf(fi," (particle_system \"%s\")\n", particle_system.c_str());
- fprintf(fi," (bkgd_top_red %d)\n", bkgd_top.red);
- fprintf(fi," (bkgd_top_green %d)\n", bkgd_top.green);
- fprintf(fi," (bkgd_top_blue %d)\n", bkgd_top.blue);
- fprintf(fi," (bkgd_bottom_red %d)\n", bkgd_bottom.red);
- fprintf(fi," (bkgd_bottom_green %d)\n", bkgd_bottom.green);
- fprintf(fi," (bkgd_bottom_blue %d)\n", bkgd_bottom.blue);
+ fprintf(fi," (bkgd_red_top %d)\n", bkgd_top.red);
+ fprintf(fi," (bkgd_green_top %d)\n", bkgd_top.green);
+ fprintf(fi," (bkgd_blue_top %d)\n", bkgd_top.blue);
+ fprintf(fi," (bkgd_red_bottom %d)\n", bkgd_bottom.red);
+ fprintf(fi," (bkgd_green_bottom %d)\n", bkgd_bottom.green);
+ fprintf(fi," (bkgd_blue_bottom %d)\n", bkgd_bottom.blue);
fprintf(fi," (time %d)\n", time_left);
fprintf(fi," (width %d)\n", width);
fprintf(fi," (gravity %2.1f)\n", gravity);
|