View Single Post
Old 04-18-2003, 02:08 PM   #1
hibernatus
 
Join Date: Apr 2003
Posts: 11
Question 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
hibernatus is offline   you may: quote & reply,