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
|
STORY
|
||||||
Uh oh. Seems like we have a problem, %name%.
|
Uh oh. Seems like we have a problem, %name%.
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
type=trans
|
TYPE trans
|
||||||
|
NEXT introname
|
||||||
|
|
||||||
STORY
|
STORY
|
||||||
This project is primarily a GNU Screen integration demo.
|
This project is primarily a GNU Screen integration demo.
|
||||||
|
|
|
@ -16,8 +16,8 @@ getval="$mypath/getval"
|
||||||
|
|
||||||
getconf()
|
getconf()
|
||||||
{
|
{
|
||||||
grep -m 1 "^$1=" <<< "$cdata" \
|
grep -m 1 "^$1 " <<< "$cdata" \
|
||||||
| cut -d'=' -f2
|
| cut -d' ' -f2-
|
||||||
}
|
}
|
||||||
|
|
||||||
setscene()
|
setscene()
|
||||||
|
@ -51,8 +51,8 @@ cdata=$(
|
||||||
<<< "$scene"
|
<<< "$scene"
|
||||||
)
|
)
|
||||||
|
|
||||||
type="$( getconf type )"
|
type="$( getconf TYPE )"
|
||||||
nextscene="$( getconf next )"
|
nextscene="$( getconf NEXT )"
|
||||||
|
|
||||||
# clear the screen to prepare to render the scene
|
# clear the screen to prepare to render the scene
|
||||||
clear
|
clear
|
||||||
|
|
Loading…
Reference in New Issue