Community

SCI Programming => SCI Syntax Help => Topic started by: Doan Sephim on March 30, 2007, 10:55:56 PM

Title: Text Resources and Heap Space
Post by: Doan Sephim on March 30, 2007, 10:55:56 PM
I have started using text resources in my programming to avoid my scripts becoming unnecessarily large and I understand that the larger the script is, the more heap space it takes up, which can lead to difficulties later. But where do the text resources take up space? Do they take up hunk space, or do they somehow transcend both heap and hunk not taking up either...and if so, where do they take up space??
Title: Re: Text Resources and Heap Space
Post by: Eigen on March 31, 2007, 03:45:40 PM
I presume they are read directly from the resource file and not stored in game's memory as there's no need. The scripts have to be in the memory all the time and 100%, because the game needs to read and interpret any part of code any given time. I could be wrong because I really don't know. I just wanted to sound smart ;)