46
SCI Development Tools / Re: SCI0: Adlib, Yamaha, PC speaker Tandy 1000 music tracks
« on: July 31, 2025, 10:37:51 AM »
Oh, this is me being stupid. MTEST is for SCI1 (and there's a version for SCI1.1 too). It doesn't work with SCI0.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
(if (not (ScriptID 8)) (ScriptID 8)) ; Ensure script is loaded
(if (IsObject (ScriptID 8 1))
In the first line, the if-expression will never be true, because ScriptID always loads the script.(ScriptID 8)
(method (newRoom)
(myScript1 dispose:)
(myScript2 dispose:)
(super newRoom: &rest)
)
or maybe even:(method (newRoom)
((myActor1 script:) dispose:)
((myActor2 script:) dispose:)
(super newRoom: &rest)
)
(DisposeScript riseUpLeft)
(DisposeScript riseUpRight)
(DisposeScript riseDownLeft)
(DisposeScript peekABoo)
All four lines refer to instances of Script, not script numbers. "There are two things we at Sierra call scripts" explained the guy in that interview. Yes, and it clearly causes misunderstandings sometimes.
Load is a kernel function. The only way you're gonna see that support more than one resource type/num pair is if you add it to the interpreter itself.Some SCI interpreters actually have this. Including the one you've improved.
SMF 2.0.19 |
SMF © 2021, Simple Machines
Simple Audio Video Embedder
Page created in 0.04 seconds with 20 queries.