projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ff5687
)
- added object support (untested)
author
Ingo Ruhnke
<grumbel@gmx.de>
Sat, 27 Mar 2004 19:36:58 +0000
(19:36 +0000)
committer
Ingo Ruhnke
<grumbel@gmx.de>
Sat, 27 Mar 2004 19:36:58 +0000
(19:36 +0000)
SVN-Revision: 395
contrib/levelconverter-0.0.6_0.0.7.py
patch
|
blob
|
history
diff --git
a/contrib/levelconverter-0.0.6_0.0.7.py
b/contrib/levelconverter-0.0.6_0.0.7.py
index
07c10fd
..
fb7f629
100755
(executable)
--- a/
contrib/levelconverter-0.0.6_0.0.7.py
+++ b/
contrib/levelconverter-0.0.6_0.0.7.py
@@
-103,11
+103,11
@@
for y in range(0, 15):
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 ")"