LucasForums

LucasForums (http://www.lucasforums.com/index.php)
-   SCUMM (http://www.lucasforums.com/forumdisplay.php?f=363)
-   -   I need some knowledge on SCUMM3 OC blocks (http://www.lucasforums.com/showthread.php?t=97594)

hibernatus 04-18-2003 01:08 PM

I need some knowledge on SCUMM3 OC blocks
 
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.

Code:

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



All times are GMT -4. The time now is 05:35 AM.

Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
LFNetwork, LLC ©2002-2011 - All rights reserved.