home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CyberMycha 2006 April
/
SGP.iso
/
dema
/
Keepsake-Demo-en-li-v1.0.exe
/
res
/
bin
/
common
/
compat.tcl
next >
Wrap
Text File
|
2005-10-29
|
1KB
|
64 lines
proc getVar { n } {
return [ozGet $n]
}
proc setVar { n v } {
return [ozSet $n $v]
}
proc getSystemVar { n } {
return [ozGet "sys$n"]
}
proc setPlayerPos { x y z } {
return [wizEntitySetPosition Lydia "$x $y $z"]
}
proc playSound { sound x y z loop } {
return [wizSoundPlay $sound $x $y $z $loop]
}
proc loadSound { sound } {
return [wizSoundCreate $sound]
}
proc playMusic {music} {
oz'track::play $::music_track $music -repeat 1
}
proc wizSoundCreate { soundfile } {
}
proc wizSoundPlay { soundfile { x "0" } { y "0" } { z "0" } { loop "false" } } {
}
proc wizSoundStop { soundfile } {
}
proc wizSoundTime { soundfile } {
return 0
}
proc wizSpriteRemoveAll { } {
ozSprite removeAll
}
proc wizqSpriteRemoveAll { } {
chainEvent {
ozSprite removeAll
}
}
proc wizDisplayError { procname } {
set errmsg [ozGetErrorMsg]
if { $errmsg != "No error" } {
ozWarning "$procname has generated an error!\n\n$errmsg"
return 1
}
return 0
}
proc stopMovie {} {}