[Scummvm-devel] Re: Calling all Beta Testers and Port Maintainers.
Ruediger Hanke
tomjoad at muenster.de
Tue Apr 16 12:46:15 CEST 2002
Hi Lionel,
>> The best solution would probably be to factor out the different
>> functionality from gameDetector.cpp into separate files (classes?) so
>> that platform specific GameDetectors can be created.
>
> Well, whatever.... Please code it if you feel so badly about 3 #ifdefs in
> the gameDetetector.cpp file.
>
> My point was just that you will ALWAYS have an #ifdef somewhere in the
> code to choose the default driver, not discussing the soundness of the
> current design (did not really look at it yet).
Maybe a #define constant that selects the default driver in scummsys.h?
Would at least avoid lots of #ifdef's to select the default gfx driver.
RĂ¼diger
--
"...wherever there's somebody fightin' for a place to stand
Or a decent job or a helping hand
Wherever somebody's struggling to be free
Look in their eyes Mom you'll see me."
- Bruce Springsteen, "The Ghost of Tom Joad"
More information about the Scummvm-devel
mailing list