예제 #1
0
s3eBool s3eWwiseSoundEngineIsInitialized()
{
    IwTrace(WWISE_VERBOSE, ("calling s3eWwise[6] func: s3eWwiseSoundEngineIsInitialized"));

    if (!_extLoad())
        return S3E_FALSE;

#ifdef __mips
    // For MIPs platform we do not have asm code for stack switching
    // implemented. So we make LoaderCallStart call manually to set GlobalLock
    s3eDeviceLoaderCallStart(S3E_TRUE, NULL);
#endif

    s3eBool ret = g_Ext.m_s3eWwiseSoundEngineIsInitialized();

#ifdef __mips
    s3eDeviceLoaderCallDone(S3E_TRUE, NULL);
#endif

    return ret;
}
예제 #2
0
void s3eFlurryLogError(const char* errorName, const char* message)
{
    IwTrace(FLURRY_VERBOSE, ("calling Flurry[7] func: s3eFlurryLogError"));

    if (!_extLoad())
        return;

#ifdef __mips
    // For MIPs platform we do not have asm code for stack switching 
    // implemented. So we make LoaderCallStart call manually to set GlobalLock
    s3eDeviceLoaderCallStart(S3E_TRUE, NULL);
#endif

    g_Ext.m_s3eFlurryLogError(errorName, message);

#ifdef __mips
    s3eDeviceLoaderCallDone(S3E_TRUE, NULL);
#endif

    return;
}
예제 #3
0
void s3eWwiseStreamMgrDestroy(s3eWwiseStreamMgr* streamMgr)
{
    IwTrace(WWISE_VERBOSE, ("calling s3eWwise[4] func: s3eWwiseStreamMgrDestroy"));

    if (!_extLoad())
        return;

#ifdef __mips
    // For MIPs platform we do not have asm code for stack switching
    // implemented. So we make LoaderCallStart call manually to set GlobalLock
    s3eDeviceLoaderCallStart(S3E_TRUE, NULL);
#endif

    g_Ext.m_s3eWwiseStreamMgrDestroy(streamMgr);

#ifdef __mips
    s3eDeviceLoaderCallDone(S3E_TRUE, NULL);
#endif

    return;
}
예제 #4
0
s3eWwiseResult s3eWwiseSoundEngineSetListenerPosition(const s3eWwiseListenerPosition* in_Position, uint32 in_uIndex)
{
    IwTrace(WWISE_VERBOSE, ("calling s3eWwise[17] func: s3eWwiseSoundEngineSetListenerPosition"));

    if (!_extLoad())
        return s3eWwise_NotImplemented;

#ifdef __mips
    // For MIPs platform we do not have asm code for stack switching
    // implemented. So we make LoaderCallStart call manually to set GlobalLock
    s3eDeviceLoaderCallStart(S3E_TRUE, NULL);
#endif

    s3eWwiseResult ret = g_Ext.m_s3eWwiseSoundEngineSetListenerPosition(in_Position, in_uIndex);

#ifdef __mips
    s3eDeviceLoaderCallDone(S3E_TRUE, NULL);
#endif

    return ret;
}
예제 #5
0
s3eWwiseResult s3eWwiseSoundEnginePostTriggerWithID(s3eWwiseTriggerID in_triggerID, s3eWwiseGameObjectID in_gameObjectID)
{
    IwTrace(WWISE_VERBOSE, ("calling s3eWwise[24] func: s3eWwiseSoundEnginePostTriggerWithID"));

    if (!_extLoad())
        return s3eWwise_NotImplemented;

#ifdef __mips
    // For MIPs platform we do not have asm code for stack switching
    // implemented. So we make LoaderCallStart call manually to set GlobalLock
    s3eDeviceLoaderCallStart(S3E_TRUE, NULL);
#endif

    s3eWwiseResult ret = g_Ext.m_s3eWwiseSoundEnginePostTriggerWithID(in_triggerID, in_gameObjectID);

#ifdef __mips
    s3eDeviceLoaderCallDone(S3E_TRUE, NULL);
#endif

    return ret;
}
예제 #6
0
s3eWwisePlayingID s3eWwiseSoundEnginePostEventWithID(s3eWwiseUniqueID in_eventID, s3eWwiseGameObjectID in_gameObjectID, uint32 flags)
{
    IwTrace(WWISE_VERBOSE, ("calling s3eWwise[13] func: s3eWwiseSoundEnginePostEventWithID"));

    if (!_extLoad())
        return S3E_WWISE_INVALID_PLAYING_ID;

#ifdef __mips
    // For MIPs platform we do not have asm code for stack switching
    // implemented. So we make LoaderCallStart call manually to set GlobalLock
    s3eDeviceLoaderCallStart(S3E_TRUE, NULL);
#endif

    s3eWwisePlayingID ret = g_Ext.m_s3eWwiseSoundEnginePostEventWithID(in_eventID, in_gameObjectID, flags);

#ifdef __mips
    s3eDeviceLoaderCallDone(S3E_TRUE, NULL);
#endif

    return ret;
}
예제 #7
0
void s3eWwiseSoundEngineStopPlayingID(s3eWwisePlayingID in_playingID, s3eWwiseTimeMs in_uTransitionDuration, s3eWwiseCurveInterpolation in_eFadeCurve)
{
    IwTrace(WWISE_VERBOSE, ("calling s3eWwise[15] func: s3eWwiseSoundEngineStopPlayingID"));

    if (!_extLoad())
        return;

#ifdef __mips
    // For MIPs platform we do not have asm code for stack switching
    // implemented. So we make LoaderCallStart call manually to set GlobalLock
    s3eDeviceLoaderCallStart(S3E_TRUE, NULL);
#endif

    g_Ext.m_s3eWwiseSoundEngineStopPlayingID(in_playingID, in_uTransitionDuration, in_eFadeCurve);

#ifdef __mips
    s3eDeviceLoaderCallDone(S3E_TRUE, NULL);
#endif

    return;
}
s3eGyroscopeResult s3eGyroscopeStop()
{
    IwTrace(GYROSCOPE_VERBOSE, ("calling s3eGyroscope[4] func: s3eGyroscopeStop"));

    if (!_extLoad())
        return S3E_GYROSCOPE_UNKNOWN_ERROR;

#ifdef __mips
    // For MIPs platform we do not have asm code for stack switching 
    // implemented. So we make LoaderCallStart call manually to set GlobalLock
    s3eDeviceLoaderCallStart(S3E_TRUE, NULL);
#endif

    s3eGyroscopeResult ret = g_Ext.m_s3eGyroscopeStop();

#ifdef __mips
    s3eDeviceLoaderCallDone(S3E_TRUE, NULL);
#endif

    return ret;
}
s3eResult s3eGyroscopeUnRegister(s3eGyroscopeCallback cbid, s3eCallback fn)
{
    IwTrace(GYROSCOPE_VERBOSE, ("calling s3eGyroscope[1] func: s3eGyroscopeUnRegister"));

    if (!_extLoad())
        return S3E_RESULT_ERROR;

#ifdef __mips
    // For MIPs platform we do not have asm code for stack switching 
    // implemented. So we make LoaderCallStart call manually to set GlobalLock
    s3eDeviceLoaderCallStart(S3E_TRUE, NULL);
#endif

    s3eResult ret = g_Ext.m_s3eGyroscopeUnRegister(cbid, fn);

#ifdef __mips
    s3eDeviceLoaderCallDone(S3E_TRUE, NULL);
#endif

    return ret;
}
s3eResult s3eAndroidMarketGooglePlayIsBillingSupported()
{
    IwTrace(ANDROIDMARKETGOOGLEPLAY_VERBOSE, ("calling s3eAndroidMarketGooglePlay[0] func: s3eAndroidMarketGooglePlayIsBillingSupported"));

    if (!_extLoad())
        return S3E_RESULT_ERROR;

#ifdef __mips
    // For MIPs platform we do not have asm code for stack switching 
    // implemented. So we make LoaderCallStart call manually to set GlobalLock
    s3eDeviceLoaderCallStart(S3E_TRUE, NULL);
#endif

    s3eResult ret = g_Ext.m_s3eAndroidMarketGooglePlayIsBillingSupported();

#ifdef __mips
    s3eDeviceLoaderCallDone(S3E_TRUE, NULL);
#endif

    return ret;
}
s3eIOSAndroidMarketGooglePlayItemInfo* s3eAndroidMarketGooglePlayGetItemData(const char** skuList, const int listSize)
{
    IwTrace(ANDROIDMARKETGOOGLEPLAY_VERBOSE, ("calling s3eAndroidMarketGooglePlay[1] func: s3eAndroidMarketGooglePlayGetItemData"));

    if (!_extLoad())
        return 0;

#ifdef __mips
    // For MIPs platform we do not have asm code for stack switching 
    // implemented. So we make LoaderCallStart call manually to set GlobalLock
    s3eDeviceLoaderCallStart(S3E_TRUE, NULL);
#endif

    s3eIOSAndroidMarketGooglePlayItemInfo* ret = g_Ext.m_s3eAndroidMarketGooglePlayGetItemData(skuList, listSize);

#ifdef __mips
    s3eDeviceLoaderCallDone(S3E_TRUE, NULL);
#endif

    return ret;
}
s3eIOSAndroidMarketGooglePlayPurchaseInfo* s3eAndroidMarketGooglePlayQueryPurchasedItem(const int itemNo)
{
    IwTrace(ANDROIDMARKETGOOGLEPLAY_VERBOSE, ("calling s3eAndroidMarketGooglePlay[4] func: s3eAndroidMarketGooglePlayQueryPurchasedItem"));

    if (!_extLoad())
        return 0;

#ifdef __mips
    // For MIPs platform we do not have asm code for stack switching 
    // implemented. So we make LoaderCallStart call manually to set GlobalLock
    s3eDeviceLoaderCallStart(S3E_TRUE, NULL);
#endif

    s3eIOSAndroidMarketGooglePlayPurchaseInfo* ret = g_Ext.m_s3eAndroidMarketGooglePlayQueryPurchasedItem(itemNo);

#ifdef __mips
    s3eDeviceLoaderCallDone(S3E_TRUE, NULL);
#endif

    return ret;
}
예제 #13
0
void s3eFlurryStartSession(const char* apiKey)
{
    IwTrace(FLURRY_VERBOSE, ("calling Flurry[0] func: s3eFlurryStartSession"));

    if (!_extLoad())
        return;

#ifdef __mips
    // For MIPs platform we do not have asm code for stack switching 
    // implemented. So we make LoaderCallStart call manually to set GlobalLock
    s3eDeviceLoaderCallStart(S3E_TRUE, NULL);
#endif

    g_Ext.m_s3eFlurryStartSession(apiKey);

#ifdef __mips
    s3eDeviceLoaderCallDone(S3E_TRUE, NULL);
#endif

    return;
}
예제 #14
0
void s3eFlurrySetSessionReportsOnPauseEnabled(s3eBool sendSessionReportsOnPause)
{
    IwTrace(FLURRY_VERBOSE, ("calling Flurry[12] func: s3eFlurrySetSessionReportsOnPauseEnabled"));

    if (!_extLoad())
        return;

#ifdef __mips
    // For MIPs platform we do not have asm code for stack switching 
    // implemented. So we make LoaderCallStart call manually to set GlobalLock
    s3eDeviceLoaderCallStart(S3E_TRUE, NULL);
#endif

    g_Ext.m_s3eFlurrySetSessionReportsOnPauseEnabled(sendSessionReportsOnPause);

#ifdef __mips
    s3eDeviceLoaderCallDone(S3E_TRUE, NULL);
#endif

    return;
}
예제 #15
0
s3eWwiseResult s3eWwiseSoundEngineInit(s3eWwiseInitSettings* in_pSettings, s3eWwisePlatformInitSettings* in_pPlatformSettings)
{
    IwTrace(WWISE_VERBOSE, ("calling s3eWwise[7] func: s3eWwiseSoundEngineInit"));

    if (!_extLoad())
        return s3eWwise_NotImplemented;

#ifdef __mips
    // For MIPs platform we do not have asm code for stack switching
    // implemented. So we make LoaderCallStart call manually to set GlobalLock
    s3eDeviceLoaderCallStart(S3E_TRUE, NULL);
#endif

    s3eWwiseResult ret = g_Ext.m_s3eWwiseSoundEngineInit(in_pSettings, in_pPlatformSettings);

#ifdef __mips
    s3eDeviceLoaderCallDone(S3E_TRUE, NULL);
#endif

    return ret;
}
예제 #16
0
void s3ePlayVideoAdForSlot(int slotNumber)
{
    IwTrace(ADCOLONY_VERBOSE, ("calling s3eAdColony[3] func: s3ePlayVideoAdForSlot"));

    if (!_extLoad())
        return;

#ifdef __mips
    // For MIPs platform we do not have asm code for stack switching 
    // implemented. So we make LoaderCallStart call manually to set GlobalLock
    s3eDeviceLoaderCallStart(S3E_TRUE, NULL);
#endif

    g_Ext.m_s3ePlayVideoAdForSlot(slotNumber);

#ifdef __mips
    s3eDeviceLoaderCallDone(S3E_TRUE, NULL);
#endif

    return;
}
예제 #17
0
void s3eWwiseSoundEngineGetDefaultPlatformInitSettings(s3eWwisePlatformInitSettings* out_settings)
{
    IwTrace(WWISE_VERBOSE, ("calling s3eWwise[9] func: s3eWwiseSoundEngineGetDefaultPlatformInitSettings"));

    if (!_extLoad())
        return;

#ifdef __mips
    // For MIPs platform we do not have asm code for stack switching
    // implemented. So we make LoaderCallStart call manually to set GlobalLock
    s3eDeviceLoaderCallStart(S3E_TRUE, NULL);
#endif

    g_Ext.m_s3eWwiseSoundEngineGetDefaultPlatformInitSettings(out_settings);

#ifdef __mips
    s3eDeviceLoaderCallDone(S3E_TRUE, NULL);
#endif

    return;
}
예제 #18
0
void s3ePlayV4VCForZone(const char* pszZoneID, s3eBool PrePopup, s3eBool PostPopup)
{
    IwTrace(ADCOLONY_VERBOSE, ("calling s3eAdColony[6] func: s3ePlayV4VCForZone"));

    if (!_extLoad())
        return;

#ifdef __mips
    // For MIPs platform we do not have asm code for stack switching 
    // implemented. So we make LoaderCallStart call manually to set GlobalLock
    s3eDeviceLoaderCallStart(S3E_TRUE, NULL);
#endif

    g_Ext.m_s3ePlayV4VCForZone(pszZoneID, PrePopup, PostPopup);

#ifdef __mips
    s3eDeviceLoaderCallDone(S3E_TRUE, NULL);
#endif

    return;
}
예제 #19
0
void s3eWwiseSoundEngineStopAll(s3eWwiseGameObjectID in_gameObjectID)
{
    IwTrace(WWISE_VERBOSE, ("calling s3eWwise[14] func: s3eWwiseSoundEngineStopAll"));

    if (!_extLoad())
        return;

#ifdef __mips
    // For MIPs platform we do not have asm code for stack switching
    // implemented. So we make LoaderCallStart call manually to set GlobalLock
    s3eDeviceLoaderCallStart(S3E_TRUE, NULL);
#endif

    g_Ext.m_s3eWwiseSoundEngineStopAll(in_gameObjectID);

#ifdef __mips
    s3eDeviceLoaderCallDone(S3E_TRUE, NULL);
#endif

    return;
}
예제 #20
0
s3eBool s3eVideoAdCurrentlyRunning()
{
    IwTrace(ADCOLONY_VERBOSE, ("calling s3eAdColony[7] func: s3eVideoAdCurrentlyRunning"));

    if (!_extLoad())
        return S3E_FALSE;

#ifdef __mips
    // For MIPs platform we do not have asm code for stack switching 
    // implemented. So we make LoaderCallStart call manually to set GlobalLock
    s3eDeviceLoaderCallStart(S3E_TRUE, NULL);
#endif

    s3eBool ret = g_Ext.m_s3eVideoAdCurrentlyRunning();

#ifdef __mips
    s3eDeviceLoaderCallDone(S3E_TRUE, NULL);
#endif

    return ret;
}
예제 #21
0
s3eWwiseResult s3eWwiseSoundEngineSetActiveListeners(s3eWwiseGameObjectID in_GameObjectID, uint32 in_uListenerMask)
{
    IwTrace(WWISE_VERBOSE, ("calling s3eWwise[16] func: s3eWwiseSoundEngineSetActiveListeners"));

    if (!_extLoad())
        return s3eWwise_NotImplemented;

#ifdef __mips
    // For MIPs platform we do not have asm code for stack switching
    // implemented. So we make LoaderCallStart call manually to set GlobalLock
    s3eDeviceLoaderCallStart(S3E_TRUE, NULL);
#endif

    s3eWwiseResult ret = g_Ext.m_s3eWwiseSoundEngineSetActiveListeners(in_GameObjectID, in_uListenerMask);

#ifdef __mips
    s3eDeviceLoaderCallDone(S3E_TRUE, NULL);
#endif

    return ret;
}
예제 #22
0
s3eResult s3eAdColonyRegister(s3eAdColonyCallback cbid, s3eCallback fn, void* userData)
{
    IwTrace(ADCOLONY_VERBOSE, ("calling s3eAdColony[0] func: s3eAdColonyRegister"));

    if (!_extLoad())
        return S3E_RESULT_ERROR;

#ifdef __mips
    // For MIPs platform we do not have asm code for stack switching 
    // implemented. So we make LoaderCallStart call manually to set GlobalLock
    s3eDeviceLoaderCallStart(S3E_TRUE, NULL);
#endif

    s3eResult ret = g_Ext.m_s3eAdColonyRegister(cbid, fn, userData);

#ifdef __mips
    s3eDeviceLoaderCallDone(S3E_TRUE, NULL);
#endif

    return ret;
}
예제 #23
0
s3eWwiseResult s3eWwiseSoundEngineResetRTPCValueNamed(const char* in_pszRtpcName, s3eWwiseGameObjectID in_gameObjectID, s3eWwiseTimeMs in_uValueChangeDuration, s3eWwiseCurveInterpolation in_eFadeCurve)
{
    IwTrace(WWISE_VERBOSE, ("calling s3eWwise[21] func: s3eWwiseSoundEngineResetRTPCValueNamed"));

    if (!_extLoad())
        return s3eWwise_NotImplemented;

#ifdef __mips
    // For MIPs platform we do not have asm code for stack switching
    // implemented. So we make LoaderCallStart call manually to set GlobalLock
    s3eDeviceLoaderCallStart(S3E_TRUE, NULL);
#endif

    s3eWwiseResult ret = g_Ext.m_s3eWwiseSoundEngineResetRTPCValueNamed(in_pszRtpcName, in_gameObjectID, in_uValueChangeDuration, in_eFadeCurve);

#ifdef __mips
    s3eDeviceLoaderCallDone(S3E_TRUE, NULL);
#endif

    return ret;
}
예제 #24
0
s3eWwiseStreamMgr* s3eWwiseStreamMgrCreate(s3eWwiseStreamMgrSettings* in_settings)
{
    IwTrace(WWISE_VERBOSE, ("calling s3eWwise[3] func: s3eWwiseStreamMgrCreate"));

    if (!_extLoad())
        return NULL;

#ifdef __mips
    // For MIPs platform we do not have asm code for stack switching
    // implemented. So we make LoaderCallStart call manually to set GlobalLock
    s3eDeviceLoaderCallStart(S3E_TRUE, NULL);
#endif

    s3eWwiseStreamMgr* ret = g_Ext.m_s3eWwiseStreamMgrCreate(in_settings);

#ifdef __mips
    s3eDeviceLoaderCallDone(S3E_TRUE, NULL);
#endif

    return ret;
}
예제 #25
0
s3eWwiseResult s3eWwiseSoundEngineSetStateNamed(const char* in_pszStateGroup, const char* in_pszState)
{
    IwTrace(WWISE_VERBOSE, ("calling s3eWwise[27] func: s3eWwiseSoundEngineSetStateNamed"));

    if (!_extLoad())
        return s3eWwise_NotImplemented;

#ifdef __mips
    // For MIPs platform we do not have asm code for stack switching
    // implemented. So we make LoaderCallStart call manually to set GlobalLock
    s3eDeviceLoaderCallStart(S3E_TRUE, NULL);
#endif

    s3eWwiseResult ret = g_Ext.m_s3eWwiseSoundEngineSetStateNamed(in_pszStateGroup, in_pszState);

#ifdef __mips
    s3eDeviceLoaderCallDone(S3E_TRUE, NULL);
#endif

    return ret;
}
예제 #26
0
void s3eFlurryEndTimedEvent(const char* eventName, const char* eventParams)
{
    IwTrace(FLURRY_VERBOSE, ("calling Flurry[6] func: s3eFlurryEndTimedEvent"));

    if (!_extLoad())
        return;

#ifdef __mips
    // For MIPs platform we do not have asm code for stack switching 
    // implemented. So we make LoaderCallStart call manually to set GlobalLock
    s3eDeviceLoaderCallStart(S3E_TRUE, NULL);
#endif

    g_Ext.m_s3eFlurryEndTimedEvent(eventName, eventParams);

#ifdef __mips
    s3eDeviceLoaderCallDone(S3E_TRUE, NULL);
#endif

    return;
}