[ scummvm-Feature Requests-1651696 ] Move special debug flags init to plugin API

SourceForge.net noreply at sourceforge.net
Sun Feb 4 14:13:15 CET 2007


Feature Requests item #1651696, was opened at 2007-02-04 14:13
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418823&aid=1651696&group_id=37116

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Max Horn (fingolfin)
Assigned to: Nobody/Anonymous (nobody)
Summary: Move special debug flags init to plugin API

Initial Comment:
Right now, the special debug flags (see common/util.cpp) are setup in the Engine constructors. 

It would be nice if we changed this by providing a plugin API function whcih returns a list of all special debug flags supported by the engine. This way it would be possible to implement a "--list-debug-flags" CLI command; it would also be possible to preparse/validate the debug flag list. It would be possible to use the debug channels/flags from inside, say, the detection code (before the engine instance has been constructed).
Furthermore, other parts of ScummVM (say, backends or MIDI drivers) could take advantage of the debug flags. 

It shouldn't be hard to implement the basics of this (adding "--list-debug-flags" could be left for later).

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418823&aid=1651696&group_id=37116




More information about the Scummvm-tracker mailing list