In the SCI studio help I can read:|
void AddToPic(heapPtr viewList)
Draws the views contained in the viewList directly onto the picture as if they were originally part of the picture. They will stay there until the picture is discarded.
But it doesn't tell me how to make viewList.
Any help are welcomed.
|Brian_Provinciano||Have a look in the class system scripts for how the inventory is done, as well as the cast. Heck, all of the lists listed in Main.sc will give you examples: gInv, gSounds, gLocales, gRegions, gCast to name a few.|
Thanks for answering Brian.|
I tried it and i got "indefined symbol pView"
No. That's not what I said.|
There are many other things that use lists, such as the gCast, gInv, etc. Have a look at how they are used in the scripts and you will then understand how to use the AddToPics.
I checked it but I still clueless. I'm still not familiar with SCI kernels but I will if I get help.|
Hey! I found addtopic in feature.sc.
I'm wondering if AddToPic has the same command than addtopic in AGI.