[Super-tux-commit] supertux/contrib levelconverter-0.0.6_0.0.7.py,1.7,1.8
Brought to you by:
wkendrick
From: Ingo R. <gr...@us...> - 2004-03-27 19:48:09
|
Update of /cvsroot/super-tux/supertux/contrib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28539 Modified Files: levelconverter-0.0.6_0.0.7.py Log Message: - added object support (untested) Index: levelconverter-0.0.6_0.0.7.py =================================================================== RCS file: /cvsroot/super-tux/supertux/contrib/levelconverter-0.0.6_0.0.7.py,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- levelconverter-0.0.6_0.0.7.py 27 Mar 2004 19:30:07 -0000 1.7 +++ levelconverter-0.0.6_0.0.7.py 27 Mar 2004 19:36:58 -0000 1.8 @@ -103,11 +103,11 @@ for x in range(0, int(width)): val = content[10 + y][x] if val == '0': - print " (bsod %d %d)" % (x*32, y*32) + print " (bsod (x %d) (y %d))" % (x*32, y*32) elif val == '1': - print " (laptop %d %d)" % (x*32, y*32) + print " (laptop (x %d) (y %d))" % (x*32, y*32) elif val == '2': - print " (money %d %d)" % (x*32, y*32) + print " (money (x %d) (y %d))" % (x*32, y*32) print " )" print ")" |