Altered scene config options to be more consistent with style of rest of file
parent
795f744bbc
commit
69fd051a86
|
@ -1,4 +1,4 @@
|
|||
type=end
|
||||
TYPE end
|
||||
|
||||
STORY
|
||||
Uh oh. Seems like we have a problem, %name%.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
type=trans
|
||||
TYPE trans
|
||||
NEXT introname
|
||||
|
||||
STORY
|
||||
This project is primarily a GNU Screen integration demo.
|
||||
|
|
|
@ -16,8 +16,8 @@ getval="$mypath/getval"
|
|||
|
||||
getconf()
|
||||
{
|
||||
grep -m 1 "^$1=" <<< "$cdata" \
|
||||
| cut -d'=' -f2
|
||||
grep -m 1 "^$1 " <<< "$cdata" \
|
||||
| cut -d' ' -f2-
|
||||
}
|
||||
|
||||
setscene()
|
||||
|
@ -51,8 +51,8 @@ cdata=$(
|
|||
<<< "$scene"
|
||||
)
|
||||
|
||||
type="$( getconf type )"
|
||||
nextscene="$( getconf next )"
|
||||
type="$( getconf TYPE )"
|
||||
nextscene="$( getconf NEXT )"
|
||||
|
||||
# clear the screen to prepare to render the scene
|
||||
clear
|
||||
|
|
Loading…
Reference in New Issue