home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CyberMycha 2006 April
/
SGP.iso
/
dema
/
Keepsake-Demo-en-li-v1.0.exe
/
res
/
auto
/
mill.mvwrap.tcl
< prev
next >
Wrap
Text File
|
2005-10-22
|
58KB
|
2,114 lines
namespace eval barrels {
variable posx
variable posy
variable width
variable height
variable scene
variable camera
variable {lightChandelierBack} 0
set posx(lightChandelierBack) 0.750000
set posy(lightChandelierBack) 0.000000
set width(lightChandelierBack) 0.250000
set height(lightChandelierBack) 0.333333
set scene(lightChandelierBack) mill
set camera(lightChandelierBack) barrels
variable {machineA1} 0
set posx(machineA1) 0.381836
set posy(machineA1) 0.295573
set width(machineA1) 0.191406
set height(machineA1) 0.166667
set scene(machineA1) mill
set camera(machineA1) barrels
variable {machineA2} 0
set posx(machineA2) 0.627930
set posy(machineA2) 0.125000
set width(machineA2) 0.031250
set height(machineA2) 0.080729
set scene(machineA2) mill
set camera(machineA2) barrels
variable {machineA3} 0
set posx(machineA3) 0.407227
set posy(machineA3) 0.052083
set width(machineA3) 0.093750
set height(machineA3) 0.083333
set scene(machineA3) mill
set camera(machineA3) barrels
proc new {object args} {
variable $object
variable posx
variable posy
variable width
variable height
variable scene
variable camera
if {[set $object] != 0} return
set optstring {play foreground nopan {depth 0}}
array set v [cmdline::getopt $args $optstring]
set layer "-background"
if $v(foreground?) {
set layer "-foreground"
}
set pan "-pan"
if $v(nopan?) {
set pan ""
}
set depth $v(depth)
set $object [wq'widget::new "movies/[MOVIE_QUALITY]/$scene($object)/$camera($object)/$object" \
-pos $posx($object) $posy($object) -dsize $width($object) $height($object) \
-depth $depth $layer $pan]
eval "oz'widget::property [set $object] $args"
if $v(play?) {
oz'event {
ozSet mvDisableMouse 0
if [ozIsEnable mouse] {
wizDisableMouse
ozSet mvDisableMouse 1
}
}
wq'widget::waitfor [set $object] -animate
wq'widget::delete [set $object]
oz'event {
if [ozGet mvDisableMouse] {
wizEnableMouse
}
}
set $object 0
}
}
proc newSt {object args} {
variable $object
variable posx
variable posy
variable width
variable height
variable scene
variable camera
if {[set $object] != 0} return
set optstring {play foreground {depth 1}}
array set v [cmdline::getopt $args $optstring]
set layer "-background"
if $v(foreground) {
set layer "-foreground"
}
set depth $v(depth)
set $object [wq'widget::new "states/[MODE]/$scene($object)/$camera($object)/$object" \
-pos $posx($object) $posy($object) -dsize $width($object) $height($object) \
-depth $depth $layer -pan]
eval "oz'widget::property [set $object] $args"
}
}
namespace eval machineStart {
variable posx
variable posy
variable width
variable height
variable scene
variable camera
variable {machineE1} 0
set posx(machineE1) 0.072266
set posy(machineE1) 0.044271
set width(machineE1) 0.093750
set height(machineE1) 0.114583
set scene(machineE1) mill
set camera(machineE1) machineStart
variable {machineE2} 0
set posx(machineE2) 0.112305
set posy(machineE2) 0.277344
set width(machineE2) 0.250000
set height(machineE2) 0.385417
set scene(machineE2) mill
set camera(machineE2) machineStart
proc new {object args} {
variable $object
variable posx
variable posy
variable width
variable height
variable scene
variable camera
if {[set $object] != 0} return
set optstring {play foreground nopan {depth 0}}
array set v [cmdline::getopt $args $optstring]
set layer "-background"
if $v(foreground?) {
set layer "-foreground"
}
set pan "-pan"
if $v(nopan?) {
set pan ""
}
set depth $v(depth)
set $object [wq'widget::new "movies/[MOVIE_QUALITY]/$scene($object)/$camera($object)/$object" \
-pos $posx($object) $posy($object) -dsize $width($object) $height($object) \
-depth $depth $layer $pan]
eval "oz'widget::property [set $object] $args"
if $v(play?) {
oz'event {
ozSet mvDisableMouse 0
if [ozIsEnable mouse] {
wizDisableMouse
ozSet mvDisableMouse 1
}
}
wq'widget::waitfor [set $object] -animate
wq'widget::delete [set $object]
oz'event {
if [ozGet mvDisableMouse] {
wizEnableMouse
}
}
set $object 0
}
}
proc newSt {object args} {
variable $object
variable posx
variable posy
variable width
variable height
variable scene
variable camera
if {[set $object] != 0} return
set optstring {play foreground {depth 1}}
array set v [cmdline::getopt $args $optstring]
set layer "-background"
if $v(foreground) {
set layer "-foreground"
}
set depth $v(depth)
set $object [wq'widget::new "states/[MODE]/$scene($object)/$camera($object)/$object" \
-pos $posx($object) $posy($object) -dsize $width($object) $height($object) \
-depth $depth $layer -pan]
eval "oz'widget::property [set $object] $args"
}
}
namespace eval millEntrance {
variable posx
variable posy
variable width
variable height
variable scene
variable camera
variable {machineB} 0
set posx(machineB) 0.737305
set posy(machineB) 0.020833
set width(machineB) 0.262695
set height(machineB) 0.333333
set scene(machineB) mill
set camera(machineB) millEntrance
proc new {object args} {
variable $object
variable posx
variable posy
variable width
variable height
variable scene
variable camera
if {[set $object] != 0} return
set optstring {play foreground nopan {depth 0}}
array set v [cmdline::getopt $args $optstring]
set layer "-background"
if $v(foreground?) {
set layer "-foreground"
}
set pan "-pan"
if $v(nopan?) {
set pan ""
}
set depth $v(depth)
set $object [wq'widget::new "movies/[MOVIE_QUALITY]/$scene($object)/$camera($object)/$object" \
-pos $posx($object) $posy($object) -dsize $width($object) $height($object) \
-depth $depth $layer $pan]
eval "oz'widget::property [set $object] $args"
if $v(play?) {
oz'event {
ozSet mvDisableMouse 0
if [ozIsEnable mouse] {
wizDisableMouse
ozSet mvDisableMouse 1
}
}
wq'widget::waitfor [set $object] -animate
wq'widget::delete [set $object]
oz'event {
if [ozGet mvDisableMouse] {
wizEnableMouse
}
}
set $object 0
}
}
proc newSt {object args} {
variable $object
variable posx
variable posy
variable width
variable height
variable scene
variable camera
if {[set $object] != 0} return
set optstring {play foreground {depth 1}}
array set v [cmdline::getopt $args $optstring]
set layer "-background"
if $v(foreground) {
set layer "-foreground"
}
set depth $v(depth)
set $object [wq'widget::new "states/[MODE]/$scene($object)/$camera($object)/$object" \
-pos $posx($object) $posy($object) -dsize $width($object) $height($object) \
-depth $depth $layer -pan]
eval "oz'widget::property [set $object] $args"
}
}
namespace eval millFlourSac {
variable posx
variable posy
variable width
variable height
variable scene
variable camera
variable {machineA1} 0
set posx(machineA1) 0.677734
set posy(machineA1) 0.519531
set width(machineA1) 0.093750
set height(machineA1) 0.125000
set scene(machineA1) mill
set camera(machineA1) millFlourSac
variable {machineA2} 0
set posx(machineA2) 0.749023
set posy(machineA2) 0.390625
set width(machineA2) 0.031250
set height(machineA2) 0.065104
set scene(machineA2) mill
set camera(machineA2) millFlourSac
variable {machineA3} 0
set posx(machineA3) 0.611328
set posy(machineA3) 0.341146
set width(machineA3) 0.039062
set height(machineA3) 0.041667
set scene(machineA3) mill
set camera(machineA3) millFlourSac
variable {machineD} 0
set posx(machineD) 0.333008
set posy(machineD) 0.282552
set width(machineD) 0.125000
set height(machineD) 0.166667
set scene(machineD) mill
set camera(machineD) millFlourSac
proc new {object args} {
variable $object
variable posx
variable posy
variable width
variable height
variable scene
variable camera
if {[set $object] != 0} return
set optstring {play foreground nopan {depth 0}}
array set v [cmdline::getopt $args $optstring]
set layer "-background"
if $v(foreground?) {
set layer "-foreground"
}
set pan "-pan"
if $v(nopan?) {
set pan ""
}
set depth $v(depth)
set $object [wq'widget::new "movies/[MOVIE_QUALITY]/$scene($object)/$camera($object)/$object" \
-pos $posx($object) $posy($object) -dsize $width($object) $height($object) \
-depth $depth $layer $pan]
eval "oz'widget::property [set $object] $args"
if $v(play?) {
oz'event {
ozSet mvDisableMouse 0
if [ozIsEnable mouse] {
wizDisableMouse
ozSet mvDisableMouse 1
}
}
wq'widget::waitfor [set $object] -animate
wq'widget::delete [set $object]
oz'event {
if [ozGet mvDisableMouse] {
wizEnableMouse
}
}
set $object 0
}
}
proc newSt {object args} {
variable $object
variable posx
variable posy
variable width
variable height
variable scene
variable camera
if {[set $object] != 0} return
set optstring {play foreground {depth 1}}
array set v [cmdline::getopt $args $optstring]
set layer "-background"
if $v(foreground) {
set layer "-foreground"
}
set depth $v(depth)
set $object [wq'widget::new "states/[MODE]/$scene($object)/$camera($object)/$object" \
-pos $posx($object) $posy($object) -dsize $width($object) $height($object) \
-depth $depth $layer -pan]
eval "oz'widget::property [set $object] $args"
}
}
namespace eval millStairs {
variable posx
variable posy
variable width
variable height
variable scene
variable camera
variable {lightChandelier} 0
set posx(lightChandelier) 0.000000
set posy(lightChandelier) 0.000000
set width(lightChandelier) 0.250000
set height(lightChandelier) 0.255208
set scene(lightChandelier) mill
set camera(lightChandelier) millStairs
variable {machineD} 0
set posx(machineD) 0.501953
set posy(machineD) 0.673177
set width(machineD) 0.125000
set height(machineD) 0.083333
set scene(machineD) mill
set camera(machineD) millStairs
proc new {object args} {
variable $object
variable posx
variable posy
variable width
variable height
variable scene
variable camera
if {[set $object] != 0} return
set optstring {play foreground nopan {depth 0}}
array set v [cmdline::getopt $args $optstring]
set layer "-background"
if $v(foreground?) {
set layer "-foreground"
}
set pan "-pan"
if $v(nopan?) {
set pan ""
}
set depth $v(depth)
set $object [wq'widget::new "movies/[MOVIE_QUALITY]/$scene($object)/$camera($object)/$object" \
-pos $posx($object) $posy($object) -dsize $width($object) $height($object) \
-depth $depth $layer $pan]
eval "oz'widget::property [set $object] $args"
if $v(play?) {
oz'event {
ozSet mvDisableMouse 0
if [ozIsEnable mouse] {
wizDisableMouse
ozSet mvDisableMouse 1
}
}
wq'widget::waitfor [set $object] -animate
wq'widget::delete [set $object]
oz'event {
if [ozGet mvDisableMouse] {
wizEnableMouse
}
}
set $object 0
}
}
proc newSt {object args} {
variable $object
variable posx
variable posy
variable width
variable height
variable scene
variable camera
if {[set $object] != 0} return
set optstring {play foreground {depth 1}}
array set v [cmdline::getopt $args $optstring]
set layer "-background"
if $v(foreground) {
set layer "-foreground"
}
set depth $v(depth)
set $object [wq'widget::new "states/[MODE]/$scene($object)/$camera($object)/$object" \
-pos $posx($object) $posy($object) -dsize $width($object) $height($object) \
-depth $depth $layer -pan]
eval "oz'widget::property [set $object] $args"
}
}
namespace eval puzzleCloseUpA {
variable posx
variable posy
variable width
variable height
variable scene
variable camera
variable {switch,0} 0
set posx(switch,0) 0
set posy(switch,0) 0
set width(switch,0) 1
set height(switch,0) 1
set scene(switch,0) mill
set camera(switch,0) puzzleCloseUpA
variable {switch,0St} 0
set posx(switch,0St) 0
set posy(switch,0St) 0
set width(switch,0St) 1
set height(switch,0St) 1
set scene(switch,0St) mill
set camera(switch,0St) puzzleCloseUpA
variable {switch,1} 0
set posx(switch,1) 0
set posy(switch,1) 0
set width(switch,1) 1
set height(switch,1) 1
set scene(switch,1) mill
set camera(switch,1) puzzleCloseUpA
variable {switch,1St} 0
set posx(switch,1St) 0
set posy(switch,1St) 0
set width(switch,1St) 1
set height(switch,1St) 1
set scene(switch,1St) mill
set camera(switch,1St) puzzleCloseUpA
variable {switch,2} 0
set posx(switch,2) 0
set posy(switch,2) 0
set width(switch,2) 1
set height(switch,2) 1
set scene(switch,2) mill
set camera(switch,2) puzzleCloseUpA
variable {switch,2St} 0
set posx(switch,2St) 0
set posy(switch,2St) 0
set width(switch,2St) 1
set height(switch,2St) 1
set scene(switch,2St) mill
set camera(switch,2St) puzzleCloseUpA
variable {switch,3} 0
set posx(switch,3) 0
set posy(switch,3) 0
set width(switch,3) 1
set height(switch,3) 1
set scene(switch,3) mill
set camera(switch,3) puzzleCloseUpA
variable {switch,3St} 0
set posx(switch,3St) 0
set posy(switch,3St) 0
set width(switch,3St) 1
set height(switch,3St) 1
set scene(switch,3St) mill
set camera(switch,3St) puzzleCloseUpA
proc new {object args} {
variable $object
variable posx
variable posy
variable width
variable height
variable scene
variable camera
if {[set $object] != 0} return
set optstring {play foreground nopan {depth 0}}
array set v [cmdline::getopt $args $optstring]
set layer "-background"
if $v(foreground?) {
set layer "-foreground"
}
set pan "-pan"
if $v(nopan?) {
set pan ""
}
set depth $v(depth)
set $object [wq'widget::new "movies/[MOVIE_QUALITY]/$scene($object)/$camera($object)/$object" \
-pos $posx($object) $posy($object) -dsize $width($object) $height($object) \
-depth $depth $layer $pan]
eval "oz'widget::property [set $object] $args"
if $v(play?) {
oz'event {
ozSet mvDisableMouse 0
if [ozIsEnable mouse] {
wizDisableMouse
ozSet mvDisableMouse 1
}
}
wq'widget::waitfor [set $object] -animate
wq'widget::delete [set $object]
oz'event {
if [ozGet mvDisableMouse] {
wizEnableMouse
}
}
set $object 0
}
}
proc newSt {object args} {
variable $object
variable posx
variable posy
variable width
variable height
variable scene
variable camera
if {[set $object] != 0} return
set optstring {play foreground {depth 1}}
array set v [cmdline::getopt $args $optstring]
set layer "-background"
if $v(foreground) {
set layer "-foreground"
}
set depth $v(depth)
set $object [wq'widget::new "states/[MODE]/$scene($object)/$camera($object)/$object" \
-pos $posx($object) $posy($object) -dsize $width($object) $height($object) \
-depth $depth $layer -pan]
eval "oz'widget::property [set $object] $args"
}
}
namespace eval puzzleCloseUpB {
variable posx
variable posy
variable width
variable height
variable scene
variable camera
variable {switch,0} 0
set posx(switch,0) 0
set posy(switch,0) 0
set width(switch,0) 1
set height(switch,0) 1
set scene(switch,0) mill
set camera(switch,0) puzzleCloseUpB
variable {switch,0St} 0
set posx(switch,0St) 0
set posy(switch,0St) 0
set width(switch,0St) 1
set height(switch,0St) 1
set scene(switch,0St) mill
set camera(switch,0St) puzzleCloseUpB
variable {switch,1} 0
set posx(switch,1) 0
set posy(switch,1) 0
set width(switch,1) 1
set height(switch,1) 1
set scene(switch,1) mill
set camera(switch,1) puzzleCloseUpB
variable {switch,1St} 0
set posx(switch,1St) 0
set posy(switch,1St) 0
set width(switch,1St) 1
set height(switch,1St) 1
set scene(switch,1St) mill
set camera(switch,1St) puzzleCloseUpB
variable {switch,2} 0
set posx(switch,2) 0
set posy(switch,2) 0
set width(switch,2) 1
set height(switch,2) 1
set scene(switch,2) mill
set camera(switch,2) puzzleCloseUpB
variable {switch,2St} 0
set posx(switch,2St) 0
set posy(switch,2St) 0
set width(switch,2St) 1
set height(switch,2St) 1
set scene(switch,2St) mill
set camera(switch,2St) puzzleCloseUpB
variable {switch,3} 0
set posx(switch,3) 0
set posy(switch,3) 0
set width(switch,3) 1
set height(switch,3) 1
set scene(switch,3) mill
set camera(switch,3) puzzleCloseUpB
variable {switch,3St} 0
set posx(switch,3St) 0
set posy(switch,3St) 0
set width(switch,3St) 1
set height(switch,3St) 1
set scene(switch,3St) mill
set camera(switch,3St) puzzleCloseUpB
proc new {object args} {
variable $object
variable posx
variable posy
variable width
variable height
variable scene
variable camera
if {[set $object] != 0} return
set optstring {play foreground nopan {depth 0}}
array set v [cmdline::getopt $args $optstring]
set layer "-background"
if $v(foreground?) {
set layer "-foreground"
}
set pan "-pan"
if $v(nopan?) {
set pan ""
}
set depth $v(depth)
set $object [wq'widget::new "movies/[MOVIE_QUALITY]/$scene($object)/$camera($object)/$object" \
-pos $posx($object) $posy($object) -dsize $width($object) $height($object) \
-depth $depth $layer $pan]
eval "oz'widget::property [set $object] $args"
if $v(play?) {
oz'event {
ozSet mvDisableMouse 0
if [ozIsEnable mouse] {
wizDisableMouse
ozSet mvDisableMouse 1
}
}
wq'widget::waitfor [set $object] -animate
wq'widget::delete [set $object]
oz'event {
if [ozGet mvDisableMouse] {
wizEnableMouse
}
}
set $object 0
}
}
proc newSt {object args} {
variable $object
variable posx
variable posy
variable width
variable height
variable scene
variable camera
if {[set $object] != 0} return
set optstring {play foreground {depth 1}}
array set v [cmdline::getopt $args $optstring]
set layer "-background"
if $v(foreground) {
set layer "-foreground"
}
set depth $v(depth)
set $object [wq'widget::new "states/[MODE]/$scene($object)/$camera($object)/$object" \
-pos $posx($object) $posy($object) -dsize $width($object) $height($object) \
-depth $depth $layer -pan]
eval "oz'widget::property [set $object] $args"
}
}
namespace eval puzzleCloseUpC {
variable posx
variable posy
variable width
variable height
variable scene
variable camera
variable {switch,0} 0
set posx(switch,0) 0
set posy(switch,0) 0
set width(switch,0) 1
set height(switch,0) 1
set scene(switch,0) mill
set camera(switch,0) puzzleCloseUpC
variable {switch,0St} 0
set posx(switch,0St) 0
set posy(switch,0St) 0
set width(switch,0St) 1
set height(switch,0St) 1
set scene(switch,0St) mill
set camera(switch,0St) puzzleCloseUpC
variable {switch,1} 0
set posx(switch,1) 0
set posy(switch,1) 0
set width(switch,1) 1
set height(switch,1) 1
set scene(switch,1) mill
set camera(switch,1) puzzleCloseUpC
variable {switch,1St} 0
set posx(switch,1St) 0
set posy(switch,1St) 0
set width(switch,1St) 1
set height(switch,1St) 1
set scene(switch,1St) mill
set camera(switch,1St) puzzleCloseUpC
variable {switch,2} 0
set posx(switch,2) 0
set posy(switch,2) 0
set width(switch,2) 1
set height(switch,2) 1
set scene(switch,2) mill
set camera(switch,2) puzzleCloseUpC
variable {switch,2St} 0
set posx(switch,2St) 0
set posy(switch,2St) 0
set width(switch,2St) 1
set height(switch,2St) 1
set scene(switch,2St) mill
set camera(switch,2St) puzzleCloseUpC
variable {switch,3} 0
set posx(switch,3) 0
set posy(switch,3) 0
set width(switch,3) 1
set height(switch,3) 1
set scene(switch,3) mill
set camera(switch,3) puzzleCloseUpC
variable {switch,3St} 0
set posx(switch,3St) 0
set posy(switch,3St) 0
set width(switch,3St) 1
set height(switch,3St) 1
set scene(switch,3St) mill
set camera(switch,3St) puzzleCloseUpC
proc new {object args} {
variable $object
variable posx
variable posy
variable width
variable height
variable scene
variable camera
if {[set $object] != 0} return
set optstring {play foreground nopan {depth 0}}
array set v [cmdline::getopt $args $optstring]
set layer "-background"
if $v(foreground?) {
set layer "-foreground"
}
set pan "-pan"
if $v(nopan?) {
set pan ""
}
set depth $v(depth)
set $object [wq'widget::new "movies/[MOVIE_QUALITY]/$scene($object)/$camera($object)/$object" \
-pos $posx($object) $posy($object) -dsize $width($object) $height($object) \
-depth $depth $layer $pan]
eval "oz'widget::property [set $object] $args"
if $v(play?) {
oz'event {
ozSet mvDisableMouse 0
if [ozIsEnable mouse] {
wizDisableMouse
ozSet mvDisableMouse 1
}
}
wq'widget::waitfor [set $object] -animate
wq'widget::delete [set $object]
oz'event {
if [ozGet mvDisableMouse] {
wizEnableMouse
}
}
set $object 0
}
}
proc newSt {object args} {
variable $object
variable posx
variable posy
variable width
variable height
variable scene
variable camera
if {[set $object] != 0} return
set optstring {play foreground {depth 1}}
array set v [cmdline::getopt $args $optstring]
set layer "-background"
if $v(foreground) {
set layer "-foreground"
}
set depth $v(depth)
set $object [wq'widget::new "states/[MODE]/$scene($object)/$camera($object)/$object" \
-pos $posx($object) $posy($object) -dsize $width($object) $height($object) \
-depth $depth $layer -pan]
eval "oz'widget::property [set $object] $args"
}
}
namespace eval puzzleCloseUpD {
variable posx
variable posy
variable width
variable height
variable scene
variable camera
variable {switch,0} 0
set posx(switch,0) 0
set posy(switch,0) 0
set width(switch,0) 1
set height(switch,0) 1
set scene(switch,0) mill
set camera(switch,0) puzzleCloseUpD
variable {switch,0St} 0
set posx(switch,0St) 0
set posy(switch,0St) 0
set width(switch,0St) 1
set height(switch,0St) 1
set scene(switch,0St) mill
set camera(switch,0St) puzzleCloseUpD
variable {switch,1} 0
set posx(switch,1) 0
set posy(switch,1) 0
set width(switch,1) 1
set height(switch,1) 1
set scene(switch,1) mill
set camera(switch,1) puzzleCloseUpD
variable {switch,1St} 0
set posx(switch,1St) 0
set posy(switch,1St) 0
set width(switch,1St) 1
set height(switch,1St) 1
set scene(switch,1St) mill
set camera(switch,1St) puzzleCloseUpD
variable {switch,2} 0
set posx(switch,2) 0
set posy(switch,2) 0
set width(switch,2) 1
set height(switch,2) 1
set scene(switch,2) mill
set camera(switch,2) puzzleCloseUpD
variable {switch,2St} 0
set posx(switch,2St) 0
set posy(switch,2St) 0
set width(switch,2St) 1
set height(switch,2St) 1
set scene(switch,2St) mill
set camera(switch,2St) puzzleCloseUpD
variable {switch,3} 0
set posx(switch,3) 0
set posy(switch,3) 0
set width(switch,3) 1
set height(switch,3) 1
set scene(switch,3) mill
set camera(switch,3) puzzleCloseUpD
variable {switch,3St} 0
set posx(switch,3St) 0
set posy(switch,3St) 0
set width(switch,3St) 1
set height(switch,3St) 1
set scene(switch,3St) mill
set camera(switch,3St) puzzleCloseUpD
proc new {object args} {
variable $object
variable posx
variable posy
variable width
variable height
variable scene
variable camera
if {[set $object] != 0} return
set optstring {play foreground nopan {depth 0}}
array set v [cmdline::getopt $args $optstring]
set layer "-background"
if $v(foreground?) {
set layer "-foreground"
}
set pan "-pan"
if $v(nopan?) {
set pan ""
}
set depth $v(depth)
set $object [wq'widget::new "movies/[MOVIE_QUALITY]/$scene($object)/$camera($object)/$object" \
-pos $posx($object) $posy($object) -dsize $width($object) $height($object) \
-depth $depth $layer $pan]
eval "oz'widget::property [set $object] $args"
if $v(play?) {
oz'event {
ozSet mvDisableMouse 0
if [ozIsEnable mouse] {
wizDisableMouse
ozSet mvDisableMouse 1
}
}
wq'widget::waitfor [set $object] -animate
wq'widget::delete [set $object]
oz'event {
if [ozGet mvDisableMouse] {
wizEnableMouse
}
}
set $object 0
}
}
proc newSt {object args} {
variable $object
variable posx
variable posy
variable width
variable height
variable scene
variable camera
if {[set $object] != 0} return
set optstring {play foreground {depth 1}}
array set v [cmdline::getopt $args $optstring]
set layer "-background"
if $v(foreground) {
set layer "-foreground"
}
set depth $v(depth)
set $object [wq'widget::new "states/[MODE]/$scene($object)/$camera($object)/$object" \
-pos $posx($object) $posy($object) -dsize $width($object) $height($object) \
-depth $depth $layer -pan]
eval "oz'widget::property [set $object] $args"
}
}
namespace eval puzzleCloseUpE {
variable posx
variable posy
variable width
variable height
variable scene
variable camera
variable {switch,0} 0
set posx(switch,0) 0
set posy(switch,0) 0
set width(switch,0) 1
set height(switch,0) 1
set scene(switch,0) mill
set camera(switch,0) puzzleCloseUpE
variable {switch,0St} 0
set posx(switch,0St) 0
set posy(switch,0St) 0
set width(switch,0St) 1
set height(switch,0St) 1
set scene(switch,0St) mill
set camera(switch,0St) puzzleCloseUpE
variable {switch,1} 0
set posx(switch,1) 0
set posy(switch,1) 0
set width(switch,1) 1
set height(switch,1) 1
set scene(switch,1) mill
set camera(switch,1) puzzleCloseUpE
variable {switch,1St} 0
set posx(switch,1St) 0
set posy(switch,1St) 0
set width(switch,1St) 1
set height(switch,1St) 1
set scene(switch,1St) mill
set camera(switch,1St) puzzleCloseUpE
variable {switch,2} 0
set posx(switch,2) 0
set posy(switch,2) 0
set width(switch,2) 1
set height(switch,2) 1
set scene(switch,2) mill
set camera(switch,2) puzzleCloseUpE
variable {switch,2St} 0
set posx(switch,2St) 0
set posy(switch,2St) 0
set width(switch,2St) 1
set height(switch,2St) 1
set scene(switch,2St) mill
set camera(switch,2St) puzzleCloseUpE
variable {switch,3} 0
set posx(switch,3) 0
set posy(switch,3) 0
set width(switch,3) 1
set height(switch,3) 1
set scene(switch,3) mill
set camera(switch,3) puzzleCloseUpE
variable {switch,3St} 0
set posx(switch,3St) 0
set posy(switch,3St) 0
set width(switch,3St) 1
set height(switch,3St) 1
set scene(switch,3St) mill
set camera(switch,3St) puzzleCloseUpE
proc new {object args} {
variable $object
variable posx
variable posy
variable width
variable height
variable scene
variable camera
if {[set $object] != 0} return
set optstring {play foreground nopan {depth 0}}
array set v [cmdline::getopt $args $optstring]
set layer "-background"
if $v(foreground?) {
set layer "-foreground"
}
set pan "-pan"
if $v(nopan?) {
set pan ""
}
set depth $v(depth)
set $object [wq'widget::new "movies/[MOVIE_QUALITY]/$scene($object)/$camera($object)/$object" \
-pos $posx($object) $posy($object) -dsize $width($object) $height($object) \
-depth $depth $layer $pan]
eval "oz'widget::property [set $object] $args"
if $v(play?) {
oz'event {
ozSet mvDisableMouse 0
if [ozIsEnable mouse] {
wizDisableMouse
ozSet mvDisableMouse 1
}
}
wq'widget::waitfor [set $object] -animate
wq'widget::delete [set $object]
oz'event {
if [ozGet mvDisableMouse] {
wizEnableMouse
}
}
set $object 0
}
}
proc newSt {object args} {
variable $object
variable posx
variable posy
variable width
variable height
variable scene
variable camera
if {[set $object] != 0} return
set optstring {play foreground {depth 1}}
array set v [cmdline::getopt $args $optstring]
set layer "-background"
if $v(foreground) {
set layer "-foreground"
}
set depth $v(depth)
set $object [wq'widget::new "states/[MODE]/$scene($object)/$camera($object)/$object" \
-pos $posx($object) $posy($object) -dsize $width($object) $height($object) \
-depth $depth $layer -pan]
eval "oz'widget::property [set $object] $args"
}
}
namespace eval puzzleCloseUpF {
variable posx
variable posy
variable width
variable height
variable scene
variable camera
variable {switch,0} 0
set posx(switch,0) 0
set posy(switch,0) 0
set width(switch,0) 1
set height(switch,0) 1
set scene(switch,0) mill
set camera(switch,0) puzzleCloseUpF
variable {switch,0St} 0
set posx(switch,0St) 0
set posy(switch,0St) 0
set width(switch,0St) 1
set height(switch,0St) 1
set scene(switch,0St) mill
set camera(switch,0St) puzzleCloseUpF
variable {switch,1} 0
set posx(switch,1) 0
set posy(switch,1) 0
set width(switch,1) 1
set height(switch,1) 1
set scene(switch,1) mill
set camera(switch,1) puzzleCloseUpF
variable {switch,1St} 0
set posx(switch,1St) 0
set posy(switch,1St) 0
set width(switch,1St) 1
set height(switch,1St) 1
set scene(switch,1St) mill
set camera(switch,1St) puzzleCloseUpF
variable {switch,2} 0
set posx(switch,2) 0
set posy(switch,2) 0
set width(switch,2) 1
set height(switch,2) 1
set scene(switch,2) mill
set camera(switch,2) puzzleCloseUpF
variable {switch,2St} 0
set posx(switch,2St) 0
set posy(switch,2St) 0
set width(switch,2St) 1
set height(switch,2St) 1
set scene(switch,2St) mill
set camera(switch,2St) puzzleCloseUpF
variable {switch,3} 0
set posx(switch,3) 0
set posy(switch,3) 0
set width(switch,3) 1
set height(switch,3) 1
set scene(switch,3) mill
set camera(switch,3) puzzleCloseUpF
variable {switch,3St} 0
set posx(switch,3St) 0
set posy(switch,3St) 0
set width(switch,3St) 1
set height(switch,3St) 1
set scene(switch,3St) mill
set camera(switch,3St) puzzleCloseUpF
proc new {object args} {
variable $object
variable posx
variable posy
variable width
variable height
variable scene
variable camera
if {[set $object] != 0} return
set optstring {play foreground nopan {depth 0}}
array set v [cmdline::getopt $args $optstring]
set layer "-background"
if $v(foreground?) {
set layer "-foreground"
}
set pan "-pan"
if $v(nopan?) {
set pan ""
}
set depth $v(depth)
set $object [wq'widget::new "movies/[MOVIE_QUALITY]/$scene($object)/$camera($object)/$object" \
-pos $posx($object) $posy($object) -dsize $width($object) $height($object) \
-depth $depth $layer $pan]
eval "oz'widget::property [set $object] $args"
if $v(play?) {
oz'event {
ozSet mvDisableMouse 0
if [ozIsEnable mouse] {
wizDisableMouse
ozSet mvDisableMouse 1
}
}
wq'widget::waitfor [set $object] -animate
wq'widget::delete [set $object]
oz'event {
if [ozGet mvDisableMouse] {
wizEnableMouse
}
}
set $object 0
}
}
proc newSt {object args} {
variable $object
variable posx
variable posy
variable width
variable height
variable scene
variable camera
if {[set $object] != 0} return
set optstring {play foreground {depth 1}}
array set v [cmdline::getopt $args $optstring]
set layer "-background"
if $v(foreground) {
set layer "-foreground"
}
set depth $v(depth)
set $object [wq'widget::new "states/[MODE]/$scene($object)/$camera($object)/$object" \
-pos $posx($object) $posy($object) -dsize $width($object) $height($object) \
-depth $depth $layer -pan]
eval "oz'widget::property [set $object] $args"
}
}
namespace eval puzzleCloseUpG {
variable posx
variable posy
variable width
variable height
variable scene
variable camera
variable {switch,0} 0
set posx(switch,0) 0
set posy(switch,0) 0
set width(switch,0) 1
set height(switch,0) 1
set scene(switch,0) mill
set camera(switch,0) puzzleCloseUpG
variable {switch,0St} 0
set posx(switch,0St) 0
set posy(switch,0St) 0
set width(switch,0St) 1
set height(switch,0St) 1
set scene(switch,0St) mill
set camera(switch,0St) puzzleCloseUpG
variable {switch,1} 0
set posx(switch,1) 0
set posy(switch,1) 0
set width(switch,1) 1
set height(switch,1) 1
set scene(switch,1) mill
set camera(switch,1) puzzleCloseUpG
variable {switch,1St} 0
set posx(switch,1St) 0
set posy(switch,1St) 0
set width(switch,1St) 1
set height(switch,1St) 1
set scene(switch,1St) mill
set camera(switch,1St) puzzleCloseUpG
variable {switch,2} 0
set posx(switch,2) 0
set posy(switch,2) 0
set width(switch,2) 1
set height(switch,2) 1
set scene(switch,2) mill
set camera(switch,2) puzzleCloseUpG
variable {switch,2St} 0
set posx(switch,2St) 0
set posy(switch,2St) 0
set width(switch,2St) 1
set height(switch,2St) 1
set scene(switch,2St) mill
set camera(switch,2St) puzzleCloseUpG
variable {switch,3} 0
set posx(switch,3) 0
set posy(switch,3) 0
set width(switch,3) 1
set height(switch,3) 1
set scene(switch,3) mill
set camera(switch,3) puzzleCloseUpG
variable {switch,3St} 0
set posx(switch,3St) 0
set posy(switch,3St) 0
set width(switch,3St) 1
set height(switch,3St) 1
set scene(switch,3St) mill
set camera(switch,3St) puzzleCloseUpG
proc new {object args} {
variable $object
variable posx
variable posy
variable width
variable height
variable scene
variable camera
if {[set $object] != 0} return
set optstring {play foreground nopan {depth 0}}
array set v [cmdline::getopt $args $optstring]
set layer "-background"
if $v(foreground?) {
set layer "-foreground"
}
set pan "-pan"
if $v(nopan?) {
set pan ""
}
set depth $v(depth)
set $object [wq'widget::new "movies/[MOVIE_QUALITY]/$scene($object)/$camera($object)/$object" \
-pos $posx($object) $posy($object) -dsize $width($object) $height($object) \
-depth $depth $layer $pan]
eval "oz'widget::property [set $object] $args"
if $v(play?) {
oz'event {
ozSet mvDisableMouse 0
if [ozIsEnable mouse] {
wizDisableMouse
ozSet mvDisableMouse 1
}
}
wq'widget::waitfor [set $object] -animate
wq'widget::delete [set $object]
oz'event {
if [ozGet mvDisableMouse] {
wizEnableMouse
}
}
set $object 0
}
}
proc newSt {object args} {
variable $object
variable posx
variable posy
variable width
variable height
variable scene
variable camera
if {[set $object] != 0} return
set optstring {play foreground {depth 1}}
array set v [cmdline::getopt $args $optstring]
set layer "-background"
if $v(foreground) {
set layer "-foreground"
}
set depth $v(depth)
set $object [wq'widget::new "states/[MODE]/$scene($object)/$camera($object)/$object" \
-pos $posx($object) $posy($object) -dsize $width($object) $height($object) \
-depth $depth $layer -pan]
eval "oz'widget::property [set $object] $args"
}
}
namespace eval puzzleCloseUpH {
variable posx
variable posy
variable width
variable height
variable scene
variable camera
variable {switch,0} 0
set posx(switch,0) 0
set posy(switch,0) 0
set width(switch,0) 1
set height(switch,0) 1
set scene(switch,0) mill
set camera(switch,0) puzzleCloseUpH
variable {switch,0St} 0
set posx(switch,0St) 0
set posy(switch,0St) 0
set width(switch,0St) 1
set height(switch,0St) 1
set scene(switch,0St) mill
set camera(switch,0St) puzzleCloseUpH
variable {switch,1} 0
set posx(switch,1) 0
set posy(switch,1) 0
set width(switch,1) 1
set height(switch,1) 1
set scene(switch,1) mill
set camera(switch,1) puzzleCloseUpH
variable {switch,1St} 0
set posx(switch,1St) 0
set posy(switch,1St) 0
set width(switch,1St) 1
set height(switch,1St) 1
set scene(switch,1St) mill
set camera(switch,1St) puzzleCloseUpH
variable {switch,2} 0
set posx(switch,2) 0
set posy(switch,2) 0
set width(switch,2) 1
set height(switch,2) 1
set scene(switch,2) mill
set camera(switch,2) puzzleCloseUpH
variable {switch,2St} 0
set posx(switch,2St) 0
set posy(switch,2St) 0
set width(switch,2St) 1
set height(switch,2St) 1
set scene(switch,2St) mill
set camera(switch,2St) puzzleCloseUpH
variable {switch,3} 0
set posx(switch,3) 0
set posy(switch,3) 0
set width(switch,3) 1
set height(switch,3) 1
set scene(switch,3) mill
set camera(switch,3) puzzleCloseUpH
variable {switch,3St} 0
set posx(switch,3St) 0
set posy(switch,3St) 0
set width(switch,3St) 1
set height(switch,3St) 1
set scene(switch,3St) mill
set camera(switch,3St) puzzleCloseUpH
proc new {object args} {
variable $object
variable posx
variable posy
variable width
variable height
variable scene
variable camera
if {[set $object] != 0} return
set optstring {play foreground nopan {depth 0}}
array set v [cmdline::getopt $args $optstring]
set layer "-background"
if $v(foreground?) {
set layer "-foreground"
}
set pan "-pan"
if $v(nopan?) {
set pan ""
}
set depth $v(depth)
set $object [wq'widget::new "movies/[MOVIE_QUALITY]/$scene($object)/$camera($object)/$object" \
-pos $posx($object) $posy($object) -dsize $width($object) $height($object) \
-depth $depth $layer $pan]
eval "oz'widget::property [set $object] $args"
if $v(play?) {
oz'event {
ozSet mvDisableMouse 0
if [ozIsEnable mouse] {
wizDisableMouse
ozSet mvDisableMouse 1
}
}
wq'widget::waitfor [set $object] -animate
wq'widget::delete [set $object]
oz'event {
if [ozGet mvDisableMouse] {
wizEnableMouse
}
}
set $object 0
}
}
proc newSt {object args} {
variable $object
variable posx
variable posy
variable width
variable height
variable scene
variable camera
if {[set $object] != 0} return
set optstring {play foreground {depth 1}}
array set v [cmdline::getopt $args $optstring]
set layer "-background"
if $v(foreground) {
set layer "-foreground"
}
set depth $v(depth)
set $object [wq'widget::new "states/[MODE]/$scene($object)/$camera($object)/$object" \
-pos $posx($object) $posy($object) -dsize $width($object) $height($object) \
-depth $depth $layer -pan]
eval "oz'widget::property [set $object] $args"
}
}
namespace eval secondFloor {
variable posx
variable posy
variable width
variable height
variable scene
variable camera
variable {lightChandelier} 0
set posx(lightChandelier) 0.094727
set posy(lightChandelier) 0.369792
set width(lightChandelier) 0.171875
set height(lightChandelier) 0.180990
set scene(lightChandelier) mill
set camera(lightChandelier) secondFloor
variable {machineB} 0
set posx(machineB) 0.085938
set posy(machineB) 0.102865
set width(machineB) 0.357422
set height(machineB) 0.427083
set scene(machineB) mill
set camera(machineB) secondFloor
variable {machineC} 0
set posx(machineC) 0.636719
set posy(machineC) 0.157552
set width(machineC) 0.320312
set height(machineC) 0.473958
set scene(machineC) mill
set camera(machineC) secondFloor
variable {machineE} 0
set posx(machineE) 0.368164
set posy(machineE) 0.899740
set width(machineE) 0.044922
set height(machineE) 0.058594
set scene(machineE) mill
set camera(machineE) secondFloor
proc new {object args} {
variable $object
variable posx
variable posy
variable width
variable height
variable scene
variable camera
if {[set $object] != 0} return
set optstring {play foreground nopan {depth 0}}
array set v [cmdline::getopt $args $optstring]
set layer "-background"
if $v(foreground?) {
set layer "-foreground"
}
set pan "-pan"
if $v(nopan?) {
set pan ""
}
set depth $v(depth)
set $object [wq'widget::new "movies/[MOVIE_QUALITY]/$scene($object)/$camera($object)/$object" \
-pos $posx($object) $posy($object) -dsize $width($object) $height($object) \
-depth $depth $layer $pan]
eval "oz'widget::property [set $object] $args"
if $v(play?) {
oz'event {
ozSet mvDisableMouse 0
if [ozIsEnable mouse] {
wizDisableMouse
ozSet mvDisableMouse 1
}
}
wq'widget::waitfor [set $object] -animate
wq'widget::delete [set $object]
oz'event {
if [ozGet mvDisableMouse] {
wizEnableMouse
}
}
set $object 0
}
}
proc newSt {object args} {
variable $object
variable posx
variable posy
variable width
variable height
variable scene
variable camera
if {[set $object] != 0} return
set optstring {play foreground {depth 1}}
array set v [cmdline::getopt $args $optstring]
set layer "-background"
if $v(foreground) {
set layer "-foreground"
}
set depth $v(depth)
set $object [wq'widget::new "states/[MODE]/$scene($object)/$camera($object)/$object" \
-pos $posx($object) $posy($object) -dsize $width($object) $height($object) \
-depth $depth $layer -pan]
eval "oz'widget::property [set $object] $args"
}
}
namespace eval waterway {
variable posx
variable posy
variable width
variable height
variable scene
variable camera
variable {lightChandelierBack} 0
set posx(lightChandelierBack) 0.000000
set posy(lightChandelierBack) 0.251302
set width(lightChandelierBack) 0.185547
set height(lightChandelierBack) 0.489583
set scene(lightChandelierBack) mill
set camera(lightChandelierBack) waterway
proc new {object args} {
variable $object
variable posx
variable posy
variable width
variable height
variable scene
variable camera
if {[set $object] != 0} return
set optstring {play foreground nopan {depth 0}}
array set v [cmdline::getopt $args $optstring]
set layer "-background"
if $v(foreground?) {
set layer "-foreground"
}
set pan "-pan"
if $v(nopan?) {
set pan ""
}
set depth $v(depth)
set $object [wq'widget::new "movies/[MOVIE_QUALITY]/$scene($object)/$camera($object)/$object" \
-pos $posx($object) $posy($object) -dsize $width($object) $height($object) \
-depth $depth $layer $pan]
eval "oz'widget::property [set $object] $args"
if $v(play?) {
oz'event {
ozSet mvDisableMouse 0
if [ozIsEnable mouse] {
wizDisableMouse
ozSet mvDisableMouse 1
}
}
wq'widget::waitfor [set $object] -animate
wq'widget::delete [set $object]
oz'event {
if [ozGet mvDisableMouse] {
wizEnableMouse
}
}
set $object 0
}
}
proc newSt {object args} {
variable $object
variable posx
variable posy
variable width
variable height
variable scene
variable camera
if {[set $object] != 0} return
set optstring {play foreground {depth 1}}
array set v [cmdline::getopt $args $optstring]
set layer "-background"
if $v(foreground) {
set layer "-foreground"
}
set depth $v(depth)
set $object [wq'widget::new "states/[MODE]/$scene($object)/$camera($object)/$object" \
-pos $posx($object) $posy($object) -dsize $width($object) $height($object) \
-depth $depth $layer -pan]
eval "oz'widget::property [set $object] $args"
}
}
namespace eval wheelBarrow {
variable posx
variable posy
variable width
variable height
variable scene
variable camera
variable {lightChandelierBack} 0
set posx(lightChandelierBack) 0.398438
set posy(lightChandelierBack) 0.000000
set width(lightChandelierBack) 0.250000
set height(lightChandelierBack) 0.333333
set scene(lightChandelierBack) mill
set camera(lightChandelierBack) wheelBarrow
variable {machineA1} 0
set posx(machineA1) 0.291016
set posy(machineA1) 0.421875
set width(machineA1) 0.062500
set height(machineA1) 0.136719
set scene(machineA1) mill
set camera(machineA1) wheelBarrow
variable {machineA2} 0
set posx(machineA2) 0.295898
set posy(machineA2) 0.183594
set width(machineA2) 0.031250
set height(machineA2) 0.083333
set scene(machineA2) mill
set camera(machineA2) wheelBarrow
variable {machineA3} 0
set posx(machineA3) 0.181641
set posy(machineA3) 0.161458
set width(machineA3) 0.031250
set height(machineA3) 0.083333
set scene(machineA3) mill
set camera(machineA3) wheelBarrow
proc new {object args} {
variable $object
variable posx
variable posy
variable width
variable height
variable scene
variable camera
if {[set $object] != 0} return
set optstring {play foreground nopan {depth 0}}
array set v [cmdline::getopt $args $optstring]
set layer "-background"
if $v(foreground?) {
set layer "-foreground"
}
set pan "-pan"
if $v(nopan?) {
set pan ""
}
set depth $v(depth)
set $object [wq'widget::new "movies/[MOVIE_QUALITY]/$scene($object)/$camera($object)/$object" \
-pos $posx($object) $posy($object) -dsize $width($object) $height($object) \
-depth $depth $layer $pan]
eval "oz'widget::property [set $object] $args"
if $v(play?) {
oz'event {
ozSet mvDisableMouse 0
if [ozIsEnable mouse] {
wizDisableMouse
ozSet mvDisableMouse 1
}
}
wq'widget::waitfor [set $object] -animate
wq'widget::delete [set $object]
oz'event {
if [ozGet mvDisableMouse] {
wizEnableMouse
}
}
set $object 0
}
}
proc newSt {object args} {
variable $object
variable posx
variable posy
variable width
variable height
variable scene
variable camera
if {[set $object] != 0} return
set optstring {play foreground {depth 1}}
array set v [cmdline::getopt $args $optstring]
set layer "-background"
if $v(foreground) {
set layer "-foreground"
}
set depth $v(depth)
set $object [wq'widget::new "states/[MODE]/$scene($object)/$camera($object)/$object" \
-pos $posx($object) $posy($object) -dsize $width($object) $height($object) \
-depth $depth $layer -pan]
eval "oz'widget::property [set $object] $args"
}
}