[Scummvm-devel] ScummEx - Status & Anyone 'porting' this to MSVC?

Adrien Mercier yosh at yosh.biz
Wed Apr 27 12:10:35 CEST 2005


Phil Lello a écrit :
> Hi All,
>  
> I've just downloaded ScummEx from CVS, and I've found several issues
> with variable initialisation, breaking the image display and palette (if
> not more).
>  
> The problem is that the code relies on the compiler initialising class
> pointers to NULL, whilst the M$ approach is to set pointers to
> 0xCDCDCDCD, which breaks ScummEx in several places.
>  
> I'll start changing my version to initialise pointers in the
> constructors; is anyone else already working on this for CVS check-in?
>  
> On a more general note, is ScummEx being worked on much to keep it in
> sync with new engines added to ScummVM, or to share code?
>  
> Regards,
>  
> Phil
>  

Hi,
Yes I know that ScummEX code is really broken, and I started working on
an improved version a few days ago. I will commit my changes later this
week. There will be several changes :
- it will be possible to open several files at the same time (in tabs)
- blocks will be loaded only when you expand their parent on the tree
- will support wxWidgets 2.6.0
- much cleaner code ;)
What I would like to do is put the description of the Scumm blocks in an
XML file and load it at run time. That way it would be much easier to
add blocks, and we could even generate documentation.. Of course the
problem is that for some blocks we need to do some checks :
if (size == 18) {
	...
} else if (size > 32) {
	...
}
Any ideas on how to handle that are welcome :)

I can only test ScummEX with gcc on Linux and OS X so any fixes for MSVC
compatibility will be appreciated.
As for supporting other engines, well if you're talking about newer
Scumm versions it's possible, but for other games I would like it to
work well with Scumm first :p

Bye,

-- 
Adrien Mercier




More information about the Scummvm-devel mailing list