PDA

View Full Version : I need some knowledge on SCUMM3 OC blocks


hibernatus
04-18-2003, 01:08 PM
Hi,
I'd like to understand completely the OC blocks. I haven't tried to use the scummvm sources for that purpose, i think it's easier to just ask :)

So here is what i think i know about OC blocks. I just need you to correct it and complete it (see the "???").
Thanks a lot.


OC: Object script
---
dword Size of the block
word "OC"
word Object number
char[10] ???
char Object name offset
EventInfo[n] + char Events table (NULL-char terminated)
char[m+1] Object name (NULL terminated)
- Code (event handlers)

EventInfo:
----------
char Event number
word Handler offset