1
SCI Syntax Help / Re: Script disposal question
« on: August 02, 2026, 03:34:31 AM »
I predict the next question may be "what is a clone?"
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.
dispose: is just a method. There is no magic there; it does what it was written to do.The real magic and the answer to "how come things still mostly work after disposing" is in what the kernel calls do, and I already went through that.
How much of this memory footprint is in heap, and how much is in hunk?I don't think I understand the question. The decompressor is not itself a resource, and once uncompressed for use the resources are as big as always. Right?
Wouldn't you need pathfinding support for "GoToIfSaid" type functionality? I don't think that was added until after SCI0.It seems to use Avoiders.
((Said '[/door]>')
(cond
((TurnIfSaid self event 'look/*'))
((Said 'look[<at]') (Print 12 3) ; "This is the door to hut #2.")
Note that this is hutDoor::handleEvent, so self is the hut door.(GoToIfSaid obj event theTargetOrX theDistanceOrY optSpec)
(TurnIfSaid obj event optSpec)
I believe it's also the reason most actors keep to the first 16 (or 32) colors so they can move between all rooms without issue. The rest of the colors are then used for pics or per room objects.The global palette tends to be 64 colors (0-63, plus 255). Other than that you're basically on the money.
SMF 2.0.19 |
SMF © 2021, Simple Machines
Simple Audio Video Embedder
Page created in 0.06 seconds with 19 queries.