Is it really comparable with DirectX (speed and functionality!) ?
Well, I don't think that is as good as DirectX (but I might be wrong), but for an adventure game it has everything anyone needs (in the wme case, it has opengl support instead of directx) + VERY GOOD portability (DirectX is only for win, but opengl is for every OS).
Correct me if I'm wrong but I believe SDL is built on top of DirectX anyway (the Win32 implementation that is).
I can't really say. Maybe if you don't use the opengl acceleration then it uses the directx directdraw (or maybe not
). But it really doesn't matter, because if a program is using the SDL library then it can be built (if it doesn't have some specific-os code ofcourse) in many OSes.
EDIT: from the SDL WINDOWS FAQ page at
http://www.libsdl.org/faq.php?action=listentries&category=4"SDL takes advantage of DirectX hardware acceleration when it is available, but falls back to the standard Win32 services if DirectX is not installed."
Oh... and for anyone that might think that I am whining about wme's direct3D... I am not....
I find this feature VERY exciting...
In fact, it's one of the main reasons that I am using this engine. I just mention SDL for the midi playback...
EDIT: I also forgot to say that the SDL library is under the LGPL opensource licence which meant that any closed-source program can used it if it links to the sdl.dll.