SCI: Made the code for initializing script classes, objects and locals part of the Script class
svn-id: r50398
This commit is contained in:
parent
5f9cc9e8f8
commit
2843feeb9a
3 changed files with 63 additions and 56 deletions
|
@ -140,6 +140,30 @@ public:
|
|||
*/
|
||||
void relocate(reg_t block);
|
||||
|
||||
/**
|
||||
* Initializes the script's local variables
|
||||
* @param segMan A reference to the segment manager
|
||||
*/
|
||||
void initialiseLocals(SegManager *segMan);
|
||||
|
||||
/**
|
||||
* Adds the script's classes to the segment manager's class table
|
||||
* @param segMan A reference to the segment manager
|
||||
*/
|
||||
void initialiseClasses(SegManager *segMan);
|
||||
|
||||
/**
|
||||
* Initializes the script's objects (SCI0)
|
||||
* @param segMan A reference to the segment manager
|
||||
*/
|
||||
void initialiseObjectsSci0(SegManager *segMan);
|
||||
|
||||
/**
|
||||
* Initializes the script's objects (SCI1.1+)
|
||||
* @param segMan A reference to the segment manager
|
||||
*/
|
||||
void initialiseObjectsSci11(SegManager *segMan);
|
||||
|
||||
private:
|
||||
bool relocateLocal(SegmentId segment, int location);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue