[Scummvm-devel] Calling all Beta Testers and Port Maintainers.
Lionel Ulmer
lionel.ulmer at free.fr
Tue Apr 16 11:42:05 CEST 2002
On Tue, Apr 16, 2002 at 08:16:14PM +0200, Marcus Comstedt wrote:
> That's not the problem. The problem is how it's going to find and
> instantiate my subclass. Right now the SDL subclass is kind of
> hardcoded into gameDetector.cpp.
The problem is that there is no way to do an automatic detection of a
graphic driver, not that the class hierarchy / design is done properly.
You will always have to change something in the code somewhere to
differentiate a pure-X from a pure-SDL or a pure-DreamCast build (except if
you do .so magic with dynamically loaded drivers).
This means that _AUTO should be removed and each 'porter' should release a
binary with the _gfx_driver set to its proper value on the build.
Lionel
--
Lionel Ulmer - http://www.bbrox.org/
More information about the Scummvm-devel
mailing list