Jump to content
  • 0

Quick Actors Question


mzxrules
 Share

Question

3 answers to this question

Recommended Posts

  • 0

Yupp.... luff dat diggun...

 

I'd say it's within the actor, but then again.... there must be a preset value for each category, or I am mistaken...

 

Would be something like: <Actor File Size> + <variable RAM space extra> = RAM size for that actor

Link to comment
Share on other sites

  • 0

The ovl file is a separate entity from the actor instance (by instance I mean the variables that make up one copy of an actor), and I can already calculate the size of that file in ram using the vram addresses in the actor table.

 

Edit: I figured it out. It's located at offset 0x0E in what the wiki calls the data block. A virtual address within the actor table points to the start of this data block.

  • Like 1
Link to comment
Share on other sites

  • 0

Oh yes, the virtual addresses.... those are mainly for the pointers within the actor file itself, not the external RAM values that get changed. Although they contain the size of the actor file as does the ROM offsets...

 

Anyways, that might be useful for adding more variables to an actor... woo.

 

(I went off-topic... idc)

Link to comment
Share on other sites

 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.