Add another subsystem group.

Sound subsystem wants to be the last in processing - so use a
separate group.
This commit is contained in:
ThorstenB 2011-11-20 15:50:56 +01:00
parent dad1577fe3
commit 5f804cb0eb

View File

@ -356,6 +356,7 @@ public:
FDM, ///< flight model, autopilot, instruments that run coupled
POST_FDM, ///< certain subsystems depend on FDM data
DISPLAY, ///< view, camera, rendering updates
SOUND/*I want to be last!*/, ///< needs to run AFTER display, to allow concurrent GPU/sound processing
MAX_GROUPS
};
@ -392,7 +393,6 @@ public:
void setReportTimingCb(void* userData,SGSubsystemTimingCb cb) {reportTimingCb = cb;reportTimingUserData = userData;}
private:
SGSubsystemGroup* _groups[MAX_GROUPS];
typedef std::map<std::string, SGSubsystem*> SubsystemDict;