adonthell-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Adonthell-devel] backend handling


From: Kai Sterker
Subject: [Adonthell-devel] backend handling
Date: Mon, 9 Oct 2006 14:36:56 -0700

Not sure if you have any thoughts on this, Alex ... that's why I'd like to ask:

Do you intend to "create" sdlgl backends for audio, input and main
too? (I guess copying the existing sdl modules should suffice).
Because the way the engine is written at present, it would be easier
if the same backend was used for everything. Like the -b command line
switch or the General/Backend config parameter are implemented to
handle a single backend only.

Or should we change stuff to allow different backends for the
different engine parts? Like sdlgl for gfx, sdlal for audio and plain
sdl for input and main. More tricky perhaps, but makes it easier to
pick what's best for each part ...

If we stick to the first alternative, there's one more thing to think
about: right now, "sdl" is hardcoded as default backend in
adonthell::app::init. Would be nice if we'd figure out the best
available backend at configure/cmake time and supply it as -DBACKEND
or something like that.

If we implement the second, we still might be able to do the same on a
per engine part basis.

Thoughts?

Kai




reply via email to

[Prev in Thread] Current Thread [Next in Thread]