[Super-tux-commit] supertux/src level.cpp,1.16,1.17
Brought to you by:
wkendrick
From: Ingo R. <gr...@us...> - 2004-03-25 12:13:42
|
Update of /cvsroot/super-tux/supertux/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15768 Modified Files: level.cpp Log Message: bye, bye dn_tm Index: level.cpp =================================================================== RCS file: /cvsroot/super-tux/supertux/src/level.cpp,v retrieving revision 1.16 retrieving revision 1.17 diff -u -d -r1.16 -r1.17 --- level.cpp 25 Mar 2004 11:36:05 -0000 1.16 +++ level.cpp 25 Mar 2004 12:02:46 -0000 1.17 @@ -269,7 +269,6 @@ } vector<int> ia_tm; - vector<int> dn_tm; vector<int> bg_tm; vector<int> fg_tm; @@ -295,7 +294,6 @@ if (!reader.read_int_vector("interactive-tm", &ia_tm)) reader.read_int_vector("tilemap", &ia_tm); - reader.read_int_vector("dynamic-tm", &dn_tm); reader.read_int_vector("foreground-tm", &fg_tm); { @@ -397,18 +395,6 @@ } i = j = 0; - for(vector<int>::iterator it = dn_tm.begin(); it != dn_tm.end(); ++it, ++i) - { - - plevel->dn_tiles[j][i] = (*it); - if(i == plevel->width - 1) - { - i = -1; - ++j; - } - } - - i = j = 0; for(vector<int>::iterator it = bg_tm.begin(); it != bg_tm.end(); ++it, ++i) { |