projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed bug in tools/levelconverter-0.1.3_0.2.0.scm that made guile refuse to run it...
[supertux.git]
/
tools
/
levelconverter-0.1.3_0.2.0.scm
diff --git
a/tools/levelconverter-0.1.3_0.2.0.scm
b/tools/levelconverter-0.1.3_0.2.0.scm
index
d62be0e
..
e6cc095
100755
(executable)
--- a/
tools/levelconverter-0.1.3_0.2.0.scm
+++ b/
tools/levelconverter-0.1.3_0.2.0.scm
@@
-1,5
+1,4
@@
-#!/usr/bin/scm
-; !#
+;
;
; $Id$
;
;
; $Id$
;
@@
-25,15
+24,18
@@
;
; The rest of this file may seem like a Long Irritating Series of Parentheses,
;
; The rest of this file may seem like a Long Irritating Series of Parentheses,
-; but it's actually a program. Install a Scheme interpreter, e.g. scm, to run
+; but it's actually a program. Install a Scheme interpreter, e.g. scm, to run
; it.
;
; it.
;
-; This program aids in the conversion of SuperTux levels from 0.1.3 level
+; This program aids in the conversion of SuperTux levels from 0.1.3 level
; format to the one used by SuperTux 0.2.x.
;
; Usage:
; levelconverter-0.1.3_0.2.0.scm < oldformat.stl > newformat.stl
;
; format to the one used by SuperTux 0.2.x.
;
; Usage:
; levelconverter-0.1.3_0.2.0.scm < oldformat.stl > newformat.stl
;
+; Bugs:
+; Some things (like what background image to use) are not converted:
+; they will need manual adjustment afterwards.
; ---------------------------------------------------------------------------
; ---------------------------------------------------------------------------
@@
-148,7
+150,7
@@
)
)
)
)
)
)
-
+
; run conversion on stdin, output to stdout
(write (convert-level (read)))
(newline)
; run conversion on stdin, output to stdout
(write (convert-level (read)))
(newline)