mirror of https://github.com/axmolengine/axmol.git
Merge pull request #3329 from pyrasis/tizen_2.2
[Tizen] Fix compile error
This commit is contained in:
commit
df33991a38
|
@ -1,246 +0,0 @@
|
||||||
/****************************************************************************
|
|
||||||
Copyright (c) 2013 cocos2d-x.org
|
|
||||||
Copyright (c) 2013 Lee, Jae-Hong
|
|
||||||
|
|
||||||
http://www.cocos2d-x.org
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
|
||||||
in the Software without restriction, including without limitation the rights
|
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in
|
|
||||||
all copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
||||||
THE SOFTWARE.
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#include "OspPlayer.h"
|
|
||||||
|
|
||||||
using namespace Tizen::Media;
|
|
||||||
|
|
||||||
OspPlayer::OspPlayer()
|
|
||||||
: __pPlayer(null)
|
|
||||||
, m_nSoundID(0)
|
|
||||||
{
|
|
||||||
Initialize();
|
|
||||||
}
|
|
||||||
|
|
||||||
OspPlayer::~OspPlayer()
|
|
||||||
{
|
|
||||||
Close();
|
|
||||||
}
|
|
||||||
|
|
||||||
result
|
|
||||||
OspPlayer::Initialize()
|
|
||||||
{
|
|
||||||
result r = E_SUCCESS;
|
|
||||||
|
|
||||||
__pPlayer = new (std::nothrow) Player();
|
|
||||||
if (__pPlayer == null)
|
|
||||||
{
|
|
||||||
AppLogException("pPlyaer = new (std::nothrow) Player() has failed");
|
|
||||||
return E_FAILURE;
|
|
||||||
}
|
|
||||||
|
|
||||||
r = __pPlayer->Construct(*this, null);
|
|
||||||
if (IsFailed(r))
|
|
||||||
{
|
|
||||||
AppLog("pPlayer->Construct has failed\n");
|
|
||||||
return E_FAILURE;
|
|
||||||
}
|
|
||||||
|
|
||||||
return r;
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
|
||||||
OspPlayer::Open(const char* pFileName, unsigned int uId)
|
|
||||||
{
|
|
||||||
result r = E_SUCCESS;
|
|
||||||
|
|
||||||
Close();
|
|
||||||
|
|
||||||
r = __pPlayer->OpenFile(pFileName);
|
|
||||||
if (IsFailed(r))
|
|
||||||
{
|
|
||||||
AppLog("pPlayer->OpenFile has failed\n");
|
|
||||||
}
|
|
||||||
|
|
||||||
m_nSoundID = uId;
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
|
||||||
OspPlayer::Play(bool bLoop)
|
|
||||||
{
|
|
||||||
result r = E_SUCCESS;
|
|
||||||
|
|
||||||
r = __pPlayer->SetLooping(bLoop);
|
|
||||||
if (IsFailed(r))
|
|
||||||
{
|
|
||||||
AppLog("pPlayer->SetLooping has failed\n");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
r = __pPlayer->Play();
|
|
||||||
if (IsFailed(r))
|
|
||||||
{
|
|
||||||
AppLog("pPlayer->Play has failed\n");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
|
||||||
OspPlayer::Pause()
|
|
||||||
{
|
|
||||||
result r = E_SUCCESS;
|
|
||||||
|
|
||||||
r = __pPlayer->Pause();
|
|
||||||
if (IsFailed(r))
|
|
||||||
{
|
|
||||||
AppLog("pPlayer->Pause has failed\n");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
|
||||||
OspPlayer::Stop()
|
|
||||||
{
|
|
||||||
result r = E_SUCCESS;
|
|
||||||
|
|
||||||
r = __pPlayer->Stop();
|
|
||||||
if (IsFailed(r))
|
|
||||||
{
|
|
||||||
AppLog("pPlayer->Stop has failed\n");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
|
||||||
OspPlayer::Resume()
|
|
||||||
{
|
|
||||||
result r = E_SUCCESS;
|
|
||||||
|
|
||||||
if (__pPlayer->GetState() == PLAYER_STATE_PAUSED)
|
|
||||||
{
|
|
||||||
r = __pPlayer->Play();
|
|
||||||
if (IsFailed(r))
|
|
||||||
{
|
|
||||||
AppLog("pPlayer->Play has failed\n");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
|
||||||
OspPlayer::Rewind()
|
|
||||||
{
|
|
||||||
result r = E_SUCCESS;
|
|
||||||
|
|
||||||
r = __pPlayer->SeekTo(0);
|
|
||||||
if (IsFailed(r))
|
|
||||||
{
|
|
||||||
AppLog("pPlayer->SeekTo has failed\n");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
bool
|
|
||||||
OspPlayer::IsPlaying()
|
|
||||||
{
|
|
||||||
PlayerState state = __pPlayer->GetState();
|
|
||||||
|
|
||||||
return (state == PLAYER_STATE_PLAYING) ? true : false;
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
|
||||||
OspPlayer::Close()
|
|
||||||
{
|
|
||||||
result r = E_SUCCESS;
|
|
||||||
|
|
||||||
if (__pPlayer->GetState() == PLAYER_STATE_PLAYING)
|
|
||||||
{
|
|
||||||
r = __pPlayer->Stop();
|
|
||||||
if (IsFailed(r))
|
|
||||||
{
|
|
||||||
AppLog("pPlayer->Stop has failed\n");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
r = __pPlayer->Close();
|
|
||||||
if (IsFailed(r))
|
|
||||||
{
|
|
||||||
AppLog("pPlayer->Close has failed\n");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
unsigned int
|
|
||||||
OspPlayer::GetSoundID()
|
|
||||||
{
|
|
||||||
return m_nSoundID;
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
|
||||||
OspPlayer::SetVolume(int volume)
|
|
||||||
{
|
|
||||||
result r = E_SUCCESS;
|
|
||||||
|
|
||||||
if (volume > 100 || volume < 0)
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
r = __pPlayer->SetVolume(volume);
|
|
||||||
if (IsFailed(r))
|
|
||||||
{
|
|
||||||
AppLog("pPlayer->SetVolume has failed\n");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
int
|
|
||||||
OspPlayer::GetVolume()
|
|
||||||
{
|
|
||||||
return __pPlayer->GetVolume();
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
|
||||||
OspPlayer::OnPlayerOpened(result r)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
|
||||||
OspPlayer::OnPlayerEndOfClip(void)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
|
||||||
OspPlayer::OnPlayerBuffering(int percent)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
|
||||||
OspPlayer::OnPlayerErrorOccurred(Tizen::Media::PlayerErrorReason r)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
|
||||||
OspPlayer::OnPlayerInterrupted(void)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
|
||||||
OspPlayer::OnPlayerReleased(void)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
|
||||||
OspPlayer::OnPlayerSeekCompleted(result r)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
|
||||||
OspPlayer::OnPlayerAudioFocusChanged(void)
|
|
||||||
{
|
|
||||||
}
|
|
|
@ -1,65 +0,0 @@
|
||||||
/****************************************************************************
|
|
||||||
Copyright (c) 2013 cocos2d-x.org
|
|
||||||
Copyright (c) 2013 Lee, Jae-Hong
|
|
||||||
|
|
||||||
http://www.cocos2d-x.org
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
|
||||||
in the Software without restriction, including without limitation the rights
|
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in
|
|
||||||
all copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
||||||
THE SOFTWARE.
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#ifndef _OSP_PLAYER_H_
|
|
||||||
#define _OSP_PLAYER_H_
|
|
||||||
|
|
||||||
#include <FMedia.h>
|
|
||||||
|
|
||||||
class OspPlayer : public Tizen::Media::IPlayerEventListener
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
OspPlayer();
|
|
||||||
~OspPlayer();
|
|
||||||
|
|
||||||
result Initialize();
|
|
||||||
void Open(const char* pFileName, unsigned int uId);
|
|
||||||
void Play(bool bLoop);
|
|
||||||
void Pause();
|
|
||||||
void Stop();
|
|
||||||
void Resume();
|
|
||||||
void Rewind();
|
|
||||||
bool IsPlaying();
|
|
||||||
void SetVolume(int volume);
|
|
||||||
int GetVolume();
|
|
||||||
void Close();
|
|
||||||
unsigned int GetSoundID();
|
|
||||||
|
|
||||||
protected:
|
|
||||||
void OnPlayerOpened(result r);
|
|
||||||
void OnPlayerEndOfClip(void);
|
|
||||||
void OnPlayerBuffering(int percent);
|
|
||||||
void OnPlayerErrorOccurred(Tizen::Media::PlayerErrorReason r);
|
|
||||||
void OnPlayerInterrupted(void);
|
|
||||||
void OnPlayerReleased(void);
|
|
||||||
void OnPlayerSeekCompleted(result r);
|
|
||||||
void OnPlayerAudioFocusChanged(void);
|
|
||||||
|
|
||||||
private:
|
|
||||||
Tizen::Media::Player* __pPlayer;
|
|
||||||
unsigned int m_nSoundID;
|
|
||||||
};
|
|
||||||
|
|
||||||
#endif // _OSP_PLAYER_H_
|
|
|
@ -1,295 +0,0 @@
|
||||||
/****************************************************************************
|
|
||||||
Copyright (c) 2013 cocos2d-x.org
|
|
||||||
Copyright (c) 2013 Lee, Jae-Hong
|
|
||||||
|
|
||||||
http://www.cocos2d-x.org
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
|
||||||
in the Software without restriction, including without limitation the rights
|
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in
|
|
||||||
all copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
||||||
THE SOFTWARE.
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#include "SimpleAudioEngine.h"
|
|
||||||
#include "OspPlayer.h"
|
|
||||||
#include "cocos2d.h"
|
|
||||||
#include <map>
|
|
||||||
|
|
||||||
USING_NS_CC;
|
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
namespace CocosDenshion {
|
|
||||||
|
|
||||||
typedef map<unsigned int, OspPlayer *> EffectList;
|
|
||||||
typedef pair<unsigned int, OspPlayer *> Effect;
|
|
||||||
|
|
||||||
static std::string _FullPath(const char * szPath);
|
|
||||||
static unsigned int _Hash(const char *key);
|
|
||||||
|
|
||||||
#define BREAK_IF(cond) if (cond) break;
|
|
||||||
|
|
||||||
static EffectList& sharedList()
|
|
||||||
{
|
|
||||||
static EffectList s_List;
|
|
||||||
return s_List;
|
|
||||||
}
|
|
||||||
|
|
||||||
static OspPlayer& sharedMusic()
|
|
||||||
{
|
|
||||||
static OspPlayer s_Music;
|
|
||||||
return s_Music;
|
|
||||||
}
|
|
||||||
|
|
||||||
SimpleAudioEngine::SimpleAudioEngine()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
SimpleAudioEngine::~SimpleAudioEngine()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
SimpleAudioEngine* SimpleAudioEngine::getInstance()
|
|
||||||
{
|
|
||||||
static SimpleAudioEngine s_SharedEngine;
|
|
||||||
return &s_SharedEngine;
|
|
||||||
}
|
|
||||||
|
|
||||||
void SimpleAudioEngine::end()
|
|
||||||
{
|
|
||||||
sharedMusic().Close();
|
|
||||||
|
|
||||||
EffectList::iterator p = sharedList().begin();
|
|
||||||
while (p != sharedList().end())
|
|
||||||
{
|
|
||||||
delete p->second;
|
|
||||||
p->second = NULL;
|
|
||||||
p++;
|
|
||||||
}
|
|
||||||
sharedList().clear();
|
|
||||||
}
|
|
||||||
|
|
||||||
void SimpleAudioEngine::preloadBackgroundMusic(const char* pszFilePath)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
void SimpleAudioEngine::playBackgroundMusic(const char* pszFilePath, bool bLoop)
|
|
||||||
{
|
|
||||||
if (!pszFilePath)
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
sharedMusic().Open(_FullPath(pszFilePath).c_str(), _Hash(pszFilePath));
|
|
||||||
sharedMusic().Play(bLoop);
|
|
||||||
}
|
|
||||||
|
|
||||||
void SimpleAudioEngine::stopBackgroundMusic(bool bReleaseData)
|
|
||||||
{
|
|
||||||
if (bReleaseData)
|
|
||||||
{
|
|
||||||
sharedMusic().Close();
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
sharedMusic().Stop();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void SimpleAudioEngine::pauseBackgroundMusic()
|
|
||||||
{
|
|
||||||
sharedMusic().Pause();
|
|
||||||
}
|
|
||||||
|
|
||||||
void SimpleAudioEngine::resumeBackgroundMusic()
|
|
||||||
{
|
|
||||||
sharedMusic().Resume();
|
|
||||||
}
|
|
||||||
|
|
||||||
void SimpleAudioEngine::rewindBackgroundMusic()
|
|
||||||
{
|
|
||||||
sharedMusic().Rewind();
|
|
||||||
}
|
|
||||||
|
|
||||||
bool SimpleAudioEngine::willPlayBackgroundMusic()
|
|
||||||
{
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool SimpleAudioEngine::isBackgroundMusicPlaying()
|
|
||||||
{
|
|
||||||
return sharedMusic().IsPlaying();
|
|
||||||
}
|
|
||||||
|
|
||||||
float SimpleAudioEngine::getBackgroundMusicVolume()
|
|
||||||
{
|
|
||||||
return float(sharedMusic().GetVolume()) / 100.f;
|
|
||||||
}
|
|
||||||
|
|
||||||
void SimpleAudioEngine::setBackgroundMusicVolume(float volume)
|
|
||||||
{
|
|
||||||
sharedMusic().SetVolume(int(volume * 100));
|
|
||||||
}
|
|
||||||
|
|
||||||
float SimpleAudioEngine::getEffectsVolume()
|
|
||||||
{
|
|
||||||
EffectList::iterator iter;
|
|
||||||
iter = sharedList().begin();
|
|
||||||
if (iter != sharedList().end())
|
|
||||||
{
|
|
||||||
return float(iter->second->GetVolume()) / 100.f;
|
|
||||||
}
|
|
||||||
return 0.0f;
|
|
||||||
}
|
|
||||||
|
|
||||||
void SimpleAudioEngine::setEffectsVolume(float volume)
|
|
||||||
{
|
|
||||||
EffectList::iterator iter;
|
|
||||||
for (iter = sharedList().begin(); iter != sharedList().end(); iter++)
|
|
||||||
{
|
|
||||||
iter->second->SetVolume(int(volume * 100));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
unsigned int SimpleAudioEngine::playEffect(const char* pszFilePath, bool bLoop/* = false*/,
|
|
||||||
float pitch/* = 1.0f*/, float pan/* = 0.0f*/, float gain/* = 1.0f*/)
|
|
||||||
{
|
|
||||||
unsigned int nRet = _Hash(pszFilePath);
|
|
||||||
|
|
||||||
preloadEffect(pszFilePath);
|
|
||||||
|
|
||||||
EffectList::iterator p = sharedList().find(nRet);
|
|
||||||
if (p != sharedList().end())
|
|
||||||
{
|
|
||||||
p->second->Play(bLoop);
|
|
||||||
}
|
|
||||||
|
|
||||||
return nRet;
|
|
||||||
}
|
|
||||||
|
|
||||||
void SimpleAudioEngine::stopEffect(unsigned int nSoundId)
|
|
||||||
{
|
|
||||||
EffectList::iterator p = sharedList().find(nSoundId);
|
|
||||||
if (p != sharedList().end())
|
|
||||||
{
|
|
||||||
p->second->Stop();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void SimpleAudioEngine::preloadEffect(const char* pszFilePath)
|
|
||||||
{
|
|
||||||
int nRet = 0;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
BREAK_IF(! pszFilePath);
|
|
||||||
|
|
||||||
nRet = _Hash(pszFilePath);
|
|
||||||
|
|
||||||
BREAK_IF(sharedList().end() != sharedList().find(nRet));
|
|
||||||
|
|
||||||
sharedList().insert(Effect(nRet, new (std::nothrow) OspPlayer()));
|
|
||||||
OspPlayer * pPlayer = sharedList()[nRet];
|
|
||||||
pPlayer->Open(_FullPath(pszFilePath).c_str(), nRet);
|
|
||||||
|
|
||||||
BREAK_IF(nRet == pPlayer->GetSoundID());
|
|
||||||
|
|
||||||
sharedList().erase(nRet);
|
|
||||||
nRet = 0;
|
|
||||||
}
|
|
||||||
while (0);
|
|
||||||
}
|
|
||||||
|
|
||||||
void SimpleAudioEngine::unloadEffect(const char* pszFilePath)
|
|
||||||
{
|
|
||||||
unsigned nId = _Hash(pszFilePath);
|
|
||||||
|
|
||||||
EffectList::iterator p = sharedList().find(nId);
|
|
||||||
if (p != sharedList().end())
|
|
||||||
{
|
|
||||||
delete p->second;
|
|
||||||
p->second = NULL;
|
|
||||||
sharedList().erase(nId);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void SimpleAudioEngine::pauseEffect(unsigned int nSoundId)
|
|
||||||
{
|
|
||||||
EffectList::iterator p = sharedList().find(nSoundId);
|
|
||||||
if (p != sharedList().end())
|
|
||||||
{
|
|
||||||
p->second->Pause();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void SimpleAudioEngine::pauseAllEffects()
|
|
||||||
{
|
|
||||||
EffectList::iterator iter;
|
|
||||||
for (iter = sharedList().begin(); iter != sharedList().end(); iter++)
|
|
||||||
{
|
|
||||||
iter->second->Pause();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void SimpleAudioEngine::resumeEffect(unsigned int nSoundId)
|
|
||||||
{
|
|
||||||
EffectList::iterator p = sharedList().find(nSoundId);
|
|
||||||
if (p != sharedList().end())
|
|
||||||
{
|
|
||||||
p->second->Resume();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void SimpleAudioEngine::resumeAllEffects()
|
|
||||||
{
|
|
||||||
EffectList::iterator iter;
|
|
||||||
for (iter = sharedList().begin(); iter != sharedList().end(); iter++)
|
|
||||||
{
|
|
||||||
iter->second->Resume();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void SimpleAudioEngine::stopAllEffects()
|
|
||||||
{
|
|
||||||
EffectList::iterator iter;
|
|
||||||
for (iter = sharedList().begin(); iter != sharedList().end(); iter++)
|
|
||||||
{
|
|
||||||
iter->second->Stop();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////
|
|
||||||
// static function
|
|
||||||
//////////////////////////////////////////////////////////////////////////
|
|
||||||
|
|
||||||
static std::string _FullPath(const char * szPath)
|
|
||||||
{
|
|
||||||
return CCFileUtils::getInstance()->fullPathForFilename(szPath);
|
|
||||||
}
|
|
||||||
|
|
||||||
unsigned int _Hash(const char *key)
|
|
||||||
{
|
|
||||||
unsigned int len = strlen(key);
|
|
||||||
const char *end=key+len;
|
|
||||||
unsigned int hash;
|
|
||||||
|
|
||||||
for (hash = 0; key < end; key++)
|
|
||||||
{
|
|
||||||
hash *= 16777619;
|
|
||||||
hash ^= (unsigned int) (unsigned char) toupper(*key);
|
|
||||||
}
|
|
||||||
return (hash);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
|
@ -110,6 +110,11 @@
|
||||||
<type>1</type>
|
<type>1</type>
|
||||||
<locationURI>PARENT-1-PROJECT_LOC/CCConfiguration.h</locationURI>
|
<locationURI>PARENT-1-PROJECT_LOC/CCConfiguration.h</locationURI>
|
||||||
</link>
|
</link>
|
||||||
|
<link>
|
||||||
|
<name>src/CCDeprecated.cpp</name>
|
||||||
|
<type>1</type>
|
||||||
|
<locationURI>PARENT-1-PROJECT_LOC/CCDeprecated.cpp</locationURI>
|
||||||
|
</link>
|
||||||
<link>
|
<link>
|
||||||
<name>src/CCDirector.cpp</name>
|
<name>src/CCDirector.cpp</name>
|
||||||
<type>1</type>
|
<type>1</type>
|
||||||
|
|
|
@ -67,9 +67,8 @@
|
||||||
<listOptionValue builtIn="false" value="_DEBUG"/>
|
<listOptionValue builtIn="false" value="_DEBUG"/>
|
||||||
<listOptionValue builtIn="false" value="TIZEN"/>
|
<listOptionValue builtIn="false" value="TIZEN"/>
|
||||||
<listOptionValue builtIn="false" value="CC_ENABLE_CHIPMUNK_INTEGRATION=1"/>
|
<listOptionValue builtIn="false" value="CC_ENABLE_CHIPMUNK_INTEGRATION=1"/>
|
||||||
<listOptionValue builtIn="false" value="CC_ENABLE_BOX2D_INTEGRATION=0"/>
|
|
||||||
</option>
|
</option>
|
||||||
<option id="gnu.cpp.compiler.option.other.other.1562216418" superClass="gnu.cpp.compiler.option.other.other" value="-c -fmessage-length=0 -std=c++0x" valueType="string"/>
|
<option id="gnu.cpp.compiler.option.other.other.1562216418" name="Other flags" superClass="gnu.cpp.compiler.option.other.other" value="-c -fmessage-length=0 -std=c++0x" valueType="string"/>
|
||||||
<inputType id="sbi.gnu.cpp.compiler.tizen.inputType.2085750802" superClass="sbi.gnu.cpp.compiler.tizen.inputType"/>
|
<inputType id="sbi.gnu.cpp.compiler.tizen.inputType.2085750802" superClass="sbi.gnu.cpp.compiler.tizen.inputType"/>
|
||||||
</tool>
|
</tool>
|
||||||
<tool command="i386-linux-gnueabi-gcc.exe" commandLinePattern="${COMMAND} ${FLAGS} ${OUTPUT_FLAG} ${OUTPUT_PREFIX}${OUTPUT} ${INPUTS}" errorParsers="org.eclipse.cdt.core.GCCErrorParser" id="org.tizen.nativecpp.tool.sbi.gnu.c.compiler.263460224" name="C Compiler" superClass="org.tizen.nativecpp.tool.sbi.gnu.c.compiler">
|
<tool command="i386-linux-gnueabi-gcc.exe" commandLinePattern="${COMMAND} ${FLAGS} ${OUTPUT_FLAG} ${OUTPUT_PREFIX}${OUTPUT} ${INPUTS}" errorParsers="org.eclipse.cdt.core.GCCErrorParser" id="org.tizen.nativecpp.tool.sbi.gnu.c.compiler.263460224" name="C Compiler" superClass="org.tizen.nativecpp.tool.sbi.gnu.c.compiler">
|
||||||
|
@ -103,7 +102,6 @@
|
||||||
<listOptionValue builtIn="false" value="_DEBUG"/>
|
<listOptionValue builtIn="false" value="_DEBUG"/>
|
||||||
<listOptionValue builtIn="false" value="TIZEN"/>
|
<listOptionValue builtIn="false" value="TIZEN"/>
|
||||||
<listOptionValue builtIn="false" value="CC_ENABLE_CHIPMUNK_INTEGRATION=1"/>
|
<listOptionValue builtIn="false" value="CC_ENABLE_CHIPMUNK_INTEGRATION=1"/>
|
||||||
<listOptionValue builtIn="false" value="CC_ENABLE_BOX2D_INTEGRATION=0"/>
|
|
||||||
</option>
|
</option>
|
||||||
<inputType id="sbi.gnu.c.compiler.tizen.inputType.94264147" superClass="sbi.gnu.c.compiler.tizen.inputType"/>
|
<inputType id="sbi.gnu.c.compiler.tizen.inputType.94264147" superClass="sbi.gnu.c.compiler.tizen.inputType"/>
|
||||||
</tool>
|
</tool>
|
||||||
|
@ -114,7 +112,6 @@
|
||||||
</option>
|
</option>
|
||||||
<option id="sbi.gnu.cpp.linker.option.frameworks_lflags.cpp.181465864" name="Tizen-Frameworks-Other-Lflags" superClass="sbi.gnu.cpp.linker.option.frameworks_lflags.cpp" valueType="stringList">
|
<option id="sbi.gnu.cpp.linker.option.frameworks_lflags.cpp.181465864" name="Tizen-Frameworks-Other-Lflags" superClass="sbi.gnu.cpp.linker.option.frameworks_lflags.cpp" valueType="stringList">
|
||||||
<listOptionValue builtIn="false" value="--sysroot="${SBI_SYSROOT}""/>
|
<listOptionValue builtIn="false" value="--sysroot="${SBI_SYSROOT}""/>
|
||||||
<listOptionValue builtIn="false" value="-Xlinker -rpath="/opt/usr/apps/null/lib""/>
|
|
||||||
</option>
|
</option>
|
||||||
</tool>
|
</tool>
|
||||||
<tool command="i386-linux-gnueabi-as.exe" commandLinePattern="${COMMAND} ${FLAGS} ${OUTPUT_FLAG} ${OUTPUT_PREFIX}${OUTPUT} ${INPUTS}" errorParsers="org.eclipse.cdt.core.GASErrorParser" id="org.tizen.nativeapp.tool.sbi.gnu.assembler.base.165476943" name="Assembler" superClass="org.tizen.nativeapp.tool.sbi.gnu.assembler.base">
|
<tool command="i386-linux-gnueabi-as.exe" commandLinePattern="${COMMAND} ${FLAGS} ${OUTPUT_FLAG} ${OUTPUT_PREFIX}${OUTPUT} ${INPUTS}" errorParsers="org.eclipse.cdt.core.GASErrorParser" id="org.tizen.nativeapp.tool.sbi.gnu.assembler.base.165476943" name="Assembler" superClass="org.tizen.nativeapp.tool.sbi.gnu.assembler.base">
|
||||||
|
@ -209,7 +206,7 @@
|
||||||
<listOptionValue builtIn="false" value="CC_ENABLE_CHIPMUNK_INTEGRATION=1"/>
|
<listOptionValue builtIn="false" value="CC_ENABLE_CHIPMUNK_INTEGRATION=1"/>
|
||||||
<listOptionValue builtIn="false" value="CC_ENABLE_BOX2D_INTEGRATION=0"/>
|
<listOptionValue builtIn="false" value="CC_ENABLE_BOX2D_INTEGRATION=0"/>
|
||||||
</option>
|
</option>
|
||||||
<option id="gnu.cpp.compiler.option.other.other.2066748684" superClass="gnu.cpp.compiler.option.other.other" value="-c -fmessage-length=0 -std=c++0x" valueType="string"/>
|
<option id="gnu.cpp.compiler.option.other.other.2066748684" name="Other flags" superClass="gnu.cpp.compiler.option.other.other" value="-c -fmessage-length=0 -std=c++0x" valueType="string"/>
|
||||||
<inputType id="sbi.gnu.cpp.compiler.tizen.inputType.1890676098" superClass="sbi.gnu.cpp.compiler.tizen.inputType"/>
|
<inputType id="sbi.gnu.cpp.compiler.tizen.inputType.1890676098" superClass="sbi.gnu.cpp.compiler.tizen.inputType"/>
|
||||||
</tool>
|
</tool>
|
||||||
<tool command="arm-linux-gnueabi-gcc.exe" id="org.tizen.nativecpp.tool.sbi.gnu.c.compiler.800077346" name="C Compiler" superClass="org.tizen.nativecpp.tool.sbi.gnu.c.compiler">
|
<tool command="arm-linux-gnueabi-gcc.exe" id="org.tizen.nativecpp.tool.sbi.gnu.c.compiler.800077346" name="C Compiler" superClass="org.tizen.nativecpp.tool.sbi.gnu.c.compiler">
|
||||||
|
@ -250,7 +247,6 @@
|
||||||
</option>
|
</option>
|
||||||
<option id="sbi.gnu.cpp.linker.option.frameworks_lflags.cpp.557112687" name="Tizen-Frameworks-Other-Lflags" superClass="sbi.gnu.cpp.linker.option.frameworks_lflags.cpp" valueType="stringList">
|
<option id="sbi.gnu.cpp.linker.option.frameworks_lflags.cpp.557112687" name="Tizen-Frameworks-Other-Lflags" superClass="sbi.gnu.cpp.linker.option.frameworks_lflags.cpp" valueType="stringList">
|
||||||
<listOptionValue builtIn="false" value="--sysroot="${SBI_SYSROOT}""/>
|
<listOptionValue builtIn="false" value="--sysroot="${SBI_SYSROOT}""/>
|
||||||
<listOptionValue builtIn="false" value="-Xlinker -rpath="/opt/usr/apps/null/lib""/>
|
|
||||||
</option>
|
</option>
|
||||||
</tool>
|
</tool>
|
||||||
<tool command="arm-linux-gnueabi-as.exe" id="org.tizen.nativeapp.tool.sbi.gnu.assembler.base.1047247012" name="Assembler" superClass="org.tizen.nativeapp.tool.sbi.gnu.assembler.base">
|
<tool command="arm-linux-gnueabi-as.exe" id="org.tizen.nativeapp.tool.sbi.gnu.assembler.base.1047247012" name="Assembler" superClass="org.tizen.nativeapp.tool.sbi.gnu.assembler.base">
|
||||||
|
|
|
@ -105,6 +105,16 @@
|
||||||
<type>2</type>
|
<type>2</type>
|
||||||
<locationURI>PARENT-1-PROJECT_LOC/CCBReader</locationURI>
|
<locationURI>PARENT-1-PROJECT_LOC/CCBReader</locationURI>
|
||||||
</link>
|
</link>
|
||||||
|
<link>
|
||||||
|
<name>src/CCDeprecated-ext.cpp</name>
|
||||||
|
<type>1</type>
|
||||||
|
<locationURI>PARENT-1-PROJECT_LOC/CCDeprecated-ext.cpp</locationURI>
|
||||||
|
</link>
|
||||||
|
<link>
|
||||||
|
<name>src/CCDeprecated-ext.h</name>
|
||||||
|
<type>1</type>
|
||||||
|
<locationURI>PARENT-1-PROJECT_LOC/CCDeprecated-ext.h</locationURI>
|
||||||
|
</link>
|
||||||
<link>
|
<link>
|
||||||
<name>src/Components</name>
|
<name>src/Components</name>
|
||||||
<type>2</type>
|
<type>2</type>
|
||||||
|
@ -135,6 +145,11 @@
|
||||||
<type>2</type>
|
<type>2</type>
|
||||||
<locationURI>PARENT-1-PROJECT_LOC/network</locationURI>
|
<locationURI>PARENT-1-PROJECT_LOC/network</locationURI>
|
||||||
</link>
|
</link>
|
||||||
|
<link>
|
||||||
|
<name>src/physics_nodes</name>
|
||||||
|
<type>2</type>
|
||||||
|
<locationURI>PARENT-1-PROJECT_LOC/physics_nodes</locationURI>
|
||||||
|
</link>
|
||||||
<link>
|
<link>
|
||||||
<name>src/spine</name>
|
<name>src/spine</name>
|
||||||
<type>2</type>
|
<type>2</type>
|
||||||
|
|
|
@ -71,7 +71,7 @@
|
||||||
<option id="sbi.gnu.cpp.compiler.option.dynamicanalysis_flags.cpp.606625939" name="Tizen-DynamicAnalysis-Compiler-Flags" superClass="sbi.gnu.cpp.compiler.option.dynamicanalysis_flags.cpp" valueType="stringList">
|
<option id="sbi.gnu.cpp.compiler.option.dynamicanalysis_flags.cpp.606625939" name="Tizen-DynamicAnalysis-Compiler-Flags" superClass="sbi.gnu.cpp.compiler.option.dynamicanalysis_flags.cpp" valueType="stringList">
|
||||||
<listOptionValue builtIn="false" value=""/>
|
<listOptionValue builtIn="false" value=""/>
|
||||||
</option>
|
</option>
|
||||||
<option id="gnu.cpp.compiler.option.other.other.513113729" superClass="gnu.cpp.compiler.option.other.other" value="-c -fmessage-length=0 -std=c++0x" valueType="string"/>
|
<option id="gnu.cpp.compiler.option.other.other.513113729" name="Other flags" superClass="gnu.cpp.compiler.option.other.other" value="-c -fmessage-length=0 -std=c++0x" valueType="string"/>
|
||||||
<inputType id="sbi.gnu.cpp.compiler.tizen.inputType.157225708" superClass="sbi.gnu.cpp.compiler.tizen.inputType"/>
|
<inputType id="sbi.gnu.cpp.compiler.tizen.inputType.157225708" superClass="sbi.gnu.cpp.compiler.tizen.inputType"/>
|
||||||
</tool>
|
</tool>
|
||||||
<tool command="i386-linux-gnueabi-gcc.exe" id="org.tizen.nativecpp.tool.sbi.gnu.c.compiler.1384776001" name="C Compiler" superClass="org.tizen.nativecpp.tool.sbi.gnu.c.compiler">
|
<tool command="i386-linux-gnueabi-gcc.exe" id="org.tizen.nativecpp.tool.sbi.gnu.c.compiler.1384776001" name="C Compiler" superClass="org.tizen.nativecpp.tool.sbi.gnu.c.compiler">
|
||||||
|
@ -157,6 +157,7 @@
|
||||||
<listOptionValue builtIn="false" value=""${COCOS_ROOT}/scripting/lua/proj.tizen/Debug-Tizen-Emulator""/>
|
<listOptionValue builtIn="false" value=""${COCOS_ROOT}/scripting/lua/proj.tizen/Debug-Tizen-Emulator""/>
|
||||||
<listOptionValue builtIn="false" value=""${COCOS_ROOT}/extensions/proj.tizen/Debug-Tizen-Emulator""/>
|
<listOptionValue builtIn="false" value=""${COCOS_ROOT}/extensions/proj.tizen/Debug-Tizen-Emulator""/>
|
||||||
<listOptionValue builtIn="false" value=""${COCOS_ROOT}/external/Box2D/proj.tizen/Debug-Tizen-Emulator""/>
|
<listOptionValue builtIn="false" value=""${COCOS_ROOT}/external/Box2D/proj.tizen/Debug-Tizen-Emulator""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${COCOS_ROOT}/external/chipmunk/proj.tizen/Debug-Tizen-Emulator""/>
|
||||||
<listOptionValue builtIn="false" value=""${COCOS_ROOT}/external/libwebsockets/tizen/lib/x86""/>
|
<listOptionValue builtIn="false" value=""${COCOS_ROOT}/external/libwebsockets/tizen/lib/x86""/>
|
||||||
<listOptionValue builtIn="false" value=""${COCOS_SRC}/platform/third_party/tizen/rootstraps/tizen-emulator-2.2.native/lib""/>
|
<listOptionValue builtIn="false" value=""${COCOS_SRC}/platform/third_party/tizen/rootstraps/tizen-emulator-2.2.native/lib""/>
|
||||||
<listOptionValue builtIn="false" value=""${COCOS_SRC}/platform/third_party/tizen/rootstraps/tizen-emulator-2.2.native/usr/lib""/>
|
<listOptionValue builtIn="false" value=""${COCOS_SRC}/platform/third_party/tizen/rootstraps/tizen-emulator-2.2.native/usr/lib""/>
|
||||||
|
@ -185,6 +186,7 @@
|
||||||
<listOptionValue builtIn="false" value="box2d"/>
|
<listOptionValue builtIn="false" value="box2d"/>
|
||||||
<listOptionValue builtIn="false" value="curl"/>
|
<listOptionValue builtIn="false" value="curl"/>
|
||||||
<listOptionValue builtIn="false" value="websockets"/>
|
<listOptionValue builtIn="false" value="websockets"/>
|
||||||
|
<listOptionValue builtIn="false" value="chipmunk"/>
|
||||||
</option>
|
</option>
|
||||||
<inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.1406428633" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input">
|
<inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.1406428633" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input">
|
||||||
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
|
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
|
||||||
|
@ -608,7 +610,7 @@
|
||||||
<option id="sbi.gnu.cpp.compiler.option.dynamicanalysis_flags.cpp.1547950503" name="Tizen-DynamicAnalysis-Compiler-Flags" superClass="sbi.gnu.cpp.compiler.option.dynamicanalysis_flags.cpp" valueType="stringList">
|
<option id="sbi.gnu.cpp.compiler.option.dynamicanalysis_flags.cpp.1547950503" name="Tizen-DynamicAnalysis-Compiler-Flags" superClass="sbi.gnu.cpp.compiler.option.dynamicanalysis_flags.cpp" valueType="stringList">
|
||||||
<listOptionValue builtIn="false" value=""/>
|
<listOptionValue builtIn="false" value=""/>
|
||||||
</option>
|
</option>
|
||||||
<option id="gnu.cpp.compiler.option.other.other.2087528377" superClass="gnu.cpp.compiler.option.other.other" value="-c -fmessage-length=0 -std=c++0x" valueType="string"/>
|
<option id="gnu.cpp.compiler.option.other.other.2087528377" name="Other flags" superClass="gnu.cpp.compiler.option.other.other" value="-c -fmessage-length=0 -std=c++0x" valueType="string"/>
|
||||||
<inputType id="sbi.gnu.cpp.compiler.tizen.inputType.1867983187" superClass="sbi.gnu.cpp.compiler.tizen.inputType"/>
|
<inputType id="sbi.gnu.cpp.compiler.tizen.inputType.1867983187" superClass="sbi.gnu.cpp.compiler.tizen.inputType"/>
|
||||||
</tool>
|
</tool>
|
||||||
<tool command="arm-linux-gnueabi-gcc.exe" id="org.tizen.nativecpp.tool.sbi.gnu.c.compiler.626630163" name="C Compiler" superClass="org.tizen.nativecpp.tool.sbi.gnu.c.compiler">
|
<tool command="arm-linux-gnueabi-gcc.exe" id="org.tizen.nativecpp.tool.sbi.gnu.c.compiler.626630163" name="C Compiler" superClass="org.tizen.nativecpp.tool.sbi.gnu.c.compiler">
|
||||||
|
|
|
@ -60,7 +60,7 @@
|
||||||
<listOptionValue builtIn="false" value="_DEBUG"/>
|
<listOptionValue builtIn="false" value="_DEBUG"/>
|
||||||
<listOptionValue builtIn="false" value="TIZEN"/>
|
<listOptionValue builtIn="false" value="TIZEN"/>
|
||||||
</option>
|
</option>
|
||||||
<option id="gnu.cpp.compiler.option.other.other.1627678010" superClass="gnu.cpp.compiler.option.other.other" value="-c -fmessage-length=0 -std=c++0x" valueType="string"/>
|
<option id="gnu.cpp.compiler.option.other.other.1627678010" name="Other flags" superClass="gnu.cpp.compiler.option.other.other" value="-c -fmessage-length=0 -std=c++0x" valueType="string"/>
|
||||||
<inputType id="sbi.gnu.cpp.compiler.tizen.inputType.217863504" superClass="sbi.gnu.cpp.compiler.tizen.inputType"/>
|
<inputType id="sbi.gnu.cpp.compiler.tizen.inputType.217863504" superClass="sbi.gnu.cpp.compiler.tizen.inputType"/>
|
||||||
</tool>
|
</tool>
|
||||||
<tool command="i386-linux-gnueabi-gcc.exe" id="org.tizen.nativecpp.tool.sbi.gnu.c.compiler.1704269708" name="C Compiler" superClass="org.tizen.nativecpp.tool.sbi.gnu.c.compiler">
|
<tool command="i386-linux-gnueabi-gcc.exe" id="org.tizen.nativecpp.tool.sbi.gnu.c.compiler.1704269708" name="C Compiler" superClass="org.tizen.nativecpp.tool.sbi.gnu.c.compiler">
|
||||||
|
@ -140,6 +140,7 @@
|
||||||
<listOptionValue builtIn="false" value=""${COCOS_ROOT}/CocosDenshion/proj.tizen/Debug-Tizen-Emulator""/>
|
<listOptionValue builtIn="false" value=""${COCOS_ROOT}/CocosDenshion/proj.tizen/Debug-Tizen-Emulator""/>
|
||||||
<listOptionValue builtIn="false" value=""${COCOS_ROOT}/scripting/lua/proj.tizen/Debug-Tizen-Emulator""/>
|
<listOptionValue builtIn="false" value=""${COCOS_ROOT}/scripting/lua/proj.tizen/Debug-Tizen-Emulator""/>
|
||||||
<listOptionValue builtIn="false" value=""${COCOS_ROOT}/extensions/proj.tizen/Debug-Tizen-Emulator""/>
|
<listOptionValue builtIn="false" value=""${COCOS_ROOT}/extensions/proj.tizen/Debug-Tizen-Emulator""/>
|
||||||
|
<listOptionValue builtIn="false" value=""${COCOS_ROOT}/external/chipmunk/proj.tizen/Debug-Tizen-Emulator""/>
|
||||||
<listOptionValue builtIn="false" value=""${COCOS_ROOT}/external/Box2D/proj.tizen/Debug-Tizen-Emulator""/>
|
<listOptionValue builtIn="false" value=""${COCOS_ROOT}/external/Box2D/proj.tizen/Debug-Tizen-Emulator""/>
|
||||||
<listOptionValue builtIn="false" value=""${COCOS_ROOT}/external/libwebsockets/tizen/lib/x86""/>
|
<listOptionValue builtIn="false" value=""${COCOS_ROOT}/external/libwebsockets/tizen/lib/x86""/>
|
||||||
<listOptionValue builtIn="false" value=""${COCOS_SRC}/platform/third_party/tizen/rootstraps/tizen-emulator-2.2.native/lib""/>
|
<listOptionValue builtIn="false" value=""${COCOS_SRC}/platform/third_party/tizen/rootstraps/tizen-emulator-2.2.native/lib""/>
|
||||||
|
@ -166,6 +167,7 @@
|
||||||
<listOptionValue builtIn="false" value="cares"/>
|
<listOptionValue builtIn="false" value="cares"/>
|
||||||
<listOptionValue builtIn="false" value="crypto"/>
|
<listOptionValue builtIn="false" value="crypto"/>
|
||||||
<listOptionValue builtIn="false" value="websockets"/>
|
<listOptionValue builtIn="false" value="websockets"/>
|
||||||
|
<listOptionValue builtIn="false" value="chipmunk"/>
|
||||||
</option>
|
</option>
|
||||||
<inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.156598641" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input">
|
<inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.156598641" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input">
|
||||||
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
|
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
|
||||||
|
@ -537,7 +539,7 @@
|
||||||
<listOptionValue builtIn="false" value="_DEBUG"/>
|
<listOptionValue builtIn="false" value="_DEBUG"/>
|
||||||
<listOptionValue builtIn="false" value="TIZEN"/>
|
<listOptionValue builtIn="false" value="TIZEN"/>
|
||||||
</option>
|
</option>
|
||||||
<option id="gnu.cpp.compiler.option.other.other.2014754691" superClass="gnu.cpp.compiler.option.other.other" value="-c -fmessage-length=0 -std=c++0x" valueType="string"/>
|
<option id="gnu.cpp.compiler.option.other.other.2014754691" name="Other flags" superClass="gnu.cpp.compiler.option.other.other" value="-c -fmessage-length=0 -std=c++0x" valueType="string"/>
|
||||||
<inputType id="sbi.gnu.cpp.compiler.tizen.inputType.2023487595" superClass="sbi.gnu.cpp.compiler.tizen.inputType"/>
|
<inputType id="sbi.gnu.cpp.compiler.tizen.inputType.2023487595" superClass="sbi.gnu.cpp.compiler.tizen.inputType"/>
|
||||||
</tool>
|
</tool>
|
||||||
<tool command="arm-linux-gnueabi-gcc.exe" id="org.tizen.nativecpp.tool.sbi.gnu.c.compiler.464723418" name="C Compiler" superClass="org.tizen.nativecpp.tool.sbi.gnu.c.compiler">
|
<tool command="arm-linux-gnueabi-gcc.exe" id="org.tizen.nativecpp.tool.sbi.gnu.c.compiler.464723418" name="C Compiler" superClass="org.tizen.nativecpp.tool.sbi.gnu.c.compiler">
|
||||||
|
|
|
@ -102,15 +102,4 @@
|
||||||
<locationURI>PARENT-1-PROJECT_LOC/tolua</locationURI>
|
<locationURI>PARENT-1-PROJECT_LOC/tolua</locationURI>
|
||||||
</link>
|
</link>
|
||||||
</linkedResources>
|
</linkedResources>
|
||||||
<filteredResources>
|
|
||||||
<filter>
|
|
||||||
<id>1370773087313</id>
|
|
||||||
<name>src/cocos2dx_support</name>
|
|
||||||
<type>6</type>
|
|
||||||
<matcher>
|
|
||||||
<id>org.eclipse.ui.ide.multiFilter</id>
|
|
||||||
<arguments>1.0-name-matches-false-false-Lua_web_socket*</arguments>
|
|
||||||
</matcher>
|
|
||||||
</filter>
|
|
||||||
</filteredResources>
|
|
||||||
</projectDescription>
|
</projectDescription>
|
||||||
|
|
Loading…
Reference in New Issue