mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-08 21:24:34 +00:00
extra fixes for options menu and setting up from device name
This commit is contained in:
parent
d56bf257c7
commit
15a7b8cce0
7 changed files with 183 additions and 44 deletions
|
|
@ -115,6 +115,8 @@ public:
|
|||
static const char* getProviderNameFromType(SFXProviderType type);
|
||||
static SFXProvider* getBestProviderChoice();
|
||||
static SFXProvider* getProvider(U32 index);
|
||||
static SFXProviderType getProviderTypeFromName(const char* name);
|
||||
static SFXProvider* getProviderByTypeAndName(SFXProviderType type, const char* deviceName);
|
||||
|
||||
typedef Signal< void( SFXSystemEventType event ) > EventSignalType;
|
||||
typedef Vector< SFXSource* > SFXSourceVector;
|
||||
|
|
@ -274,10 +276,12 @@ public:
|
|||
|
||||
/// Unregister the given plugin with the system.
|
||||
void removePlugin( SFXSystemPlugin* plugin );
|
||||
|
||||
|
||||
/// @name Device Management
|
||||
/// @{
|
||||
|
||||
bool createDeviceByName(const char* providerName, const char* deviceName);
|
||||
|
||||
/// This initializes a new device.
|
||||
///
|
||||
/// @return Returns true if the device was created.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue