mirror of https://github.com/axmolengine/axmol.git
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into iss2771_physical
This commit is contained in:
commit
d12ee5f120
|
@ -21,11 +21,11 @@ Thumbs.db
|
||||||
*.ilk
|
*.ilk
|
||||||
*.log
|
*.log
|
||||||
[Bb]in
|
[Bb]in
|
||||||
[Dd]ebug*/
|
[Dd]ebug/
|
||||||
*.sbr
|
*.sbr
|
||||||
*.sdf
|
*.sdf
|
||||||
obj/
|
obj/
|
||||||
[Rr]elease*/
|
[Rr]elease/
|
||||||
_ReSharper*/
|
_ReSharper*/
|
||||||
[Tt]est[Rr]esult*
|
[Tt]est[Rr]esult*
|
||||||
ipch/
|
ipch/
|
||||||
|
@ -63,7 +63,6 @@ build_*_vc10/
|
||||||
*.xcuserstate
|
*.xcuserstate
|
||||||
*.xccheckout
|
*.xccheckout
|
||||||
xcschememanagement.plist
|
xcschememanagement.plist
|
||||||
build/
|
|
||||||
.DS_Store
|
.DS_Store
|
||||||
._.*
|
._.*
|
||||||
xcuserdata/
|
xcuserdata/
|
||||||
|
|
|
@ -1,15 +1,12 @@
|
||||||
[submodule "tools/bindings-generator"]
|
[submodule "tools/bindings-generator"]
|
||||||
path = tools/bindings-generator
|
path = tools/bindings-generator
|
||||||
url = git://github.com/cocos2d/bindings-generator.git
|
url = git://github.com/cocos2d/bindings-generator.git
|
||||||
[submodule "scripting/auto-generated"]
|
[submodule "cocos/scripting/auto-generated"]
|
||||||
path = scripting/auto-generated
|
path = cocos/scripting/auto-generated
|
||||||
url = git://github.com/folecr/cocos2dx-autogen-bindings.git
|
url=git://github.com/cocos2d-x/bindings-auto-generated.git
|
||||||
[submodule "samples/Javascript/Shared"]
|
[submodule "samples/Javascript/Shared"]
|
||||||
path = samples/Javascript/Shared
|
path = samples/Javascript/Shared
|
||||||
url = git://github.com/cocos2d/cocos2d-js-tests.git
|
url = git://github.com/cocos2d/cocos2d-js-tests.git
|
||||||
[submodule "external/emscripten"]
|
|
||||||
path = external/emscripten
|
|
||||||
url = git://github.com/kripken/emscripten.git
|
|
||||||
[submodule "tools/cocos2d-console"]
|
[submodule "tools/cocos2d-console"]
|
||||||
path = tools/cocos2d-console
|
path = tools/cocos2d-console
|
||||||
url = git://github.com/cocos2d/cocos2d-console.git
|
url = git://github.com/cocos2d/cocos2d-console.git
|
||||||
|
|
12
AUTHORS
12
AUTHORS
|
@ -610,7 +610,19 @@ Developers:
|
||||||
Added support of passing array to cc.Sequence.create and cc.Spawn.create.
|
Added support of passing array to cc.Sequence.create and cc.Spawn.create.
|
||||||
Fixed a bug that sys.localStorage.getItem() does not support non-ascii string.
|
Fixed a bug that sys.localStorage.getItem() does not support non-ascii string.
|
||||||
Fixed a memory leak in XMLHttpRequest.
|
Fixed a memory leak in XMLHttpRequest.
|
||||||
|
|
||||||
|
Keita Obo (ktaobo)
|
||||||
|
Avoid unnecessary object duplication for Scale9Sprite.
|
||||||
|
|
||||||
|
jimmystar
|
||||||
|
Fixed a bug that cc.Scheduler.schedule(target, func) without repeat argument couldn't repeat schedule forever on device.
|
||||||
|
|
||||||
|
XiaoLongHan (kpkhxlgy0)
|
||||||
|
Fixed a bug that outside of keyboard can't be responded to close keyboard when using EditBox.
|
||||||
|
|
||||||
|
lettas
|
||||||
|
A fix for multi-platform template.
|
||||||
|
|
||||||
Retired Core Developers:
|
Retired Core Developers:
|
||||||
WenSheng Yang
|
WenSheng Yang
|
||||||
Author of windows port, CCTextField,
|
Author of windows port, CCTextField,
|
||||||
|
|
|
@ -5,15 +5,20 @@ cocos2d-x-3.0alpha1 @??? 2013
|
||||||
[FIX] Spine: fix memory leaks
|
[FIX] Spine: fix memory leaks
|
||||||
[FIX] fixed a memory leak in XMLHTTPRequest.cpp
|
[FIX] fixed a memory leak in XMLHTTPRequest.cpp
|
||||||
[FIX] removeSpriteFramesFromFile() crashes if file doesn't exist.
|
[FIX] removeSpriteFramesFromFile() crashes if file doesn't exist.
|
||||||
|
[FIX] Avoid unnecessary object duplication for Scale9Sprite.
|
||||||
|
[FIX] create_project.py does not rename/replace template projects completely.
|
||||||
[Android]
|
[Android]
|
||||||
[FIX] Added EGL_RENDERABLE_TYPE to OpenGL attributes
|
[FIX] Added EGL_RENDERABLE_TYPE to OpenGL attributes
|
||||||
[NEW] Added Cocos2dxHelper.runOnGLThread(Runnable) again
|
[NEW] Added Cocos2dxHelper.runOnGLThread(Runnable) again
|
||||||
[FIX] Fixed application will crash when pause and resume.
|
[FIX] Fixed application will crash when pause and resume.
|
||||||
[Mac]
|
[Mac]
|
||||||
[FIX] Removed unused CCLOG() from GL initialization
|
[FIX] Removed unused CCLOG() from GL initialization
|
||||||
|
[iOS]
|
||||||
|
[FIX] Can't click the area that outside of keyboard to close keyboard when using EditBox.
|
||||||
[Javascript binding]
|
[Javascript binding]
|
||||||
[FIX] Fixed a memory leak in ScriptingCore::runScript()
|
[FIX] Fixed a memory leak in ScriptingCore::runScript()
|
||||||
[FIX] sys.localStorage.getItem() does not support non-ascii string.
|
[FIX] sys.localStorage.getItem() does not support non-ascii string.
|
||||||
|
[FIX] cc.Scheduler.schedule(target, func) without repeat argument couldn't repeat schedule forever on device.
|
||||||
[Lua Binding]
|
[Lua Binding]
|
||||||
[NEW] Added Armature lua binding and added test samples.
|
[NEW] Added Armature lua binding and added test samples.
|
||||||
|
|
||||||
|
|
|
@ -1,60 +0,0 @@
|
||||||
* Need to figure out how to get correct screen resolutions consistently.
|
|
||||||
|
|
||||||
* Touch handler screwed up after TouchesTest? MenuTest? (TestCpp sample)
|
|
||||||
|
|
||||||
* TTF Font rendering is slow and seems to wrap around by a few pixels
|
|
||||||
horizontally. Need to investigate here, but I suspect the right answer is to
|
|
||||||
offload font rendering to an offscreen canvas and let the browser handle it.
|
|
||||||
Potentially creates new challenges in packaging which would need to be solved
|
|
||||||
somehow.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
###
|
|
||||||
DONE:
|
|
||||||
###
|
|
||||||
|
|
||||||
* Need to switch to server-side buffers in
|
|
||||||
- cocos2dx/draw_nodes/CCDrawingPrimitives
|
|
||||||
|
|
||||||
* Need to compile with -O2 -- possible -s VERBOSE=1 will give a clue?
|
|
||||||
|
|
||||||
* SchedulerTest crashes
|
|
||||||
- cocos2d::CCNode::boundingBox()
|
|
||||||
|
|
||||||
* Parallax Test crashes
|
|
||||||
- cocos2d::CCAtlasNode::calculateMaxItems()
|
|
||||||
|
|
||||||
* Particle Test crashes
|
|
||||||
- TIFFClientOpen not a function. Looks like we need to build and link in libtiff.
|
|
||||||
|
|
||||||
* cocos2d::CCAtlasNode::calculateMaxItems() throwing an error; related to
|
|
||||||
CCTextureAtlas? Preventing particle test from working.
|
|
||||||
|
|
||||||
* Need to switch to server-side buffers in
|
|
||||||
- cocos2dx/draw_nodes/CCDrawNode.cpp -- Think this is fixed by undef CC_TEXTURE_ATLAS_USE_VAO?
|
|
||||||
- cocos2dx/particle_nodes/CCParticleSystemQuad.cpp -- Think this is fixed by CC_REBIND_INDICES_BUFFER?
|
|
||||||
- cocos2dx/textures/CCTextureAtlas.cpp -- Think this works already.
|
|
||||||
|
|
||||||
* Layer Test crashes
|
|
||||||
- cocos2d::CCLabelBMFont::create(char const*, char const*, float, cocos2d::CCTextAlignment, cocos2d::CCPoint)
|
|
||||||
|
|
||||||
* IntervalTest crashes
|
|
||||||
- cocos2d::CCLabelBMFont::create(char const*, char const*, float, cocos2d::CCTextAlignment, cocos2d::CCPoint)
|
|
||||||
|
|
||||||
* TileMap Test crashes
|
|
||||||
- void CCNode::insertChild(CCNode* child, int z)
|
|
||||||
|
|
||||||
* LabelTest crashes
|
|
||||||
- cocos2d::CCAtlasNode::calculateMaxItems()
|
|
||||||
|
|
||||||
* ZwoptexTest crashes.
|
|
||||||
- ZwoptexGenericTest::onEnter()
|
|
||||||
|
|
||||||
* ChipmunkTest crashes:
|
|
||||||
Aborting due to Chipmunk error: Moment of Inertia must be positive and non-zero.
|
|
||||||
Failed condition: moment > 0.0f
|
|
||||||
Source:../src/cpBody.c:151
|
|
||||||
|
|
||||||
* Add linkage to libjpeg to get RenderTexture test to work.
|
|
||||||
|
|
|
@ -1,304 +0,0 @@
|
||||||
/****************************************************************************
|
|
||||||
Copyright (c) 2013 Zynga Inc.
|
|
||||||
Copyright (c) 2010 cocos2d-x.org
|
|
||||||
|
|
||||||
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.
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
// XXX: This is all just a bit of a hack. SDL uses channels as its underlying
|
|
||||||
// abstraction, whilst CocosDenshion deals in individual effects. Consequently
|
|
||||||
// we can't set start/stop, because to SDL, effects (chunks) are just opaque
|
|
||||||
// blocks of data that get scheduled on channels. To workaround this, we assign
|
|
||||||
// each sound to a channel, but since there are only 32 channels, we use the
|
|
||||||
// modulus of the sound's address (which on Emscripten is just an incrementing
|
|
||||||
// integer) to decide which channel.
|
|
||||||
//
|
|
||||||
// A more rigorous implementation would have logic to store the state of
|
|
||||||
// channels and restore it as necessary. This should probably just be
|
|
||||||
// considered a toy for now, but it will probably prove sufficient for many
|
|
||||||
// use-cases. Recall also that Emscripten undoes this abstraction on the other
|
|
||||||
// side because it is using HTML5 audio objects as its underlying primitive!
|
|
||||||
|
|
||||||
#include <map>
|
|
||||||
#include <string>
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <unistd.h>
|
|
||||||
|
|
||||||
#include "SimpleAudioEngine.h"
|
|
||||||
#include "cocos2d.h"
|
|
||||||
|
|
||||||
#include <SDL/SDL.h>
|
|
||||||
#include <SDL/SDL_mixer.h>
|
|
||||||
|
|
||||||
USING_NS_CC;
|
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
namespace CocosDenshion
|
|
||||||
{
|
|
||||||
struct soundData {
|
|
||||||
Mix_Chunk *chunk;
|
|
||||||
bool isLooped;
|
|
||||||
};
|
|
||||||
|
|
||||||
typedef map<string, soundData *> EffectsMap;
|
|
||||||
EffectsMap s_effects;
|
|
||||||
float s_effectsVolume = 1.0;
|
|
||||||
|
|
||||||
typedef enum {
|
|
||||||
PLAYING,
|
|
||||||
STOPPED,
|
|
||||||
PAUSED,
|
|
||||||
} playStatus;
|
|
||||||
|
|
||||||
struct backgroundMusicData {
|
|
||||||
Mix_Music *music;
|
|
||||||
};
|
|
||||||
typedef map<string, backgroundMusicData *> BackgroundMusicsMap;
|
|
||||||
BackgroundMusicsMap s_backgroundMusics;
|
|
||||||
float s_backgroundVolume = 1.0;
|
|
||||||
|
|
||||||
static SimpleAudioEngine *s_engine = 0;
|
|
||||||
|
|
||||||
// Unfortunately this is just hard-coded in Emscripten's SDL
|
|
||||||
// implementation.
|
|
||||||
static const int NR_CHANNELS = 32;
|
|
||||||
static void stopBackground(bool bReleaseData)
|
|
||||||
{
|
|
||||||
SimpleAudioEngine *engine = SimpleAudioEngine::getInstance();
|
|
||||||
engine->stopBackgroundMusic();
|
|
||||||
}
|
|
||||||
|
|
||||||
SimpleAudioEngine::SimpleAudioEngine()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
SimpleAudioEngine::~SimpleAudioEngine()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
SimpleAudioEngine* SimpleAudioEngine::getInstance()
|
|
||||||
{
|
|
||||||
if (!s_engine)
|
|
||||||
s_engine = new SimpleAudioEngine();
|
|
||||||
|
|
||||||
return s_engine;
|
|
||||||
}
|
|
||||||
|
|
||||||
void SimpleAudioEngine::end()
|
|
||||||
{
|
|
||||||
// clear all the sounds
|
|
||||||
EffectsMap::const_iterator end = s_effects.end();
|
|
||||||
for (EffectsMap::iterator it = s_effects.begin(); it != end; it++)
|
|
||||||
{
|
|
||||||
Mix_FreeChunk(it->second->chunk);
|
|
||||||
delete it->second;
|
|
||||||
}
|
|
||||||
s_effects.clear();
|
|
||||||
|
|
||||||
// and the background too
|
|
||||||
stopBackground(true);
|
|
||||||
|
|
||||||
for (BackgroundMusicsMap::iterator it = s_backgroundMusics.begin(); it != s_backgroundMusics.end(); ++it)
|
|
||||||
{
|
|
||||||
Mix_FreeMusic(it->second->music);
|
|
||||||
delete it->second;
|
|
||||||
}
|
|
||||||
s_backgroundMusics.clear();
|
|
||||||
}
|
|
||||||
|
|
||||||
//
|
|
||||||
// background audio
|
|
||||||
//
|
|
||||||
void SimpleAudioEngine::preloadBackgroundMusic(const char* pszFilePath)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
void SimpleAudioEngine::playBackgroundMusic(const char* pszFilePath, bool bLoop)
|
|
||||||
{
|
|
||||||
std::string key = std::string(pszFilePath);
|
|
||||||
struct backgroundMusicData *musicData;
|
|
||||||
if(!s_backgroundMusics.count(key))
|
|
||||||
{
|
|
||||||
musicData = new struct backgroundMusicData();
|
|
||||||
musicData->music = Mix_LoadMUS(pszFilePath);
|
|
||||||
s_backgroundMusics[key] = musicData;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
musicData = s_backgroundMusics[key];
|
|
||||||
}
|
|
||||||
|
|
||||||
Mix_PlayMusic(musicData->music, bLoop ? -1 : 0);
|
|
||||||
}
|
|
||||||
|
|
||||||
void SimpleAudioEngine::stopBackgroundMusic(bool bReleaseData)
|
|
||||||
{
|
|
||||||
Mix_HaltMusic();
|
|
||||||
}
|
|
||||||
|
|
||||||
void SimpleAudioEngine::pauseBackgroundMusic()
|
|
||||||
{
|
|
||||||
Mix_PauseMusic();
|
|
||||||
}
|
|
||||||
|
|
||||||
void SimpleAudioEngine::resumeBackgroundMusic()
|
|
||||||
{
|
|
||||||
Mix_ResumeMusic();
|
|
||||||
}
|
|
||||||
|
|
||||||
void SimpleAudioEngine::rewindBackgroundMusic()
|
|
||||||
{
|
|
||||||
CCLOGWARN("Cannot rewind background in Emscripten");
|
|
||||||
}
|
|
||||||
|
|
||||||
bool SimpleAudioEngine::willPlayBackgroundMusic()
|
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool SimpleAudioEngine::isBackgroundMusicPlaying()
|
|
||||||
{
|
|
||||||
return Mix_PlayingMusic();
|
|
||||||
}
|
|
||||||
|
|
||||||
float SimpleAudioEngine::getBackgroundMusicVolume()
|
|
||||||
{
|
|
||||||
return s_backgroundVolume;
|
|
||||||
}
|
|
||||||
|
|
||||||
void SimpleAudioEngine::setBackgroundMusicVolume(float volume)
|
|
||||||
{
|
|
||||||
// Ensure volume is between 0.0 and 1.0.
|
|
||||||
volume = volume > 1.0 ? 1.0 : volume;
|
|
||||||
volume = volume < 0.0 ? 0.0 : volume;
|
|
||||||
|
|
||||||
Mix_VolumeMusic(volume * MIX_MAX_VOLUME);
|
|
||||||
s_backgroundVolume = volume;
|
|
||||||
}
|
|
||||||
|
|
||||||
float SimpleAudioEngine::getEffectsVolume()
|
|
||||||
{
|
|
||||||
return s_effectsVolume;
|
|
||||||
}
|
|
||||||
|
|
||||||
void SimpleAudioEngine::setEffectsVolume(float volume)
|
|
||||||
{
|
|
||||||
volume = volume > 1.0 ? 1.0 : volume;
|
|
||||||
volume = volume < 0.0 ? 0.0 : volume;
|
|
||||||
|
|
||||||
// Need to set volume on every channel. SDL will then read this volume
|
|
||||||
// level and apply it back to the individual sample.
|
|
||||||
for(int i = 0; i < NR_CHANNELS; i++)
|
|
||||||
{
|
|
||||||
Mix_Volume(i, volume * MIX_MAX_VOLUME);
|
|
||||||
}
|
|
||||||
|
|
||||||
s_effectsVolume = volume;
|
|
||||||
}
|
|
||||||
|
|
||||||
unsigned int SimpleAudioEngine::playEffect(const char* pszFilePath, bool bLoop,
|
|
||||||
float pitch, float pan, float gain)
|
|
||||||
{
|
|
||||||
std::string key = std::string(pszFilePath);
|
|
||||||
struct soundData *sound;
|
|
||||||
if(!s_effects.count(key))
|
|
||||||
{
|
|
||||||
sound = new struct soundData();
|
|
||||||
sound->chunk = Mix_LoadWAV(pszFilePath);
|
|
||||||
sound->isLooped = bLoop;
|
|
||||||
s_effects[key] = sound;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
sound = s_effects[key];
|
|
||||||
}
|
|
||||||
// This is safe here since Emscripten is just passing back an
|
|
||||||
// incrementing integer each time you use the Mix_LoadWAV method.
|
|
||||||
unsigned int result = (unsigned int) sound->chunk;
|
|
||||||
|
|
||||||
// XXX: This is a bit of a hack, but... Choose a channel based on the
|
|
||||||
// modulo of the # of channels. This allows us to set the volume
|
|
||||||
// without passing around both chunk address and channel.
|
|
||||||
Mix_PlayChannel(result % NR_CHANNELS, sound->chunk, bLoop ? -1 : 0);
|
|
||||||
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
void SimpleAudioEngine::stopEffect(unsigned int nSoundId)
|
|
||||||
{
|
|
||||||
Mix_HaltChannel(nSoundId % NR_CHANNELS);
|
|
||||||
}
|
|
||||||
|
|
||||||
void SimpleAudioEngine::preloadEffect(const char* pszFilePath)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
void SimpleAudioEngine::unloadEffect(const char* pszFilePath)
|
|
||||||
{
|
|
||||||
std::string key = std::string(pszFilePath);
|
|
||||||
if(!s_effects.count(key))
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
struct soundData *sound = s_effects[key];
|
|
||||||
|
|
||||||
Mix_FreeChunk(sound->chunk);
|
|
||||||
delete sound;
|
|
||||||
s_effects.erase(key);
|
|
||||||
}
|
|
||||||
|
|
||||||
void SimpleAudioEngine::pauseEffect(unsigned int nSoundId)
|
|
||||||
{
|
|
||||||
Mix_Pause(nSoundId % NR_CHANNELS);
|
|
||||||
}
|
|
||||||
|
|
||||||
void SimpleAudioEngine::pauseAllEffects()
|
|
||||||
{
|
|
||||||
for(int i = 0; i < NR_CHANNELS; i++)
|
|
||||||
{
|
|
||||||
Mix_Pause(i);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void SimpleAudioEngine::resumeEffect(unsigned int nSoundId)
|
|
||||||
{
|
|
||||||
Mix_Resume(nSoundId % NR_CHANNELS);
|
|
||||||
}
|
|
||||||
|
|
||||||
void SimpleAudioEngine::resumeAllEffects()
|
|
||||||
{
|
|
||||||
for(int i = 0; i < NR_CHANNELS; i++)
|
|
||||||
{
|
|
||||||
Mix_Resume(i);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void SimpleAudioEngine::stopAllEffects()
|
|
||||||
{
|
|
||||||
for(int i = 0; i < NR_CHANNELS; i++)
|
|
||||||
{
|
|
||||||
Mix_HaltChannel(i);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,20 +0,0 @@
|
||||||
TARGET = libcocosdenshion.so
|
|
||||||
|
|
||||||
INCLUDES += -I.. -I../include
|
|
||||||
|
|
||||||
SOURCES = ../emscripten/SimpleAudioEngine.cpp
|
|
||||||
|
|
||||||
COCOS_ROOT = ../..
|
|
||||||
include $(COCOS_ROOT)/cocos2dx/proj.emscripten/cocos2dx.mk
|
|
||||||
|
|
||||||
TARGET := $(LIB_DIR)/$(TARGET)
|
|
||||||
|
|
||||||
all: $(TARGET)
|
|
||||||
|
|
||||||
$(TARGET): $(OBJECTS) $(CORE_MAKEFILE_LIST)
|
|
||||||
@mkdir -p $(@D)
|
|
||||||
$(CXX) $(CXXFLAGS) $(OBJECTS) -shared -o $(TARGET) $(SHAREDLIBS) $(STATICLIBS)
|
|
||||||
|
|
||||||
$(OBJ_DIR)/%.o: ../%.cpp $(CORE_MAKEFILE_LIST)
|
|
||||||
@mkdir -p $(@D)
|
|
||||||
$(CXX) $(CXXFLAGS) $(INCLUDES) $(DEFINES) $(VISIBILITY) -c $< -o $@
|
|
|
@ -1,348 +0,0 @@
|
||||||
// !$*UTF8*$!
|
|
||||||
{
|
|
||||||
archiveVersion = 1;
|
|
||||||
classes = {
|
|
||||||
};
|
|
||||||
objectVersion = 46;
|
|
||||||
objects = {
|
|
||||||
|
|
||||||
/* Begin PBXBuildFile section */
|
|
||||||
41E01E4E16D5D5E600ED686C /* Export.h in Headers */ = {isa = PBXBuildFile; fileRef = 41E01E4116D5D5E600ED686C /* Export.h */; };
|
|
||||||
41E01E4F16D5D5E600ED686C /* SimpleAudioEngine.h in Headers */ = {isa = PBXBuildFile; fileRef = 41E01E4216D5D5E600ED686C /* SimpleAudioEngine.h */; };
|
|
||||||
41E01E5016D5D5E600ED686C /* CDAudioManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 41E01E4416D5D5E600ED686C /* CDAudioManager.h */; };
|
|
||||||
41E01E5116D5D5E600ED686C /* CDAudioManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 41E01E4516D5D5E600ED686C /* CDAudioManager.m */; };
|
|
||||||
41E01E5216D5D5E600ED686C /* CDConfig.h in Headers */ = {isa = PBXBuildFile; fileRef = 41E01E4616D5D5E600ED686C /* CDConfig.h */; };
|
|
||||||
41E01E5316D5D5E600ED686C /* CDOpenALSupport.h in Headers */ = {isa = PBXBuildFile; fileRef = 41E01E4716D5D5E600ED686C /* CDOpenALSupport.h */; };
|
|
||||||
41E01E5416D5D5E600ED686C /* CDOpenALSupport.m in Sources */ = {isa = PBXBuildFile; fileRef = 41E01E4816D5D5E600ED686C /* CDOpenALSupport.m */; };
|
|
||||||
41E01E5516D5D5E600ED686C /* CocosDenshion.h in Headers */ = {isa = PBXBuildFile; fileRef = 41E01E4916D5D5E600ED686C /* CocosDenshion.h */; };
|
|
||||||
41E01E5616D5D5E600ED686C /* CocosDenshion.m in Sources */ = {isa = PBXBuildFile; fileRef = 41E01E4A16D5D5E600ED686C /* CocosDenshion.m */; };
|
|
||||||
41E01E5716D5D5E600ED686C /* SimpleAudioEngine.mm in Sources */ = {isa = PBXBuildFile; fileRef = 41E01E4B16D5D5E600ED686C /* SimpleAudioEngine.mm */; };
|
|
||||||
41E01E5816D5D5E600ED686C /* SimpleAudioEngine_objc.h in Headers */ = {isa = PBXBuildFile; fileRef = 41E01E4C16D5D5E600ED686C /* SimpleAudioEngine_objc.h */; };
|
|
||||||
41E01E5916D5D5E600ED686C /* SimpleAudioEngine_objc.m in Sources */ = {isa = PBXBuildFile; fileRef = 41E01E4D16D5D5E600ED686C /* SimpleAudioEngine_objc.m */; };
|
|
||||||
/* End PBXBuildFile section */
|
|
||||||
|
|
||||||
/* Begin PBXFileReference section */
|
|
||||||
41E01E4116D5D5E600ED686C /* Export.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Export.h; sourceTree = "<group>"; };
|
|
||||||
41E01E4216D5D5E600ED686C /* SimpleAudioEngine.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SimpleAudioEngine.h; sourceTree = "<group>"; };
|
|
||||||
41E01E4416D5D5E600ED686C /* CDAudioManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CDAudioManager.h; sourceTree = "<group>"; };
|
|
||||||
41E01E4516D5D5E600ED686C /* CDAudioManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CDAudioManager.m; sourceTree = "<group>"; };
|
|
||||||
41E01E4616D5D5E600ED686C /* CDConfig.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CDConfig.h; sourceTree = "<group>"; };
|
|
||||||
41E01E4716D5D5E600ED686C /* CDOpenALSupport.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CDOpenALSupport.h; sourceTree = "<group>"; };
|
|
||||||
41E01E4816D5D5E600ED686C /* CDOpenALSupport.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CDOpenALSupport.m; sourceTree = "<group>"; };
|
|
||||||
41E01E4916D5D5E600ED686C /* CocosDenshion.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CocosDenshion.h; sourceTree = "<group>"; };
|
|
||||||
41E01E4A16D5D5E600ED686C /* CocosDenshion.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CocosDenshion.m; sourceTree = "<group>"; };
|
|
||||||
41E01E4B16D5D5E600ED686C /* SimpleAudioEngine.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = SimpleAudioEngine.mm; sourceTree = "<group>"; };
|
|
||||||
41E01E4C16D5D5E600ED686C /* SimpleAudioEngine_objc.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SimpleAudioEngine_objc.h; sourceTree = "<group>"; };
|
|
||||||
41E01E4D16D5D5E600ED686C /* SimpleAudioEngine_objc.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SimpleAudioEngine_objc.m; sourceTree = "<group>"; };
|
|
||||||
D87CC2E5154FC6C500AAFE11 /* libCocosDenshion.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libCocosDenshion.a; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
||||||
/* End PBXFileReference section */
|
|
||||||
|
|
||||||
/* Begin PBXFrameworksBuildPhase section */
|
|
||||||
D87CC2E2154FC6C500AAFE11 /* Frameworks */ = {
|
|
||||||
isa = PBXFrameworksBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
);
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
};
|
|
||||||
/* End PBXFrameworksBuildPhase section */
|
|
||||||
|
|
||||||
/* Begin PBXGroup section */
|
|
||||||
4193AF8416C39EB1007E21D7 /* CocosDenshion */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
41E01E4016D5D5E600ED686C /* include */,
|
|
||||||
41E01E4316D5D5E600ED686C /* ios */,
|
|
||||||
);
|
|
||||||
name = CocosDenshion;
|
|
||||||
sourceTree = "<group>";
|
|
||||||
};
|
|
||||||
41E01E4016D5D5E600ED686C /* include */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
41E01E4116D5D5E600ED686C /* Export.h */,
|
|
||||||
41E01E4216D5D5E600ED686C /* SimpleAudioEngine.h */,
|
|
||||||
);
|
|
||||||
name = include;
|
|
||||||
path = ../include;
|
|
||||||
sourceTree = "<group>";
|
|
||||||
};
|
|
||||||
41E01E4316D5D5E600ED686C /* ios */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
41E01E4416D5D5E600ED686C /* CDAudioManager.h */,
|
|
||||||
41E01E4516D5D5E600ED686C /* CDAudioManager.m */,
|
|
||||||
41E01E4616D5D5E600ED686C /* CDConfig.h */,
|
|
||||||
41E01E4716D5D5E600ED686C /* CDOpenALSupport.h */,
|
|
||||||
41E01E4816D5D5E600ED686C /* CDOpenALSupport.m */,
|
|
||||||
41E01E4916D5D5E600ED686C /* CocosDenshion.h */,
|
|
||||||
41E01E4A16D5D5E600ED686C /* CocosDenshion.m */,
|
|
||||||
41E01E4B16D5D5E600ED686C /* SimpleAudioEngine.mm */,
|
|
||||||
41E01E4C16D5D5E600ED686C /* SimpleAudioEngine_objc.h */,
|
|
||||||
41E01E4D16D5D5E600ED686C /* SimpleAudioEngine_objc.m */,
|
|
||||||
);
|
|
||||||
name = ios;
|
|
||||||
path = ../ios;
|
|
||||||
sourceTree = "<group>";
|
|
||||||
};
|
|
||||||
D87CC2BB154FC66100AAFE11 = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
4193AF8416C39EB1007E21D7 /* CocosDenshion */,
|
|
||||||
D87CC2C9154FC66100AAFE11 /* Frameworks */,
|
|
||||||
D87CC2C7154FC66100AAFE11 /* Products */,
|
|
||||||
);
|
|
||||||
sourceTree = "<group>";
|
|
||||||
};
|
|
||||||
D87CC2C7154FC66100AAFE11 /* Products */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
D87CC2E5154FC6C500AAFE11 /* libCocosDenshion.a */,
|
|
||||||
);
|
|
||||||
name = Products;
|
|
||||||
sourceTree = "<group>";
|
|
||||||
};
|
|
||||||
D87CC2C9154FC66100AAFE11 /* Frameworks */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
);
|
|
||||||
name = Frameworks;
|
|
||||||
sourceTree = "<group>";
|
|
||||||
};
|
|
||||||
/* End PBXGroup section */
|
|
||||||
|
|
||||||
/* Begin PBXHeadersBuildPhase section */
|
|
||||||
D87CC2E3154FC6C500AAFE11 /* Headers */ = {
|
|
||||||
isa = PBXHeadersBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
41E01E4E16D5D5E600ED686C /* Export.h in Headers */,
|
|
||||||
41E01E4F16D5D5E600ED686C /* SimpleAudioEngine.h in Headers */,
|
|
||||||
41E01E5016D5D5E600ED686C /* CDAudioManager.h in Headers */,
|
|
||||||
41E01E5216D5D5E600ED686C /* CDConfig.h in Headers */,
|
|
||||||
41E01E5316D5D5E600ED686C /* CDOpenALSupport.h in Headers */,
|
|
||||||
41E01E5516D5D5E600ED686C /* CocosDenshion.h in Headers */,
|
|
||||||
41E01E5816D5D5E600ED686C /* SimpleAudioEngine_objc.h in Headers */,
|
|
||||||
);
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
};
|
|
||||||
/* End PBXHeadersBuildPhase section */
|
|
||||||
|
|
||||||
/* Begin PBXNativeTarget section */
|
|
||||||
D87CC2E4154FC6C500AAFE11 /* CocosDenshion */ = {
|
|
||||||
isa = PBXNativeTarget;
|
|
||||||
buildConfigurationList = D87CC2ED154FC6C500AAFE11 /* Build configuration list for PBXNativeTarget "CocosDenshion" */;
|
|
||||||
buildPhases = (
|
|
||||||
D87CC2E1154FC6C500AAFE11 /* Sources */,
|
|
||||||
D87CC2E2154FC6C500AAFE11 /* Frameworks */,
|
|
||||||
D87CC2E3154FC6C500AAFE11 /* Headers */,
|
|
||||||
185ADB8915A3935900CD7CE0 /* ShellScript */,
|
|
||||||
);
|
|
||||||
buildRules = (
|
|
||||||
);
|
|
||||||
dependencies = (
|
|
||||||
);
|
|
||||||
name = CocosDenshion;
|
|
||||||
productName = SPII;
|
|
||||||
productReference = D87CC2E5154FC6C500AAFE11 /* libCocosDenshion.a */;
|
|
||||||
productType = "com.apple.product-type.library.static";
|
|
||||||
};
|
|
||||||
/* End PBXNativeTarget section */
|
|
||||||
|
|
||||||
/* Begin PBXProject section */
|
|
||||||
D87CC2BD154FC66100AAFE11 /* Project object */ = {
|
|
||||||
isa = PBXProject;
|
|
||||||
attributes = {
|
|
||||||
CLASSPREFIX = SP;
|
|
||||||
LastUpgradeCheck = 0430;
|
|
||||||
ORGANIZATIONNAME = Cocoachina;
|
|
||||||
};
|
|
||||||
buildConfigurationList = D87CC2C0154FC66100AAFE11 /* Build configuration list for PBXProject "CocosDenshion" */;
|
|
||||||
compatibilityVersion = "Xcode 3.2";
|
|
||||||
developmentRegion = English;
|
|
||||||
hasScannedForEncodings = 0;
|
|
||||||
knownRegions = (
|
|
||||||
en,
|
|
||||||
"zh-Hans",
|
|
||||||
"zh-Hant",
|
|
||||||
);
|
|
||||||
mainGroup = D87CC2BB154FC66100AAFE11;
|
|
||||||
productRefGroup = D87CC2C7154FC66100AAFE11 /* Products */;
|
|
||||||
projectDirPath = "";
|
|
||||||
projectRoot = "";
|
|
||||||
targets = (
|
|
||||||
D87CC2E4154FC6C500AAFE11 /* CocosDenshion */,
|
|
||||||
);
|
|
||||||
};
|
|
||||||
/* End PBXProject section */
|
|
||||||
|
|
||||||
/* Begin PBXShellScriptBuildPhase section */
|
|
||||||
185ADB8915A3935900CD7CE0 /* ShellScript */ = {
|
|
||||||
isa = PBXShellScriptBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
);
|
|
||||||
inputPaths = (
|
|
||||||
);
|
|
||||||
outputPaths = (
|
|
||||||
);
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
shellPath = /bin/sh;
|
|
||||||
shellScript = "";
|
|
||||||
};
|
|
||||||
/* End PBXShellScriptBuildPhase section */
|
|
||||||
|
|
||||||
/* Begin PBXSourcesBuildPhase section */
|
|
||||||
D87CC2E1154FC6C500AAFE11 /* Sources */ = {
|
|
||||||
isa = PBXSourcesBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
41E01E5116D5D5E600ED686C /* CDAudioManager.m in Sources */,
|
|
||||||
41E01E5416D5D5E600ED686C /* CDOpenALSupport.m in Sources */,
|
|
||||||
41E01E5616D5D5E600ED686C /* CocosDenshion.m in Sources */,
|
|
||||||
41E01E5716D5D5E600ED686C /* SimpleAudioEngine.mm in Sources */,
|
|
||||||
41E01E5916D5D5E600ED686C /* SimpleAudioEngine_objc.m in Sources */,
|
|
||||||
);
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
};
|
|
||||||
/* End PBXSourcesBuildPhase section */
|
|
||||||
|
|
||||||
/* Begin XCBuildConfiguration section */
|
|
||||||
D87CC2DC154FC66100AAFE11 /* Debug */ = {
|
|
||||||
isa = XCBuildConfiguration;
|
|
||||||
buildSettings = {
|
|
||||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
||||||
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
|
|
||||||
CLANG_CXX_LANGUAGE_STANDARD = "compiler-default";
|
|
||||||
CLANG_CXX_LIBRARY = "compiler-default";
|
|
||||||
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
|
|
||||||
COPY_PHASE_STRIP = NO;
|
|
||||||
GCC_C_LANGUAGE_STANDARD = c89;
|
|
||||||
GCC_DYNAMIC_NO_PIC = NO;
|
|
||||||
GCC_OPTIMIZATION_LEVEL = 0;
|
|
||||||
GCC_PREPROCESSOR_DEFINITIONS = "";
|
|
||||||
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
|
|
||||||
GCC_VERSION = "";
|
|
||||||
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
|
||||||
GCC_WARN_UNINITIALIZED_AUTOS = YES;
|
|
||||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
||||||
HEADER_SEARCH_PATHS = "";
|
|
||||||
IPHONEOS_DEPLOYMENT_TARGET = 4.3;
|
|
||||||
SDKROOT = iphoneos;
|
|
||||||
TARGETED_DEVICE_FAMILY = "1,2";
|
|
||||||
VALID_ARCHS = armv7;
|
|
||||||
};
|
|
||||||
name = Debug;
|
|
||||||
};
|
|
||||||
D87CC2DD154FC66100AAFE11 /* Release */ = {
|
|
||||||
isa = XCBuildConfiguration;
|
|
||||||
buildSettings = {
|
|
||||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
||||||
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
|
|
||||||
CLANG_CXX_LANGUAGE_STANDARD = "compiler-default";
|
|
||||||
CLANG_CXX_LIBRARY = "compiler-default";
|
|
||||||
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
|
|
||||||
COPY_PHASE_STRIP = YES;
|
|
||||||
GCC_C_LANGUAGE_STANDARD = c89;
|
|
||||||
GCC_PREPROCESSOR_DEFINITIONS = "";
|
|
||||||
GCC_VERSION = "";
|
|
||||||
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
|
||||||
GCC_WARN_UNINITIALIZED_AUTOS = YES;
|
|
||||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
||||||
HEADER_SEARCH_PATHS = "";
|
|
||||||
IPHONEOS_DEPLOYMENT_TARGET = 4.3;
|
|
||||||
OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
|
|
||||||
SDKROOT = iphoneos;
|
|
||||||
TARGETED_DEVICE_FAMILY = "1,2";
|
|
||||||
VALIDATE_PRODUCT = YES;
|
|
||||||
VALID_ARCHS = armv7;
|
|
||||||
};
|
|
||||||
name = Release;
|
|
||||||
};
|
|
||||||
D87CC2EE154FC6C500AAFE11 /* Debug */ = {
|
|
||||||
isa = XCBuildConfiguration;
|
|
||||||
buildSettings = {
|
|
||||||
ALWAYS_SEARCH_USER_PATHS = YES;
|
|
||||||
CLANG_CXX_LANGUAGE_STANDARD = "c++0x";
|
|
||||||
CLANG_CXX_LIBRARY = "libc++";
|
|
||||||
DSTROOT = /tmp/CocosDenshion.dst;
|
|
||||||
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
|
|
||||||
GCC_C_LANGUAGE_STANDARD = c99;
|
|
||||||
GCC_INCREASE_PRECOMPILED_HEADER_SHARING = NO;
|
|
||||||
GCC_INLINES_ARE_PRIVATE_EXTERN = YES;
|
|
||||||
GCC_PRECOMPILE_PREFIX_HEADER = NO;
|
|
||||||
GCC_PREFIX_HEADER = "";
|
|
||||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
|
||||||
"DEBUG=1",
|
|
||||||
"COCOS2D_DEBUG=1",
|
|
||||||
CC_TARGET_OS_IPHONE,
|
|
||||||
);
|
|
||||||
GENERATE_PKGINFO_FILE = NO;
|
|
||||||
HEADER_SEARCH_PATHS = "\"$(SDKROOT)/usr/include/libxml2\"";
|
|
||||||
IPHONEOS_DEPLOYMENT_TARGET = 5.0;
|
|
||||||
LIBRARY_SEARCH_PATHS = "";
|
|
||||||
ONLY_ACTIVE_ARCH = YES;
|
|
||||||
OTHER_LDFLAGS = "-ObjC";
|
|
||||||
PRIVATE_HEADERS_FOLDER_PATH = /usr/local/include;
|
|
||||||
PRODUCT_NAME = CocosDenshion;
|
|
||||||
SKIP_INSTALL = YES;
|
|
||||||
TARGETED_DEVICE_FAMILY = "1,2";
|
|
||||||
USER_HEADER_SEARCH_PATHS = "../../cocos2dx/platform/ios ../../cocos2dx/include ../../cocos2dx/kazmath/include ../../cocos2dx/";
|
|
||||||
VALID_ARCHS = "armv7 armv7s";
|
|
||||||
};
|
|
||||||
name = Debug;
|
|
||||||
};
|
|
||||||
D87CC2EF154FC6C500AAFE11 /* Release */ = {
|
|
||||||
isa = XCBuildConfiguration;
|
|
||||||
buildSettings = {
|
|
||||||
ALWAYS_SEARCH_USER_PATHS = YES;
|
|
||||||
CLANG_CXX_LANGUAGE_STANDARD = "c++0x";
|
|
||||||
CLANG_CXX_LIBRARY = "libc++";
|
|
||||||
DSTROOT = /tmp/CocosDenshion.dst;
|
|
||||||
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
|
|
||||||
GCC_C_LANGUAGE_STANDARD = c99;
|
|
||||||
GCC_INCREASE_PRECOMPILED_HEADER_SHARING = NO;
|
|
||||||
GCC_INLINES_ARE_PRIVATE_EXTERN = YES;
|
|
||||||
GCC_PRECOMPILE_PREFIX_HEADER = NO;
|
|
||||||
GCC_PREFIX_HEADER = "";
|
|
||||||
GCC_PREPROCESSOR_DEFINITIONS = CC_TARGET_OS_IPHONE;
|
|
||||||
GENERATE_PKGINFO_FILE = NO;
|
|
||||||
HEADER_SEARCH_PATHS = "\"$(SDKROOT)/usr/include/libxml2\"";
|
|
||||||
IPHONEOS_DEPLOYMENT_TARGET = 5.0;
|
|
||||||
LIBRARY_SEARCH_PATHS = "";
|
|
||||||
ONLY_ACTIVE_ARCH = YES;
|
|
||||||
OTHER_LDFLAGS = "-ObjC";
|
|
||||||
PRIVATE_HEADERS_FOLDER_PATH = /usr/local/include;
|
|
||||||
PRODUCT_NAME = CocosDenshion;
|
|
||||||
SKIP_INSTALL = YES;
|
|
||||||
TARGETED_DEVICE_FAMILY = "1,2";
|
|
||||||
USER_HEADER_SEARCH_PATHS = "../../cocos2dx/platform/ios ../../cocos2dx/include ../../cocos2dx/kazmath/include ../../cocos2dx/";
|
|
||||||
VALID_ARCHS = "armv7 armv7s";
|
|
||||||
};
|
|
||||||
name = Release;
|
|
||||||
};
|
|
||||||
/* End XCBuildConfiguration section */
|
|
||||||
|
|
||||||
/* Begin XCConfigurationList section */
|
|
||||||
D87CC2C0154FC66100AAFE11 /* Build configuration list for PBXProject "CocosDenshion" */ = {
|
|
||||||
isa = XCConfigurationList;
|
|
||||||
buildConfigurations = (
|
|
||||||
D87CC2DC154FC66100AAFE11 /* Debug */,
|
|
||||||
D87CC2DD154FC66100AAFE11 /* Release */,
|
|
||||||
);
|
|
||||||
defaultConfigurationIsVisible = 0;
|
|
||||||
defaultConfigurationName = Release;
|
|
||||||
};
|
|
||||||
D87CC2ED154FC6C500AAFE11 /* Build configuration list for PBXNativeTarget "CocosDenshion" */ = {
|
|
||||||
isa = XCConfigurationList;
|
|
||||||
buildConfigurations = (
|
|
||||||
D87CC2EE154FC6C500AAFE11 /* Debug */,
|
|
||||||
D87CC2EF154FC6C500AAFE11 /* Release */,
|
|
||||||
);
|
|
||||||
defaultConfigurationIsVisible = 0;
|
|
||||||
defaultConfigurationName = Release;
|
|
||||||
};
|
|
||||||
/* End XCConfigurationList section */
|
|
||||||
};
|
|
||||||
rootObject = D87CC2BD154FC66100AAFE11 /* Project object */;
|
|
||||||
}
|
|
|
@ -1,342 +0,0 @@
|
||||||
// !$*UTF8*$!
|
|
||||||
{
|
|
||||||
archiveVersion = 1;
|
|
||||||
classes = {
|
|
||||||
};
|
|
||||||
objectVersion = 46;
|
|
||||||
objects = {
|
|
||||||
|
|
||||||
/* Begin PBXBuildFile section */
|
|
||||||
41E01E4E16D5D5E600ED686C /* Export.h in Headers */ = {isa = PBXBuildFile; fileRef = 41E01E4116D5D5E600ED686C /* Export.h */; };
|
|
||||||
41E01E4F16D5D5E600ED686C /* SimpleAudioEngine.h in Headers */ = {isa = PBXBuildFile; fileRef = 41E01E4216D5D5E600ED686C /* SimpleAudioEngine.h */; };
|
|
||||||
A0C2188717791E6D00BE78B5 /* CDAudioManager.h in Headers */ = {isa = PBXBuildFile; fileRef = A0C2187B17791E6D00BE78B5 /* CDAudioManager.h */; };
|
|
||||||
A0C2188817791E6D00BE78B5 /* CDAudioManager.m in Sources */ = {isa = PBXBuildFile; fileRef = A0C2187C17791E6D00BE78B5 /* CDAudioManager.m */; };
|
|
||||||
A0C2188917791E6D00BE78B5 /* CDConfig.h in Headers */ = {isa = PBXBuildFile; fileRef = A0C2187D17791E6D00BE78B5 /* CDConfig.h */; };
|
|
||||||
A0C2188A17791E6D00BE78B5 /* CDOpenALSupport.h in Headers */ = {isa = PBXBuildFile; fileRef = A0C2187E17791E6D00BE78B5 /* CDOpenALSupport.h */; };
|
|
||||||
A0C2188B17791E6D00BE78B5 /* CDOpenALSupport.m in Sources */ = {isa = PBXBuildFile; fileRef = A0C2187F17791E6D00BE78B5 /* CDOpenALSupport.m */; };
|
|
||||||
A0C2188C17791E6D00BE78B5 /* CDXMacOSXSupport.h in Headers */ = {isa = PBXBuildFile; fileRef = A0C2188017791E6D00BE78B5 /* CDXMacOSXSupport.h */; };
|
|
||||||
A0C2188D17791E6D00BE78B5 /* CDXMacOSXSupport.mm in Sources */ = {isa = PBXBuildFile; fileRef = A0C2188117791E6D00BE78B5 /* CDXMacOSXSupport.mm */; };
|
|
||||||
A0C2188E17791E6D00BE78B5 /* CocosDenshion.h in Headers */ = {isa = PBXBuildFile; fileRef = A0C2188217791E6D00BE78B5 /* CocosDenshion.h */; };
|
|
||||||
A0C2188F17791E6D00BE78B5 /* CocosDenshion.m in Sources */ = {isa = PBXBuildFile; fileRef = A0C2188317791E6D00BE78B5 /* CocosDenshion.m */; };
|
|
||||||
A0C2189017791E6D00BE78B5 /* SimpleAudioEngine.mm in Sources */ = {isa = PBXBuildFile; fileRef = A0C2188417791E6D00BE78B5 /* SimpleAudioEngine.mm */; };
|
|
||||||
A0C2189117791E6D00BE78B5 /* SimpleAudioEngine_objc.h in Headers */ = {isa = PBXBuildFile; fileRef = A0C2188517791E6D00BE78B5 /* SimpleAudioEngine_objc.h */; };
|
|
||||||
A0C2189217791E6D00BE78B5 /* SimpleAudioEngine_objc.m in Sources */ = {isa = PBXBuildFile; fileRef = A0C2188617791E6D00BE78B5 /* SimpleAudioEngine_objc.m */; };
|
|
||||||
/* End PBXBuildFile section */
|
|
||||||
|
|
||||||
/* Begin PBXFileReference section */
|
|
||||||
41E01E4116D5D5E600ED686C /* Export.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Export.h; sourceTree = "<group>"; };
|
|
||||||
41E01E4216D5D5E600ED686C /* SimpleAudioEngine.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SimpleAudioEngine.h; sourceTree = "<group>"; };
|
|
||||||
A0C2187B17791E6D00BE78B5 /* CDAudioManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CDAudioManager.h; sourceTree = "<group>"; };
|
|
||||||
A0C2187C17791E6D00BE78B5 /* CDAudioManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CDAudioManager.m; sourceTree = "<group>"; };
|
|
||||||
A0C2187D17791E6D00BE78B5 /* CDConfig.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CDConfig.h; sourceTree = "<group>"; };
|
|
||||||
A0C2187E17791E6D00BE78B5 /* CDOpenALSupport.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CDOpenALSupport.h; sourceTree = "<group>"; };
|
|
||||||
A0C2187F17791E6D00BE78B5 /* CDOpenALSupport.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CDOpenALSupport.m; sourceTree = "<group>"; };
|
|
||||||
A0C2188017791E6D00BE78B5 /* CDXMacOSXSupport.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CDXMacOSXSupport.h; sourceTree = "<group>"; };
|
|
||||||
A0C2188117791E6D00BE78B5 /* CDXMacOSXSupport.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = CDXMacOSXSupport.mm; sourceTree = "<group>"; };
|
|
||||||
A0C2188217791E6D00BE78B5 /* CocosDenshion.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CocosDenshion.h; sourceTree = "<group>"; };
|
|
||||||
A0C2188317791E6D00BE78B5 /* CocosDenshion.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CocosDenshion.m; sourceTree = "<group>"; };
|
|
||||||
A0C2188417791E6D00BE78B5 /* SimpleAudioEngine.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = SimpleAudioEngine.mm; sourceTree = "<group>"; };
|
|
||||||
A0C2188517791E6D00BE78B5 /* SimpleAudioEngine_objc.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SimpleAudioEngine_objc.h; sourceTree = "<group>"; };
|
|
||||||
A0C2188617791E6D00BE78B5 /* SimpleAudioEngine_objc.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SimpleAudioEngine_objc.m; sourceTree = "<group>"; };
|
|
||||||
D87CC2E5154FC6C500AAFE11 /* libCocosDenshion.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libCocosDenshion.a; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
||||||
/* End PBXFileReference section */
|
|
||||||
|
|
||||||
/* Begin PBXFrameworksBuildPhase section */
|
|
||||||
D87CC2E2154FC6C500AAFE11 /* Frameworks */ = {
|
|
||||||
isa = PBXFrameworksBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
);
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
};
|
|
||||||
/* End PBXFrameworksBuildPhase section */
|
|
||||||
|
|
||||||
/* Begin PBXGroup section */
|
|
||||||
4193AF8416C39EB1007E21D7 /* CocosDenshion */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
A0C2187A17791E6D00BE78B5 /* mac */,
|
|
||||||
41E01E4016D5D5E600ED686C /* include */,
|
|
||||||
);
|
|
||||||
name = CocosDenshion;
|
|
||||||
sourceTree = "<group>";
|
|
||||||
};
|
|
||||||
41E01E4016D5D5E600ED686C /* include */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
41E01E4116D5D5E600ED686C /* Export.h */,
|
|
||||||
41E01E4216D5D5E600ED686C /* SimpleAudioEngine.h */,
|
|
||||||
);
|
|
||||||
name = include;
|
|
||||||
path = ../include;
|
|
||||||
sourceTree = "<group>";
|
|
||||||
};
|
|
||||||
A0C2187A17791E6D00BE78B5 /* mac */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
A0C2187B17791E6D00BE78B5 /* CDAudioManager.h */,
|
|
||||||
A0C2187C17791E6D00BE78B5 /* CDAudioManager.m */,
|
|
||||||
A0C2187D17791E6D00BE78B5 /* CDConfig.h */,
|
|
||||||
A0C2187E17791E6D00BE78B5 /* CDOpenALSupport.h */,
|
|
||||||
A0C2187F17791E6D00BE78B5 /* CDOpenALSupport.m */,
|
|
||||||
A0C2188017791E6D00BE78B5 /* CDXMacOSXSupport.h */,
|
|
||||||
A0C2188117791E6D00BE78B5 /* CDXMacOSXSupport.mm */,
|
|
||||||
A0C2188217791E6D00BE78B5 /* CocosDenshion.h */,
|
|
||||||
A0C2188317791E6D00BE78B5 /* CocosDenshion.m */,
|
|
||||||
A0C2188417791E6D00BE78B5 /* SimpleAudioEngine.mm */,
|
|
||||||
A0C2188517791E6D00BE78B5 /* SimpleAudioEngine_objc.h */,
|
|
||||||
A0C2188617791E6D00BE78B5 /* SimpleAudioEngine_objc.m */,
|
|
||||||
);
|
|
||||||
name = mac;
|
|
||||||
path = ../mac;
|
|
||||||
sourceTree = "<group>";
|
|
||||||
};
|
|
||||||
D87CC2BB154FC66100AAFE11 = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
4193AF8416C39EB1007E21D7 /* CocosDenshion */,
|
|
||||||
D87CC2C9154FC66100AAFE11 /* Frameworks */,
|
|
||||||
D87CC2C7154FC66100AAFE11 /* Products */,
|
|
||||||
);
|
|
||||||
sourceTree = "<group>";
|
|
||||||
};
|
|
||||||
D87CC2C7154FC66100AAFE11 /* Products */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
D87CC2E5154FC6C500AAFE11 /* libCocosDenshion.a */,
|
|
||||||
);
|
|
||||||
name = Products;
|
|
||||||
sourceTree = "<group>";
|
|
||||||
};
|
|
||||||
D87CC2C9154FC66100AAFE11 /* Frameworks */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
);
|
|
||||||
name = Frameworks;
|
|
||||||
sourceTree = "<group>";
|
|
||||||
};
|
|
||||||
/* End PBXGroup section */
|
|
||||||
|
|
||||||
/* Begin PBXHeadersBuildPhase section */
|
|
||||||
D87CC2E3154FC6C500AAFE11 /* Headers */ = {
|
|
||||||
isa = PBXHeadersBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
41E01E4E16D5D5E600ED686C /* Export.h in Headers */,
|
|
||||||
41E01E4F16D5D5E600ED686C /* SimpleAudioEngine.h in Headers */,
|
|
||||||
A0C2188717791E6D00BE78B5 /* CDAudioManager.h in Headers */,
|
|
||||||
A0C2188917791E6D00BE78B5 /* CDConfig.h in Headers */,
|
|
||||||
A0C2188A17791E6D00BE78B5 /* CDOpenALSupport.h in Headers */,
|
|
||||||
A0C2188C17791E6D00BE78B5 /* CDXMacOSXSupport.h in Headers */,
|
|
||||||
A0C2188E17791E6D00BE78B5 /* CocosDenshion.h in Headers */,
|
|
||||||
A0C2189117791E6D00BE78B5 /* SimpleAudioEngine_objc.h in Headers */,
|
|
||||||
);
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
};
|
|
||||||
/* End PBXHeadersBuildPhase section */
|
|
||||||
|
|
||||||
/* Begin PBXNativeTarget section */
|
|
||||||
D87CC2E4154FC6C500AAFE11 /* CocosDenshion */ = {
|
|
||||||
isa = PBXNativeTarget;
|
|
||||||
buildConfigurationList = D87CC2ED154FC6C500AAFE11 /* Build configuration list for PBXNativeTarget "CocosDenshion" */;
|
|
||||||
buildPhases = (
|
|
||||||
D87CC2E1154FC6C500AAFE11 /* Sources */,
|
|
||||||
D87CC2E2154FC6C500AAFE11 /* Frameworks */,
|
|
||||||
D87CC2E3154FC6C500AAFE11 /* Headers */,
|
|
||||||
185ADB8915A3935900CD7CE0 /* ShellScript */,
|
|
||||||
);
|
|
||||||
buildRules = (
|
|
||||||
);
|
|
||||||
dependencies = (
|
|
||||||
);
|
|
||||||
name = CocosDenshion;
|
|
||||||
productName = SPII;
|
|
||||||
productReference = D87CC2E5154FC6C500AAFE11 /* libCocosDenshion.a */;
|
|
||||||
productType = "com.apple.product-type.library.static";
|
|
||||||
};
|
|
||||||
/* End PBXNativeTarget section */
|
|
||||||
|
|
||||||
/* Begin PBXProject section */
|
|
||||||
D87CC2BD154FC66100AAFE11 /* Project object */ = {
|
|
||||||
isa = PBXProject;
|
|
||||||
attributes = {
|
|
||||||
CLASSPREFIX = SP;
|
|
||||||
LastUpgradeCheck = 0430;
|
|
||||||
ORGANIZATIONNAME = Cocoachina;
|
|
||||||
};
|
|
||||||
buildConfigurationList = D87CC2C0154FC66100AAFE11 /* Build configuration list for PBXProject "CocosDenshion" */;
|
|
||||||
compatibilityVersion = "Xcode 3.2";
|
|
||||||
developmentRegion = English;
|
|
||||||
hasScannedForEncodings = 0;
|
|
||||||
knownRegions = (
|
|
||||||
en,
|
|
||||||
"zh-Hans",
|
|
||||||
"zh-Hant",
|
|
||||||
);
|
|
||||||
mainGroup = D87CC2BB154FC66100AAFE11;
|
|
||||||
productRefGroup = D87CC2C7154FC66100AAFE11 /* Products */;
|
|
||||||
projectDirPath = "";
|
|
||||||
projectRoot = "";
|
|
||||||
targets = (
|
|
||||||
D87CC2E4154FC6C500AAFE11 /* CocosDenshion */,
|
|
||||||
);
|
|
||||||
};
|
|
||||||
/* End PBXProject section */
|
|
||||||
|
|
||||||
/* Begin PBXShellScriptBuildPhase section */
|
|
||||||
185ADB8915A3935900CD7CE0 /* ShellScript */ = {
|
|
||||||
isa = PBXShellScriptBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
);
|
|
||||||
inputPaths = (
|
|
||||||
);
|
|
||||||
outputPaths = (
|
|
||||||
);
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
shellPath = /bin/sh;
|
|
||||||
shellScript = "";
|
|
||||||
};
|
|
||||||
/* End PBXShellScriptBuildPhase section */
|
|
||||||
|
|
||||||
/* Begin PBXSourcesBuildPhase section */
|
|
||||||
D87CC2E1154FC6C500AAFE11 /* Sources */ = {
|
|
||||||
isa = PBXSourcesBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
A0C2188817791E6D00BE78B5 /* CDAudioManager.m in Sources */,
|
|
||||||
A0C2188B17791E6D00BE78B5 /* CDOpenALSupport.m in Sources */,
|
|
||||||
A0C2188D17791E6D00BE78B5 /* CDXMacOSXSupport.mm in Sources */,
|
|
||||||
A0C2188F17791E6D00BE78B5 /* CocosDenshion.m in Sources */,
|
|
||||||
A0C2189017791E6D00BE78B5 /* SimpleAudioEngine.mm in Sources */,
|
|
||||||
A0C2189217791E6D00BE78B5 /* SimpleAudioEngine_objc.m in Sources */,
|
|
||||||
);
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
};
|
|
||||||
/* End PBXSourcesBuildPhase section */
|
|
||||||
|
|
||||||
/* Begin XCBuildConfiguration section */
|
|
||||||
D87CC2DC154FC66100AAFE11 /* Debug */ = {
|
|
||||||
isa = XCBuildConfiguration;
|
|
||||||
buildSettings = {
|
|
||||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
||||||
ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
|
|
||||||
CLANG_CXX_LANGUAGE_STANDARD = "c++0x";
|
|
||||||
CLANG_CXX_LIBRARY = "libc++";
|
|
||||||
COPY_PHASE_STRIP = NO;
|
|
||||||
GCC_C_LANGUAGE_STANDARD = c99;
|
|
||||||
GCC_DYNAMIC_NO_PIC = NO;
|
|
||||||
GCC_OPTIMIZATION_LEVEL = 0;
|
|
||||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
|
||||||
CC_TARGET_OS_MAC,
|
|
||||||
DEBUG,
|
|
||||||
"COCOS2D_DEBUG=1",
|
|
||||||
);
|
|
||||||
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
|
|
||||||
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
|
||||||
GCC_WARN_UNINITIALIZED_AUTOS = YES;
|
|
||||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
||||||
HEADER_SEARCH_PATHS = "";
|
|
||||||
ONLY_ACTIVE_ARCH = YES;
|
|
||||||
SDKROOT = macosx;
|
|
||||||
};
|
|
||||||
name = Debug;
|
|
||||||
};
|
|
||||||
D87CC2DD154FC66100AAFE11 /* Release */ = {
|
|
||||||
isa = XCBuildConfiguration;
|
|
||||||
buildSettings = {
|
|
||||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
||||||
ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
|
|
||||||
CLANG_CXX_LANGUAGE_STANDARD = "c++0x";
|
|
||||||
CLANG_CXX_LIBRARY = "libc++";
|
|
||||||
GCC_C_LANGUAGE_STANDARD = c99;
|
|
||||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
|
||||||
CC_TARGET_OS_MAC,
|
|
||||||
NDEBUG,
|
|
||||||
);
|
|
||||||
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
|
||||||
GCC_WARN_UNINITIALIZED_AUTOS = YES;
|
|
||||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
||||||
HEADER_SEARCH_PATHS = "";
|
|
||||||
SDKROOT = macosx;
|
|
||||||
VALIDATE_PRODUCT = YES;
|
|
||||||
};
|
|
||||||
name = Release;
|
|
||||||
};
|
|
||||||
D87CC2EE154FC6C500AAFE11 /* Debug */ = {
|
|
||||||
isa = XCBuildConfiguration;
|
|
||||||
buildSettings = {
|
|
||||||
ALWAYS_SEARCH_USER_PATHS = YES;
|
|
||||||
CLANG_CXX_LANGUAGE_STANDARD = "c++0x";
|
|
||||||
CLANG_CXX_LIBRARY = "libc++";
|
|
||||||
DSTROOT = /tmp/CocosDenshion.dst;
|
|
||||||
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
|
|
||||||
GCC_C_LANGUAGE_STANDARD = c99;
|
|
||||||
GCC_INCREASE_PRECOMPILED_HEADER_SHARING = NO;
|
|
||||||
GCC_INLINES_ARE_PRIVATE_EXTERN = YES;
|
|
||||||
GCC_PRECOMPILE_PREFIX_HEADER = NO;
|
|
||||||
GCC_PREFIX_HEADER = "";
|
|
||||||
GENERATE_PKGINFO_FILE = NO;
|
|
||||||
HEADER_SEARCH_PATHS = "\"$(SDKROOT)/usr/include/libxml2\"";
|
|
||||||
IPHONEOS_DEPLOYMENT_TARGET = 5.0;
|
|
||||||
LIBRARY_SEARCH_PATHS = "";
|
|
||||||
OTHER_LDFLAGS = "-ObjC";
|
|
||||||
PRIVATE_HEADERS_FOLDER_PATH = /usr/local/include;
|
|
||||||
PRODUCT_NAME = CocosDenshion;
|
|
||||||
SKIP_INSTALL = YES;
|
|
||||||
TARGETED_DEVICE_FAMILY = "1,2";
|
|
||||||
USER_HEADER_SEARCH_PATHS = "../../cocos2dx/platform/mac ../../cocos2dx/include ../../cocos2dx/kazmath/include ../../cocos2dx/";
|
|
||||||
};
|
|
||||||
name = Debug;
|
|
||||||
};
|
|
||||||
D87CC2EF154FC6C500AAFE11 /* Release */ = {
|
|
||||||
isa = XCBuildConfiguration;
|
|
||||||
buildSettings = {
|
|
||||||
ALWAYS_SEARCH_USER_PATHS = YES;
|
|
||||||
CLANG_CXX_LANGUAGE_STANDARD = "c++0x";
|
|
||||||
CLANG_CXX_LIBRARY = "libc++";
|
|
||||||
DSTROOT = /tmp/CocosDenshion.dst;
|
|
||||||
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
|
|
||||||
GCC_C_LANGUAGE_STANDARD = c99;
|
|
||||||
GCC_INCREASE_PRECOMPILED_HEADER_SHARING = NO;
|
|
||||||
GCC_INLINES_ARE_PRIVATE_EXTERN = YES;
|
|
||||||
GCC_PRECOMPILE_PREFIX_HEADER = NO;
|
|
||||||
GCC_PREFIX_HEADER = "";
|
|
||||||
GENERATE_PKGINFO_FILE = NO;
|
|
||||||
HEADER_SEARCH_PATHS = "\"$(SDKROOT)/usr/include/libxml2\"";
|
|
||||||
IPHONEOS_DEPLOYMENT_TARGET = 5.0;
|
|
||||||
LIBRARY_SEARCH_PATHS = "";
|
|
||||||
OTHER_LDFLAGS = "-ObjC";
|
|
||||||
PRIVATE_HEADERS_FOLDER_PATH = /usr/local/include;
|
|
||||||
PRODUCT_NAME = CocosDenshion;
|
|
||||||
SKIP_INSTALL = YES;
|
|
||||||
TARGETED_DEVICE_FAMILY = "1,2";
|
|
||||||
USER_HEADER_SEARCH_PATHS = "../../cocos2dx/platform/mac ../../cocos2dx/include ../../cocos2dx/kazmath/include ../../cocos2dx/";
|
|
||||||
};
|
|
||||||
name = Release;
|
|
||||||
};
|
|
||||||
/* End XCBuildConfiguration section */
|
|
||||||
|
|
||||||
/* Begin XCConfigurationList section */
|
|
||||||
D87CC2C0154FC66100AAFE11 /* Build configuration list for PBXProject "CocosDenshion" */ = {
|
|
||||||
isa = XCConfigurationList;
|
|
||||||
buildConfigurations = (
|
|
||||||
D87CC2DC154FC66100AAFE11 /* Debug */,
|
|
||||||
D87CC2DD154FC66100AAFE11 /* Release */,
|
|
||||||
);
|
|
||||||
defaultConfigurationIsVisible = 0;
|
|
||||||
defaultConfigurationName = Release;
|
|
||||||
};
|
|
||||||
D87CC2ED154FC6C500AAFE11 /* Build configuration list for PBXNativeTarget "CocosDenshion" */ = {
|
|
||||||
isa = XCConfigurationList;
|
|
||||||
buildConfigurations = (
|
|
||||||
D87CC2EE154FC6C500AAFE11 /* Debug */,
|
|
||||||
D87CC2EF154FC6C500AAFE11 /* Release */,
|
|
||||||
);
|
|
||||||
defaultConfigurationIsVisible = 0;
|
|
||||||
defaultConfigurationName = Release;
|
|
||||||
};
|
|
||||||
/* End XCConfigurationList section */
|
|
||||||
};
|
|
||||||
rootObject = D87CC2BD154FC66100AAFE11 /* Project object */;
|
|
||||||
}
|
|
|
@ -1,20 +0,0 @@
|
||||||
COCOS_ROOT = ../..
|
|
||||||
|
|
||||||
INCLUDES = -I../include
|
|
||||||
|
|
||||||
SOURCES = ../openal/OpenALDecoder.cpp \
|
|
||||||
../openal/SimpleAudioEngine.cpp
|
|
||||||
|
|
||||||
include $(COCOS_ROOT)/cocos2dx/proj.nacl/cocos2dx.mk
|
|
||||||
|
|
||||||
TARGET = $(LIB_DIR)/libcocosdenshion.a
|
|
||||||
|
|
||||||
all: $(TARGET)
|
|
||||||
|
|
||||||
$(TARGET): $(OBJECTS) $(CORE_MAKEFILE_LIST)
|
|
||||||
@mkdir -p $(@D)
|
|
||||||
$(LOG_AR)$(NACL_AR) $(ARFLAGS) $(TARGET) $(OBJECTS)
|
|
||||||
|
|
||||||
$(OBJ_DIR)/%.o: ../%.cpp $(CORE_MAKEFILE_LIST)
|
|
||||||
@mkdir -p $(@D)
|
|
||||||
$(LOG_CXX)$(NACL_CXX) -MMD $(CXXFLAGS) $(INCLUDES) $(DEFINES) -c $< -o $@
|
|
|
@ -1,15 +0,0 @@
|
||||||
|
|
||||||
include(../../cocos2dx/proj.qt5/common.pri)
|
|
||||||
|
|
||||||
TEMPLATE = lib
|
|
||||||
|
|
||||||
SOURCES += $$files(../qt5/*.cpp)
|
|
||||||
|
|
||||||
INCLUDEPATH += ..
|
|
||||||
INCLUDEPATH += ../include
|
|
||||||
|
|
||||||
TARGET = $${LIB_OUTPUT_DIR}/cocosdenshion
|
|
||||||
|
|
||||||
INSTALLS += target
|
|
||||||
target.path = $${LIB_INSTALL_DIR}
|
|
||||||
|
|
|
@ -1,345 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
||||||
<?fileVersion 4.0.0?><cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
|
|
||||||
<storageModule moduleId="org.eclipse.cdt.core.settings">
|
|
||||||
<cconfiguration id="org.tizen.nativecpp.config.sbi.gcc45.lib.debug.emulator.1855378280">
|
|
||||||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="org.tizen.nativecpp.config.sbi.gcc45.lib.debug.emulator.1855378280" moduleId="org.eclipse.cdt.core.settings" name="Debug-Tizen-Emulator">
|
|
||||||
<macros>
|
|
||||||
<stringMacro name="COCOS_ROOT" type="VALUE_PATH_ANY" value="../../.."/>
|
|
||||||
<stringMacro name="COCOS_SRC" type="VALUE_PATH_ANY" value="${COCOS_ROOT}/cocos2dx"/>
|
|
||||||
</macros>
|
|
||||||
<externalSettings/>
|
|
||||||
<extensions>
|
|
||||||
<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
|
|
||||||
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
|
||||||
<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
|
|
||||||
<extension id="org.eclipse.cdt.core.MakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
|
||||||
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
|
||||||
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
|
||||||
</extensions>
|
|
||||||
</storageModule>
|
|
||||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
|
||||||
<configuration artifactExtension="a" artifactName="cocosdenshion" buildArtefactType="org.tizen.nativecpp.buildArtefactType.staticLib" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug,org.eclipse.cdt.build.core.buildArtefactType=org.tizen.nativecpp.buildArtefactType.staticLib" cleanCommand="rm -f" description="" errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;" id="org.tizen.nativecpp.config.sbi.gcc45.lib.debug.emulator.1855378280" name="Debug-Tizen-Emulator" parent="org.tizen.nativecpp.config.sbi.gcc45.lib.debug.emulator">
|
|
||||||
<folderInfo id="org.tizen.nativecpp.config.sbi.gcc45.lib.debug.emulator.1855378280." name="/" resourcePath="">
|
|
||||||
<toolChain id="org.tizen.nativecpp.toolchain.sbi.gcc45.lib.debug.emulator.2014007899" name="Tizen Native Toolchain" superClass="org.tizen.nativecpp.toolchain.sbi.gcc45.lib.debug.emulator">
|
|
||||||
<targetPlatform binaryParser="org.eclipse.cdt.core.ELF" id="org.tizen.nativeide.target.sbi.gnu.platform.base.1067387441" osList="linux,win32" superClass="org.tizen.nativeide.target.sbi.gnu.platform.base"/>
|
|
||||||
<builder autoBuildTarget="all" buildPath="${workspace_loc:/cocosdenshion/Debug-Tizen-Emulator}" enableAutoBuild="true" id="org.tizen.nativecpp.target.sbi.gnu.builder.1261707379" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Tizen Application Builder" superClass="org.tizen.nativecpp.target.sbi.gnu.builder"/>
|
|
||||||
<tool command="i386-linux-gnueabi-ar.exe" commandLinePattern="${COMMAND} ${FLAGS} ${OUTPUT_FLAG} ${OUTPUT_PREFIX}${OUTPUT} ${INPUTS}" id="org.tizen.nativecpp.tool.sbi.gnu.archiver.689316005" name="Archiver" superClass="org.tizen.nativecpp.tool.sbi.gnu.archiver"/>
|
|
||||||
<tool command="i386-linux-gnueabi-g++.exe" id="org.tizen.nativecpp.tool.sbi.gnu.cpp.compiler.1533358351" name="C++ Compiler" superClass="org.tizen.nativecpp.tool.sbi.gnu.cpp.compiler">
|
|
||||||
<option id="gnu.cpp.compiler.option.optimization.level.1726560828" name="Optimization Level" superClass="gnu.cpp.compiler.option.optimization.level" value="gnu.cpp.compiler.optimization.level.none" valueType="enumerated"/>
|
|
||||||
<option id="sbi.gnu.cpp.compiler.option.debugging.level.1554282679" name="Debug level" superClass="sbi.gnu.cpp.compiler.option.debugging.level" value="gnu.cpp.compiler.debugging.level.max" valueType="enumerated"/>
|
|
||||||
<option id="sbi.gnu.cpp.compiler.option.debug.applog.1800109419" name="Enable application logging (-D_APP_LOG)" superClass="sbi.gnu.cpp.compiler.option.debug.applog" value="true" valueType="boolean"/>
|
|
||||||
<option id="sbi.gnu.cpp.compiler.option.796499718" name="Tizen-Target" superClass="sbi.gnu.cpp.compiler.option" valueType="userObjs">
|
|
||||||
<listOptionValue builtIn="false" value="tizen-emulator-2.2.native_gcc45.i386.cpp.staticLib"/>
|
|
||||||
</option>
|
|
||||||
<option id="gnu.cpp.compiler.option.include.paths.1887202981" name="Include paths (-I)" superClass="gnu.cpp.compiler.option.include.paths" valueType="includePath">
|
|
||||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/inc}""/>
|
|
||||||
<listOptionValue builtIn="false" value="../../include"/>
|
|
||||||
<listOptionValue builtIn="false" value=""${COCOS_SRC}""/>
|
|
||||||
<listOptionValue builtIn="false" value=""${COCOS_SRC}/include""/>
|
|
||||||
<listOptionValue builtIn="false" value=""${COCOS_SRC}/kazmath/include""/>
|
|
||||||
<listOptionValue builtIn="false" value=""${COCOS_SRC}/platform/tizen""/>
|
|
||||||
</option>
|
|
||||||
<option id="sbi.gnu.cpp.compiler.option.frameworks.cpp.140749819" name="Tizen-Frameworks" superClass="sbi.gnu.cpp.compiler.option.frameworks.cpp" valueType="userObjs">
|
|
||||||
<listOptionValue builtIn="false" value="osp-static"/>
|
|
||||||
</option>
|
|
||||||
<option id="sbi.gnu.cpp.compiler.option.frameworks_inc.cpp.1250550482" name="Tizen-Frameworks-Include-Path" superClass="sbi.gnu.cpp.compiler.option.frameworks_inc.cpp" valueType="includePath">
|
|
||||||
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/libxml2""/>
|
|
||||||
<listOptionValue builtIn="false" value=""C:\tizen-sdk\library""/>
|
|
||||||
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include""/>
|
|
||||||
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/osp""/>
|
|
||||||
</option>
|
|
||||||
<option id="sbi.gnu.cpp.compiler.option.frameworks_cflags.cpp.1942713160" name="Tizen-Frameworks-Other-Cflags" superClass="sbi.gnu.cpp.compiler.option.frameworks_cflags.cpp" valueType="stringList">
|
|
||||||
<listOptionValue builtIn="false" value=" -fPIC"/>
|
|
||||||
<listOptionValue builtIn="false" value="--sysroot="${SBI_SYSROOT}""/>
|
|
||||||
</option>
|
|
||||||
<option id="gnu.cpp.compiler.option.preprocessor.def.67860287" name="Defined symbols (-D)" superClass="gnu.cpp.compiler.option.preprocessor.def" valueType="definedSymbols">
|
|
||||||
<listOptionValue builtIn="false" value="_DEBUG"/>
|
|
||||||
<listOptionValue builtIn="false" value="TIZEN"/>
|
|
||||||
</option>
|
|
||||||
<option id="gnu.cpp.compiler.option.other.other.1642224950" 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"/>
|
|
||||||
</tool>
|
|
||||||
<tool command="i386-linux-gnueabi-gcc.exe" id="org.tizen.nativecpp.tool.sbi.gnu.c.compiler.263460224" name="C Compiler" superClass="org.tizen.nativecpp.tool.sbi.gnu.c.compiler">
|
|
||||||
<option defaultValue="gnu.c.optimization.level.none" id="gnu.c.compiler.option.optimization.level.819197061" name="Optimization Level" superClass="gnu.c.compiler.option.optimization.level" valueType="enumerated"/>
|
|
||||||
<option id="sbi.gnu.c.compiler.option.debugging.level.709891206" name="Debug level" superClass="sbi.gnu.c.compiler.option.debugging.level" value="gnu.c.debugging.level.max" valueType="enumerated"/>
|
|
||||||
<option id="sbi.gnu.c.compiler.option.debug.applog.1166511754" name="Enable application logging (-D_APP_LOG)" superClass="sbi.gnu.c.compiler.option.debug.applog" value="true" valueType="boolean"/>
|
|
||||||
<option id="sbi.gnu.c.compiler.option.1738169580" name="Tizen-Target" superClass="sbi.gnu.c.compiler.option" valueType="userObjs">
|
|
||||||
<listOptionValue builtIn="false" value="tizen-emulator-2.2.native_gcc45.i386.cpp.staticLib"/>
|
|
||||||
</option>
|
|
||||||
<option id="gnu.c.compiler.option.include.paths.821405214" name="Include paths (-I)" superClass="gnu.c.compiler.option.include.paths" valueType="includePath">
|
|
||||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/inc}""/>
|
|
||||||
</option>
|
|
||||||
<option id="sbi.gnu.c.compiler.option.frameworks.cpp.229730784" name="Tizen-Frameworks" superClass="sbi.gnu.c.compiler.option.frameworks.cpp" valueType="userObjs">
|
|
||||||
<listOptionValue builtIn="false" value="osp-static"/>
|
|
||||||
</option>
|
|
||||||
<option id="sbi.gnu.c.compiler.option.frameworks_inc.cpp.1139638882" name="Tizen-Frameworks-Include-Path" superClass="sbi.gnu.c.compiler.option.frameworks_inc.cpp" valueType="includePath">
|
|
||||||
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/libxml2""/>
|
|
||||||
<listOptionValue builtIn="false" value=""C:\tizen-sdk\library""/>
|
|
||||||
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include""/>
|
|
||||||
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/osp""/>
|
|
||||||
</option>
|
|
||||||
<option id="sbi.gnu.c.compiler.option.frameworks_cflags.cpp.1131449804" name="Tizen-Frameworks-Other-Cflags" superClass="sbi.gnu.c.compiler.option.frameworks_cflags.cpp" valueType="stringList">
|
|
||||||
<listOptionValue builtIn="false" value=" -fPIC"/>
|
|
||||||
<listOptionValue builtIn="false" value="--sysroot="${SBI_SYSROOT}""/>
|
|
||||||
</option>
|
|
||||||
<option id="gnu.c.compiler.option.preprocessor.def.symbols.31661523" name="Defined symbols (-D)" superClass="gnu.c.compiler.option.preprocessor.def.symbols" valueType="definedSymbols">
|
|
||||||
<listOptionValue builtIn="false" value="_DEBUG"/>
|
|
||||||
</option>
|
|
||||||
<inputType id="sbi.gnu.c.compiler.tizen.inputType.94264147" superClass="sbi.gnu.c.compiler.tizen.inputType"/>
|
|
||||||
</tool>
|
|
||||||
<tool id="org.tizen.nativeide.tool.sbi.gnu.c.linker.base.792552065" name="C Linker" superClass="org.tizen.nativeide.tool.sbi.gnu.c.linker.base"/>
|
|
||||||
<tool command="i386-linux-gnueabi-g++.exe" id="org.tizen.nativecpp.tool.sbi.gnu.cpp.linker.1518096171" name="C++ Linker" superClass="org.tizen.nativecpp.tool.sbi.gnu.cpp.linker">
|
|
||||||
<option id="gnu.cpp.link.option.paths.43791296" name="Library search path (-L)" superClass="gnu.cpp.link.option.paths" valueType="libPaths">
|
|
||||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/lib}""/>
|
|
||||||
</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">
|
|
||||||
<listOptionValue builtIn="false" value="--sysroot="${SBI_SYSROOT}""/>
|
|
||||||
</option>
|
|
||||||
</tool>
|
|
||||||
<tool command="i386-linux-gnueabi-as.exe" id="org.tizen.nativeapp.tool.sbi.gnu.assembler.base.165476943" name="Assembler" superClass="org.tizen.nativeapp.tool.sbi.gnu.assembler.base">
|
|
||||||
<inputType id="cdt.managedbuild.tool.gnu.assembler.input.517365643" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
|
|
||||||
</tool>
|
|
||||||
<tool id="org.tizen.nativecpp.tool.sbi.po.compiler.254627421" name="PO Resource Compiler" superClass="org.tizen.nativecpp.tool.sbi.po.compiler"/>
|
|
||||||
<tool id="org.tizen.nativecpp.tool.sbi.edc.compiler.8480881" name="EDC Resource Compiler" superClass="org.tizen.nativecpp.tool.sbi.edc.compiler"/>
|
|
||||||
</toolChain>
|
|
||||||
</folderInfo>
|
|
||||||
<sourceEntries>
|
|
||||||
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="src"/>
|
|
||||||
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="inc"/>
|
|
||||||
</sourceEntries>
|
|
||||||
</configuration>
|
|
||||||
</storageModule>
|
|
||||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
|
||||||
</cconfiguration>
|
|
||||||
<cconfiguration id="org.tizen.nativecpp.config.sbi.gcc45.lib.debug.device.1240851129">
|
|
||||||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="org.tizen.nativecpp.config.sbi.gcc45.lib.debug.device.1240851129" moduleId="org.eclipse.cdt.core.settings" name="Debug-Tizen-Device">
|
|
||||||
<macros>
|
|
||||||
<stringMacro name="COCOS_ROOT" type="VALUE_PATH_ANY" value="../../.."/>
|
|
||||||
<stringMacro name="COCOS_SRC" type="VALUE_PATH_ANY" value="${COCOS_ROOT}/cocos2dx"/>
|
|
||||||
</macros>
|
|
||||||
<externalSettings/>
|
|
||||||
<extensions>
|
|
||||||
<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
|
|
||||||
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
|
||||||
<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
|
|
||||||
<extension id="org.eclipse.cdt.core.MakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
|
||||||
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
|
||||||
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
|
||||||
</extensions>
|
|
||||||
</storageModule>
|
|
||||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
|
||||||
<configuration artifactExtension="a" artifactName="${ProjName}" buildArtefactType="org.tizen.nativecpp.buildArtefactType.staticLib" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug,org.eclipse.cdt.build.core.buildArtefactType=org.tizen.nativecpp.buildArtefactType.staticLib" cleanCommand="rm -f" description="" errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;" id="org.tizen.nativecpp.config.sbi.gcc45.lib.debug.device.1240851129" name="Debug-Tizen-Device" parent="org.tizen.nativecpp.config.sbi.gcc45.lib.debug.device">
|
|
||||||
<folderInfo id="org.tizen.nativecpp.config.sbi.gcc45.lib.debug.device.1240851129." name="/" resourcePath="">
|
|
||||||
<toolChain id="org.tizen.nativecpp.toolchain.sbi.gcc45.lib.debug.device.1011815399" name="Tizen Native Toolchain" superClass="org.tizen.nativecpp.toolchain.sbi.gcc45.lib.debug.device">
|
|
||||||
<targetPlatform binaryParser="org.eclipse.cdt.core.ELF" id="org.tizen.nativeide.target.sbi.gnu.platform.base.205106495" osList="linux,win32" superClass="org.tizen.nativeide.target.sbi.gnu.platform.base"/>
|
|
||||||
<builder buildPath="${workspace_loc:/cocosdenshion/Debug-Tizen-Device}" id="org.tizen.nativecpp.target.sbi.gnu.builder.391616426" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Tizen Application Builder" superClass="org.tizen.nativecpp.target.sbi.gnu.builder"/>
|
|
||||||
<tool command="arm-linux-gnueabi-ar.exe" id="org.tizen.nativecpp.tool.sbi.gnu.archiver.1946190238" name="Archiver" superClass="org.tizen.nativecpp.tool.sbi.gnu.archiver"/>
|
|
||||||
<tool command="arm-linux-gnueabi-g++.exe" id="org.tizen.nativecpp.tool.sbi.gnu.cpp.compiler.806237946" name="C++ Compiler" superClass="org.tizen.nativecpp.tool.sbi.gnu.cpp.compiler">
|
|
||||||
<option id="gnu.cpp.compiler.option.optimization.level.1141078136" name="Optimization Level" superClass="gnu.cpp.compiler.option.optimization.level" value="gnu.cpp.compiler.optimization.level.none" valueType="enumerated"/>
|
|
||||||
<option id="sbi.gnu.cpp.compiler.option.debugging.level.412266760" name="Debug level" superClass="sbi.gnu.cpp.compiler.option.debugging.level" value="gnu.cpp.compiler.debugging.level.max" valueType="enumerated"/>
|
|
||||||
<option id="sbi.gnu.cpp.compiler.option.debug.applog.48357772" name="Enable application logging (-D_APP_LOG)" superClass="sbi.gnu.cpp.compiler.option.debug.applog" value="true" valueType="boolean"/>
|
|
||||||
<option id="sbi.gnu.cpp.compiler.option.738324429" name="Tizen-Target" superClass="sbi.gnu.cpp.compiler.option" valueType="userObjs">
|
|
||||||
<listOptionValue builtIn="false" value="tizen-device-2.2.native_gcc45.armel.cpp.staticLib"/>
|
|
||||||
</option>
|
|
||||||
<option id="gnu.cpp.compiler.option.include.paths.1372067183" name="Include paths (-I)" superClass="gnu.cpp.compiler.option.include.paths" valueType="includePath">
|
|
||||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/inc}""/>
|
|
||||||
<listOptionValue builtIn="false" value="../../include"/>
|
|
||||||
<listOptionValue builtIn="false" value=""${COCOS_SRC}""/>
|
|
||||||
<listOptionValue builtIn="false" value=""${COCOS_SRC}/include""/>
|
|
||||||
<listOptionValue builtIn="false" value=""${COCOS_SRC}/kazmath/include""/>
|
|
||||||
<listOptionValue builtIn="false" value=""${COCOS_SRC}/platform/tizen""/>
|
|
||||||
</option>
|
|
||||||
<option id="sbi.gnu.cpp.compiler.option.frameworks.cpp.1270990666" name="Tizen-Frameworks" superClass="sbi.gnu.cpp.compiler.option.frameworks.cpp" valueType="userObjs">
|
|
||||||
<listOptionValue builtIn="false" value="osp-static"/>
|
|
||||||
</option>
|
|
||||||
<option id="sbi.gnu.cpp.compiler.option.frameworks_inc.cpp.579636391" name="Tizen-Frameworks-Include-Path" superClass="sbi.gnu.cpp.compiler.option.frameworks_inc.cpp" valueType="includePath">
|
|
||||||
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/libxml2""/>
|
|
||||||
<listOptionValue builtIn="false" value=""C:\tizen-sdk\library""/>
|
|
||||||
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include""/>
|
|
||||||
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/osp""/>
|
|
||||||
</option>
|
|
||||||
<option id="sbi.gnu.cpp.compiler.option.frameworks_cflags.cpp.1644102691" name="Tizen-Frameworks-Other-Cflags" superClass="sbi.gnu.cpp.compiler.option.frameworks_cflags.cpp" valueType="stringList">
|
|
||||||
<listOptionValue builtIn="false" value=" -fPIC"/>
|
|
||||||
<listOptionValue builtIn="false" value="--sysroot="${SBI_SYSROOT}""/>
|
|
||||||
</option>
|
|
||||||
<option id="gnu.cpp.compiler.option.preprocessor.def.1398462050" name="Defined symbols (-D)" superClass="gnu.cpp.compiler.option.preprocessor.def" valueType="definedSymbols">
|
|
||||||
<listOptionValue builtIn="false" value="_DEBUG"/>
|
|
||||||
<listOptionValue builtIn="false" value="TIZEN"/>
|
|
||||||
</option>
|
|
||||||
<option id="gnu.cpp.compiler.option.other.other.611968827" 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"/>
|
|
||||||
</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">
|
|
||||||
<option defaultValue="gnu.c.optimization.level.none" id="gnu.c.compiler.option.optimization.level.73052907" name="Optimization Level" superClass="gnu.c.compiler.option.optimization.level" valueType="enumerated"/>
|
|
||||||
<option id="sbi.gnu.c.compiler.option.debugging.level.641100997" name="Debug level" superClass="sbi.gnu.c.compiler.option.debugging.level" value="gnu.c.debugging.level.max" valueType="enumerated"/>
|
|
||||||
<option id="sbi.gnu.c.compiler.option.debug.applog.2000116514" name="Enable application logging (-D_APP_LOG)" superClass="sbi.gnu.c.compiler.option.debug.applog" value="true" valueType="boolean"/>
|
|
||||||
<option id="sbi.gnu.c.compiler.option.1751855743" name="Tizen-Target" superClass="sbi.gnu.c.compiler.option" valueType="userObjs">
|
|
||||||
<listOptionValue builtIn="false" value="tizen-device-2.2.native_gcc45.armel.cpp.staticLib"/>
|
|
||||||
</option>
|
|
||||||
<option id="gnu.c.compiler.option.include.paths.1641648644" name="Include paths (-I)" superClass="gnu.c.compiler.option.include.paths" valueType="includePath">
|
|
||||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/inc}""/>
|
|
||||||
</option>
|
|
||||||
<option id="sbi.gnu.c.compiler.option.frameworks.cpp.356824867" name="Tizen-Frameworks" superClass="sbi.gnu.c.compiler.option.frameworks.cpp" valueType="userObjs">
|
|
||||||
<listOptionValue builtIn="false" value="osp-static"/>
|
|
||||||
</option>
|
|
||||||
<option id="sbi.gnu.c.compiler.option.frameworks_inc.cpp.843251170" name="Tizen-Frameworks-Include-Path" superClass="sbi.gnu.c.compiler.option.frameworks_inc.cpp" valueType="includePath">
|
|
||||||
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/libxml2""/>
|
|
||||||
<listOptionValue builtIn="false" value=""C:\tizen-sdk\library""/>
|
|
||||||
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include""/>
|
|
||||||
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/osp""/>
|
|
||||||
</option>
|
|
||||||
<option id="sbi.gnu.c.compiler.option.frameworks_cflags.cpp.2073478823" name="Tizen-Frameworks-Other-Cflags" superClass="sbi.gnu.c.compiler.option.frameworks_cflags.cpp" valueType="stringList">
|
|
||||||
<listOptionValue builtIn="false" value=" -fPIC"/>
|
|
||||||
<listOptionValue builtIn="false" value="--sysroot="${SBI_SYSROOT}""/>
|
|
||||||
</option>
|
|
||||||
<option id="gnu.c.compiler.option.preprocessor.def.symbols.1732125980" name="Defined symbols (-D)" superClass="gnu.c.compiler.option.preprocessor.def.symbols" valueType="definedSymbols">
|
|
||||||
<listOptionValue builtIn="false" value="_DEBUG"/>
|
|
||||||
</option>
|
|
||||||
<inputType id="sbi.gnu.c.compiler.tizen.inputType.565155338" superClass="sbi.gnu.c.compiler.tizen.inputType"/>
|
|
||||||
</tool>
|
|
||||||
<tool id="org.tizen.nativeide.tool.sbi.gnu.c.linker.base.1321059471" name="C Linker" superClass="org.tizen.nativeide.tool.sbi.gnu.c.linker.base"/>
|
|
||||||
<tool command="arm-linux-gnueabi-g++.exe" id="org.tizen.nativecpp.tool.sbi.gnu.cpp.linker.517614783" name="C++ Linker" superClass="org.tizen.nativecpp.tool.sbi.gnu.cpp.linker">
|
|
||||||
<option id="gnu.cpp.link.option.paths.316493253" name="Library search path (-L)" superClass="gnu.cpp.link.option.paths" valueType="libPaths">
|
|
||||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/lib}""/>
|
|
||||||
</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">
|
|
||||||
<listOptionValue builtIn="false" value="--sysroot="${SBI_SYSROOT}""/>
|
|
||||||
</option>
|
|
||||||
</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">
|
|
||||||
<inputType id="cdt.managedbuild.tool.gnu.assembler.input.1262361730" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
|
|
||||||
</tool>
|
|
||||||
<tool id="org.tizen.nativecpp.tool.sbi.po.compiler.1138371781" name="PO Resource Compiler" superClass="org.tizen.nativecpp.tool.sbi.po.compiler"/>
|
|
||||||
<tool id="org.tizen.nativecpp.tool.sbi.edc.compiler.2045899075" name="EDC Resource Compiler" superClass="org.tizen.nativecpp.tool.sbi.edc.compiler"/>
|
|
||||||
</toolChain>
|
|
||||||
</folderInfo>
|
|
||||||
<sourceEntries>
|
|
||||||
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="src"/>
|
|
||||||
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="inc"/>
|
|
||||||
</sourceEntries>
|
|
||||||
</configuration>
|
|
||||||
</storageModule>
|
|
||||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
|
||||||
</cconfiguration>
|
|
||||||
<cconfiguration id="org.tizen.nativecpp.config.sbi.gcc45.lib.release.2023052084">
|
|
||||||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="org.tizen.nativecpp.config.sbi.gcc45.lib.release.2023052084" moduleId="org.eclipse.cdt.core.settings" name="Release">
|
|
||||||
<macros>
|
|
||||||
<stringMacro name="COCOS_ROOT" type="VALUE_PATH_ANY" value="../../.."/>
|
|
||||||
<stringMacro name="COCOS_SRC" type="VALUE_PATH_ANY" value="${COCOS_ROOT}/cocos2dx"/>
|
|
||||||
</macros>
|
|
||||||
<externalSettings/>
|
|
||||||
<extensions>
|
|
||||||
<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
|
|
||||||
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
|
||||||
<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
|
|
||||||
<extension id="org.eclipse.cdt.core.MakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
|
||||||
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
|
||||||
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
|
||||||
</extensions>
|
|
||||||
</storageModule>
|
|
||||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
|
||||||
<configuration artifactExtension="a" artifactName="${ProjName}" buildArtefactType="org.tizen.nativecpp.buildArtefactType.staticLib" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.release,org.eclipse.cdt.build.core.buildArtefactType=org.tizen.nativecpp.buildArtefactType.staticLib" cleanCommand="rm -f" description="" errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;" id="org.tizen.nativecpp.config.sbi.gcc45.lib.release.2023052084" name="Release" parent="org.tizen.nativecpp.config.sbi.gcc45.lib.release">
|
|
||||||
<folderInfo id="org.tizen.nativecpp.config.sbi.gcc45.lib.release.2023052084." name="/" resourcePath="">
|
|
||||||
<toolChain id="org.tizen.nativecpp.toolchain.sbi.gcc45.lib.release.1978438453" name="Tizen Native Toolchain" superClass="org.tizen.nativecpp.toolchain.sbi.gcc45.lib.release">
|
|
||||||
<targetPlatform binaryParser="org.eclipse.cdt.core.ELF" id="org.tizen.nativeide.target.sbi.gnu.platform.base.216744962" osList="linux,win32" superClass="org.tizen.nativeide.target.sbi.gnu.platform.base"/>
|
|
||||||
<builder buildPath="${workspace_loc:/cocosdenshion/Release}" id="org.tizen.nativecpp.target.sbi.gnu.builder.2102360604" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Tizen Application Builder" superClass="org.tizen.nativecpp.target.sbi.gnu.builder"/>
|
|
||||||
<tool command="i386-linux-gnueabi-ar.exe" id="org.tizen.nativecpp.tool.sbi.gnu.archiver.1826014056" name="Archiver" superClass="org.tizen.nativecpp.tool.sbi.gnu.archiver"/>
|
|
||||||
<tool command="clang++.exe" id="org.tizen.nativecpp.tool.sbi.gnu.cpp.compiler.2111905100" name="C++ Compiler" superClass="org.tizen.nativecpp.tool.sbi.gnu.cpp.compiler">
|
|
||||||
<option id="gnu.cpp.compiler.option.optimization.level.1297088223" name="Optimization Level" superClass="gnu.cpp.compiler.option.optimization.level" value="gnu.cpp.compiler.optimization.level.most" valueType="enumerated"/>
|
|
||||||
<option id="sbi.gnu.cpp.compiler.option.debugging.level.459894355" name="Debug level" superClass="sbi.gnu.cpp.compiler.option.debugging.level"/>
|
|
||||||
<option id="sbi.gnu.cpp.compiler.option.debug.applog.849008186" name="Enable application logging (-D_APP_LOG)" superClass="sbi.gnu.cpp.compiler.option.debug.applog"/>
|
|
||||||
<option id="sbi.gnu.cpp.compiler.option.74299026" name="Tizen-Target" superClass="sbi.gnu.cpp.compiler.option" valueType="userObjs">
|
|
||||||
<listOptionValue builtIn="false" value="tizen-emulator-2.2.native_llvm31.i386.cpp.staticLib"/>
|
|
||||||
</option>
|
|
||||||
<option id="gnu.cpp.compiler.option.include.paths.1217915212" name="Include paths (-I)" superClass="gnu.cpp.compiler.option.include.paths" valueType="includePath">
|
|
||||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/inc}""/>
|
|
||||||
</option>
|
|
||||||
<option id="sbi.gnu.cpp.compiler.option.frameworks.cpp.448934412" name="Tizen-Frameworks" superClass="sbi.gnu.cpp.compiler.option.frameworks.cpp" valueType="userObjs">
|
|
||||||
<listOptionValue builtIn="false" value="osp-static"/>
|
|
||||||
</option>
|
|
||||||
<option id="sbi.gnu.cpp.compiler.option.frameworks_inc.cpp.1627502718" name="Tizen-Frameworks-Include-Path" superClass="sbi.gnu.cpp.compiler.option.frameworks_inc.cpp" valueType="includePath">
|
|
||||||
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/libxml2""/>
|
|
||||||
<listOptionValue builtIn="false" value=""C:\tizen-sdk\library""/>
|
|
||||||
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include""/>
|
|
||||||
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/osp""/>
|
|
||||||
</option>
|
|
||||||
<option id="sbi.gnu.cpp.compiler.option.frameworks_cflags.cpp.138455270" name="Tizen-Frameworks-Other-Cflags" superClass="sbi.gnu.cpp.compiler.option.frameworks_cflags.cpp" valueType="stringList">
|
|
||||||
<listOptionValue builtIn="false" value="-target i386-tizen-linux-gnueabi -gcc-toolchain C:/tizen-sdk/tools/smart-build-interface/../i386-linux-gnueabi-gcc-4.5/ -ccc-gcc-name i386-linux-gnueabi-g++ -march=i386 -Wno-gnu"/>
|
|
||||||
<listOptionValue builtIn="false" value=" -fPIC"/>
|
|
||||||
<listOptionValue builtIn="false" value="--sysroot="${SBI_SYSROOT}""/>
|
|
||||||
</option>
|
|
||||||
<inputType id="sbi.gnu.cpp.compiler.tizen.inputType.1145329261" superClass="sbi.gnu.cpp.compiler.tizen.inputType"/>
|
|
||||||
</tool>
|
|
||||||
<tool command="clang.exe" id="org.tizen.nativecpp.tool.sbi.gnu.c.compiler.19577634" name="C Compiler" superClass="org.tizen.nativecpp.tool.sbi.gnu.c.compiler">
|
|
||||||
<option defaultValue="gnu.c.optimization.level.most" id="gnu.c.compiler.option.optimization.level.1635131080" name="Optimization Level" superClass="gnu.c.compiler.option.optimization.level" valueType="enumerated"/>
|
|
||||||
<option id="sbi.gnu.c.compiler.option.debugging.level.220381318" name="Debug level" superClass="sbi.gnu.c.compiler.option.debugging.level"/>
|
|
||||||
<option id="sbi.gnu.c.compiler.option.debug.applog.753089515" name="Enable application logging (-D_APP_LOG)" superClass="sbi.gnu.c.compiler.option.debug.applog"/>
|
|
||||||
<option id="sbi.gnu.c.compiler.option.215142124" name="Tizen-Target" superClass="sbi.gnu.c.compiler.option" valueType="userObjs">
|
|
||||||
<listOptionValue builtIn="false" value="tizen-emulator-2.2.native_llvm31.i386.cpp.staticLib"/>
|
|
||||||
</option>
|
|
||||||
<option id="gnu.c.compiler.option.include.paths.632347119" name="Include paths (-I)" superClass="gnu.c.compiler.option.include.paths" valueType="includePath">
|
|
||||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/inc}""/>
|
|
||||||
</option>
|
|
||||||
<option id="sbi.gnu.c.compiler.option.frameworks.cpp.1474026339" name="Tizen-Frameworks" superClass="sbi.gnu.c.compiler.option.frameworks.cpp" valueType="userObjs">
|
|
||||||
<listOptionValue builtIn="false" value="osp-static"/>
|
|
||||||
</option>
|
|
||||||
<option id="sbi.gnu.c.compiler.option.frameworks_inc.cpp.468493190" name="Tizen-Frameworks-Include-Path" superClass="sbi.gnu.c.compiler.option.frameworks_inc.cpp" valueType="includePath">
|
|
||||||
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/libxml2""/>
|
|
||||||
<listOptionValue builtIn="false" value=""C:\tizen-sdk\library""/>
|
|
||||||
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include""/>
|
|
||||||
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/osp""/>
|
|
||||||
</option>
|
|
||||||
<option id="sbi.gnu.c.compiler.option.frameworks_cflags.cpp.1218800554" name="Tizen-Frameworks-Other-Cflags" superClass="sbi.gnu.c.compiler.option.frameworks_cflags.cpp" valueType="stringList">
|
|
||||||
<listOptionValue builtIn="false" value="-target i386-tizen-linux-gnueabi -gcc-toolchain C:/tizen-sdk/tools/smart-build-interface/../i386-linux-gnueabi-gcc-4.5/ -ccc-gcc-name i386-linux-gnueabi-g++ -march=i386 -Wno-gnu"/>
|
|
||||||
<listOptionValue builtIn="false" value=" -fPIC"/>
|
|
||||||
<listOptionValue builtIn="false" value="--sysroot="${SBI_SYSROOT}""/>
|
|
||||||
</option>
|
|
||||||
<inputType id="sbi.gnu.c.compiler.tizen.inputType.1344515254" superClass="sbi.gnu.c.compiler.tizen.inputType"/>
|
|
||||||
</tool>
|
|
||||||
<tool id="org.tizen.nativeide.tool.sbi.gnu.c.linker.base.59626261" name="C Linker" superClass="org.tizen.nativeide.tool.sbi.gnu.c.linker.base"/>
|
|
||||||
<tool command="clang++.exe" id="org.tizen.nativecpp.tool.sbi.gnu.cpp.linker.563167499" name="C++ Linker" superClass="org.tizen.nativecpp.tool.sbi.gnu.cpp.linker">
|
|
||||||
<option id="gnu.cpp.link.option.paths.618042967" name="Library search path (-L)" superClass="gnu.cpp.link.option.paths" valueType="libPaths">
|
|
||||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/lib}""/>
|
|
||||||
</option>
|
|
||||||
<option id="sbi.gnu.cpp.linker.option.frameworks_lflags.cpp.620416347" name="Tizen-Frameworks-Other-Lflags" superClass="sbi.gnu.cpp.linker.option.frameworks_lflags.cpp" valueType="stringList">
|
|
||||||
<listOptionValue builtIn="false" value="-target i386-tizen-linux-gnueabi -gcc-toolchain C:/tizen-sdk/tools/smart-build-interface/../i386-linux-gnueabi-gcc-4.5/ -ccc-gcc-name i386-linux-gnueabi-g++ -march=i386 -Xlinker --as-needed"/>
|
|
||||||
<listOptionValue builtIn="false" value="--sysroot="${SBI_SYSROOT}""/>
|
|
||||||
</option>
|
|
||||||
</tool>
|
|
||||||
<tool command="i386-linux-gnueabi-as.exe" id="org.tizen.nativeapp.tool.sbi.gnu.assembler.base.1990045494" name="Assembler" superClass="org.tizen.nativeapp.tool.sbi.gnu.assembler.base">
|
|
||||||
<inputType id="cdt.managedbuild.tool.gnu.assembler.input.879926948" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
|
|
||||||
</tool>
|
|
||||||
<tool id="org.tizen.nativecpp.tool.sbi.po.compiler.1674758948" name="PO Resource Compiler" superClass="org.tizen.nativecpp.tool.sbi.po.compiler"/>
|
|
||||||
<tool id="org.tizen.nativecpp.tool.sbi.edc.compiler.1792629643" name="EDC Resource Compiler" superClass="org.tizen.nativecpp.tool.sbi.edc.compiler"/>
|
|
||||||
</toolChain>
|
|
||||||
</folderInfo>
|
|
||||||
<sourceEntries>
|
|
||||||
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="src"/>
|
|
||||||
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="inc"/>
|
|
||||||
</sourceEntries>
|
|
||||||
</configuration>
|
|
||||||
</storageModule>
|
|
||||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
|
||||||
</cconfiguration>
|
|
||||||
</storageModule>
|
|
||||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
|
||||||
<project id="cocosdenshion.org.tizen.nativecpp.target.sbi.gcc45.lib.1874463476" name="Tizen Static Library" projectType="org.tizen.nativecpp.target.sbi.gcc45.lib"/>
|
|
||||||
</storageModule>
|
|
||||||
<storageModule moduleId="scannerConfiguration">
|
|
||||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
|
|
||||||
<scannerConfigBuildInfo instanceId="org.tizen.nativecpp.config.sbi.gcc45.lib.debug.emulator.1855378280">
|
|
||||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.tizen.nativecommon.TizenGCCManagedMakePerProjectProfileCPP"/>
|
|
||||||
</scannerConfigBuildInfo>
|
|
||||||
<scannerConfigBuildInfo instanceId="org.tizen.nativecpp.config.sbi.gcc45.lib.release.2023052084">
|
|
||||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.tizen.nativecommon.TizenGCCManagedMakePerProjectProfileCPP"/>
|
|
||||||
</scannerConfigBuildInfo>
|
|
||||||
<scannerConfigBuildInfo instanceId="org.tizen.nativecpp.config.sbi.gcc45.lib.debug.device.1240851129">
|
|
||||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.tizen.nativecommon.TizenGCCManagedMakePerProjectProfileCPP"/>
|
|
||||||
</scannerConfigBuildInfo>
|
|
||||||
</storageModule>
|
|
||||||
<storageModule moduleId="com.samsung.tizen.nativeapp.projectInfo" version="1.0.0"/>
|
|
||||||
<storageModule moduleId="refreshScope" versionNumber="1">
|
|
||||||
<resource resourceType="PROJECT" workspacePath="/cocosdenshion"/>
|
|
||||||
</storageModule>
|
|
||||||
<storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>
|
|
||||||
</cproject>
|
|
|
@ -1,106 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<projectDescription>
|
|
||||||
<name>cocosdenshion</name>
|
|
||||||
<comment></comment>
|
|
||||||
<projects>
|
|
||||||
</projects>
|
|
||||||
<buildSpec>
|
|
||||||
<buildCommand>
|
|
||||||
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
|
|
||||||
<triggers>clean,full,incremental,</triggers>
|
|
||||||
<arguments>
|
|
||||||
<dictionary>
|
|
||||||
<key>?name?</key>
|
|
||||||
<value></value>
|
|
||||||
</dictionary>
|
|
||||||
<dictionary>
|
|
||||||
<key>org.eclipse.cdt.make.core.append_environment</key>
|
|
||||||
<value>true</value>
|
|
||||||
</dictionary>
|
|
||||||
<dictionary>
|
|
||||||
<key>org.eclipse.cdt.make.core.autoBuildTarget</key>
|
|
||||||
<value>all</value>
|
|
||||||
</dictionary>
|
|
||||||
<dictionary>
|
|
||||||
<key>org.eclipse.cdt.make.core.buildArguments</key>
|
|
||||||
<value></value>
|
|
||||||
</dictionary>
|
|
||||||
<dictionary>
|
|
||||||
<key>org.eclipse.cdt.make.core.buildCommand</key>
|
|
||||||
<value>sbi-make</value>
|
|
||||||
</dictionary>
|
|
||||||
<dictionary>
|
|
||||||
<key>org.eclipse.cdt.make.core.buildLocation</key>
|
|
||||||
<value>${workspace_loc:/cocosdenshion/Debug-Tizen-Emulator}</value>
|
|
||||||
</dictionary>
|
|
||||||
<dictionary>
|
|
||||||
<key>org.eclipse.cdt.make.core.cleanBuildTarget</key>
|
|
||||||
<value>clean</value>
|
|
||||||
</dictionary>
|
|
||||||
<dictionary>
|
|
||||||
<key>org.eclipse.cdt.make.core.contents</key>
|
|
||||||
<value>org.eclipse.cdt.make.core.activeConfigSettings</value>
|
|
||||||
</dictionary>
|
|
||||||
<dictionary>
|
|
||||||
<key>org.eclipse.cdt.make.core.enableAutoBuild</key>
|
|
||||||
<value>false</value>
|
|
||||||
</dictionary>
|
|
||||||
<dictionary>
|
|
||||||
<key>org.eclipse.cdt.make.core.enableCleanBuild</key>
|
|
||||||
<value>true</value>
|
|
||||||
</dictionary>
|
|
||||||
<dictionary>
|
|
||||||
<key>org.eclipse.cdt.make.core.enableFullBuild</key>
|
|
||||||
<value>true</value>
|
|
||||||
</dictionary>
|
|
||||||
<dictionary>
|
|
||||||
<key>org.eclipse.cdt.make.core.fullBuildTarget</key>
|
|
||||||
<value>all</value>
|
|
||||||
</dictionary>
|
|
||||||
<dictionary>
|
|
||||||
<key>org.eclipse.cdt.make.core.stopOnError</key>
|
|
||||||
<value>true</value>
|
|
||||||
</dictionary>
|
|
||||||
<dictionary>
|
|
||||||
<key>org.eclipse.cdt.make.core.useDefaultBuildCmd</key>
|
|
||||||
<value>true</value>
|
|
||||||
</dictionary>
|
|
||||||
</arguments>
|
|
||||||
</buildCommand>
|
|
||||||
<buildCommand>
|
|
||||||
<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
|
|
||||||
<triggers>full,incremental,</triggers>
|
|
||||||
<arguments>
|
|
||||||
</arguments>
|
|
||||||
</buildCommand>
|
|
||||||
<buildCommand>
|
|
||||||
<name>org.tizen.nativecpp.apichecker.core.builder</name>
|
|
||||||
<arguments>
|
|
||||||
</arguments>
|
|
||||||
</buildCommand>
|
|
||||||
</buildSpec>
|
|
||||||
<natures>
|
|
||||||
<nature>org.eclipse.cdt.core.cnature</nature>
|
|
||||||
<nature>org.eclipse.cdt.core.ccnature</nature>
|
|
||||||
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
|
|
||||||
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
|
|
||||||
<nature>org.tizen.nativecpp.apichecker.core.tizenCppNature</nature>
|
|
||||||
</natures>
|
|
||||||
<linkedResources>
|
|
||||||
<link>
|
|
||||||
<name>src/OpenALDecoder.cpp</name>
|
|
||||||
<type>1</type>
|
|
||||||
<locationURI>PARENT-1-PROJECT_LOC/openal/OpenALDecoder.cpp</locationURI>
|
|
||||||
</link>
|
|
||||||
<link>
|
|
||||||
<name>src/OpenALDecoder.h</name>
|
|
||||||
<type>1</type>
|
|
||||||
<locationURI>PARENT-1-PROJECT_LOC/openal/OpenALDecoder.h</locationURI>
|
|
||||||
</link>
|
|
||||||
<link>
|
|
||||||
<name>src/SimpleAudioEngineOpenAL.cpp</name>
|
|
||||||
<type>1</type>
|
|
||||||
<locationURI>PARENT-1-PROJECT_LOC/openal/SimpleAudioEngineOpenAL.cpp</locationURI>
|
|
||||||
</link>
|
|
||||||
</linkedResources>
|
|
||||||
</projectDescription>
|
|
|
@ -1,407 +0,0 @@
|
||||||
/**
|
|
||||||
*
|
|
||||||
* Cocos2D-X Qt 5 Platform
|
|
||||||
*
|
|
||||||
* Copyright (C) 2013 Jolla Ltd.
|
|
||||||
* Contact: Thomas Perl <thomas.perl@jollamobile.com>
|
|
||||||
*
|
|
||||||
* 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 "platform/CCCommon.h"
|
|
||||||
#include "platform/CCFileUtils.h"
|
|
||||||
|
|
||||||
#include <QMap>
|
|
||||||
#include <QMediaPlayer>
|
|
||||||
|
|
||||||
USING_NS_CC;
|
|
||||||
|
|
||||||
namespace CocosDenshion {
|
|
||||||
|
|
||||||
static QString
|
|
||||||
fullPath(const char *filename)
|
|
||||||
{
|
|
||||||
return QString::fromStdString(FileUtils::getInstance()->fullPathForFilename(filename));
|
|
||||||
}
|
|
||||||
|
|
||||||
class CocosQt5AudioBackend {
|
|
||||||
public:
|
|
||||||
static void cleanup();
|
|
||||||
static void gcEffects();
|
|
||||||
|
|
||||||
static QMediaPlayer *player() {
|
|
||||||
if (background_music == NULL) {
|
|
||||||
background_music = new QMediaPlayer;
|
|
||||||
}
|
|
||||||
|
|
||||||
return background_music;
|
|
||||||
}
|
|
||||||
|
|
||||||
static void setEffectsVolume(float volume)
|
|
||||||
{
|
|
||||||
effects_volume = volume;
|
|
||||||
|
|
||||||
foreach (QMediaPlayer *effect, effects.values()) {
|
|
||||||
effect->setVolume(volume * 100.0);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
static QMap<int,QMediaPlayer*> effects;
|
|
||||||
static QMediaPlayer *background_music;
|
|
||||||
static int next_effect_id;
|
|
||||||
static float effects_volume;
|
|
||||||
};
|
|
||||||
|
|
||||||
QMap<int,QMediaPlayer*>
|
|
||||||
CocosQt5AudioBackend::effects;
|
|
||||||
|
|
||||||
QMediaPlayer *
|
|
||||||
CocosQt5AudioBackend::background_music = NULL;
|
|
||||||
|
|
||||||
int
|
|
||||||
CocosQt5AudioBackend::next_effect_id = 0;
|
|
||||||
|
|
||||||
float
|
|
||||||
CocosQt5AudioBackend::effects_volume = 1.0;
|
|
||||||
|
|
||||||
void
|
|
||||||
CocosQt5AudioBackend::cleanup()
|
|
||||||
{
|
|
||||||
foreach (QMediaPlayer *effect, effects.values()) {
|
|
||||||
delete effect;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (background_music != NULL) {
|
|
||||||
delete background_music;
|
|
||||||
background_music = NULL;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
|
||||||
CocosQt5AudioBackend::gcEffects()
|
|
||||||
{
|
|
||||||
foreach (int id, effects.keys()) {
|
|
||||||
QMediaPlayer *effect = effects[id];
|
|
||||||
if (effect->state() == QMediaPlayer::StoppedState) {
|
|
||||||
delete effect;
|
|
||||||
effects.remove(id);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Singleton object */
|
|
||||||
static SimpleAudioEngine *
|
|
||||||
simple_audio_engine = NULL;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
@brief Get the shared Engine object,it will new one when first time be called
|
|
||||||
*/
|
|
||||||
SimpleAudioEngine *
|
|
||||||
SimpleAudioEngine::getInstance()
|
|
||||||
{
|
|
||||||
if (simple_audio_engine == NULL) {
|
|
||||||
simple_audio_engine = new SimpleAudioEngine;
|
|
||||||
}
|
|
||||||
|
|
||||||
return simple_audio_engine;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
@brief Release the shared Engine object
|
|
||||||
@warning It must be called before the application exit, or a memroy leak will be casued.
|
|
||||||
*/
|
|
||||||
void
|
|
||||||
SimpleAudioEngine::end()
|
|
||||||
{
|
|
||||||
if (simple_audio_engine != NULL) {
|
|
||||||
delete simple_audio_engine;
|
|
||||||
simple_audio_engine = NULL;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
SimpleAudioEngine::SimpleAudioEngine()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
SimpleAudioEngine::~SimpleAudioEngine()
|
|
||||||
{
|
|
||||||
// Free sound effects and stop background music
|
|
||||||
CocosQt5AudioBackend::cleanup();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
@brief Preload background music
|
|
||||||
@param pszFilePath The path of the background music file,or the FileName of T_SoundResInfo
|
|
||||||
*/
|
|
||||||
void
|
|
||||||
SimpleAudioEngine::preloadBackgroundMusic(const char* pszFilePath)
|
|
||||||
{
|
|
||||||
QString filename = fullPath(pszFilePath);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
@brief Play background music
|
|
||||||
@param pszFilePath The path of the background music file,or the FileName of T_SoundResInfo
|
|
||||||
@param bLoop Whether the background music loop or not
|
|
||||||
*/
|
|
||||||
void
|
|
||||||
SimpleAudioEngine::playBackgroundMusic(const char* pszFilePath, bool bLoop)
|
|
||||||
{
|
|
||||||
QString filename = fullPath(pszFilePath);
|
|
||||||
|
|
||||||
CocosQt5AudioBackend::player()->setMedia(QUrl::fromLocalFile(filename));
|
|
||||||
if (bLoop) {
|
|
||||||
// TODO: Set QMediaPlayer to loop infinitely
|
|
||||||
}
|
|
||||||
CocosQt5AudioBackend::player()->play();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
@brief Stop playing background music
|
|
||||||
@param bReleaseData If release the background music data or not.As default value is false
|
|
||||||
*/
|
|
||||||
void
|
|
||||||
SimpleAudioEngine::stopBackgroundMusic(bool bReleaseData)
|
|
||||||
{
|
|
||||||
CocosQt5AudioBackend::player()->stop();
|
|
||||||
|
|
||||||
if (bReleaseData) {
|
|
||||||
CocosQt5AudioBackend::player()->setMedia(QMediaContent());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
@brief Pause playing background music
|
|
||||||
*/
|
|
||||||
void
|
|
||||||
SimpleAudioEngine::pauseBackgroundMusic()
|
|
||||||
{
|
|
||||||
CocosQt5AudioBackend::player()->pause();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
@brief Resume playing background music
|
|
||||||
*/
|
|
||||||
void
|
|
||||||
SimpleAudioEngine::resumeBackgroundMusic()
|
|
||||||
{
|
|
||||||
CocosQt5AudioBackend::player()->play();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
@brief Rewind playing background music
|
|
||||||
*/
|
|
||||||
void
|
|
||||||
SimpleAudioEngine::rewindBackgroundMusic()
|
|
||||||
{
|
|
||||||
CocosQt5AudioBackend::player()->stop();
|
|
||||||
CocosQt5AudioBackend::player()->setPosition(0);
|
|
||||||
CocosQt5AudioBackend::player()->play();
|
|
||||||
}
|
|
||||||
|
|
||||||
bool
|
|
||||||
SimpleAudioEngine::willPlayBackgroundMusic()
|
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
@brief Whether the background music is playing
|
|
||||||
@return If is playing return true,or return false
|
|
||||||
*/
|
|
||||||
bool
|
|
||||||
SimpleAudioEngine::isBackgroundMusicPlaying()
|
|
||||||
{
|
|
||||||
return (CocosQt5AudioBackend::player()->state() == QMediaPlayer::PlayingState);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
@brief The volume of the background music max value is 1.0,the min value is 0.0
|
|
||||||
*/
|
|
||||||
float
|
|
||||||
SimpleAudioEngine::getBackgroundMusicVolume()
|
|
||||||
{
|
|
||||||
return (float)(CocosQt5AudioBackend::player()->volume()) / 100.;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
@brief set the volume of background music
|
|
||||||
@param volume must be in 0.0~1.0
|
|
||||||
*/
|
|
||||||
void
|
|
||||||
SimpleAudioEngine::setBackgroundMusicVolume(float volume)
|
|
||||||
{
|
|
||||||
CocosQt5AudioBackend::player()->setVolume(100. * volume);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
@brief The volume of the effects max value is 1.0,the min value is 0.0
|
|
||||||
*/
|
|
||||||
float
|
|
||||||
SimpleAudioEngine::getEffectsVolume()
|
|
||||||
{
|
|
||||||
return CocosQt5AudioBackend::effects_volume;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
@brief set the volume of sound effecs
|
|
||||||
@param volume must be in 0.0~1.0
|
|
||||||
*/
|
|
||||||
void
|
|
||||||
SimpleAudioEngine::setEffectsVolume(float volume)
|
|
||||||
{
|
|
||||||
CocosQt5AudioBackend::setEffectsVolume(volume);
|
|
||||||
}
|
|
||||||
|
|
||||||
// for sound effects
|
|
||||||
/**
|
|
||||||
@brief Play sound effect
|
|
||||||
@param pszFilePath The path of the effect file,or the FileName of T_SoundResInfo
|
|
||||||
@bLoop Whether to loop the effect playing, default value is false
|
|
||||||
*/
|
|
||||||
unsigned int
|
|
||||||
SimpleAudioEngine::playEffect(const char* pszFilePath, bool bLoop,
|
|
||||||
float pitch, float pan, float gain)
|
|
||||||
{
|
|
||||||
// TODO: Handle pitch, pan and gain
|
|
||||||
|
|
||||||
CocosQt5AudioBackend::gcEffects();
|
|
||||||
|
|
||||||
QString filename = fullPath(pszFilePath);
|
|
||||||
int id = CocosQt5AudioBackend::next_effect_id++;
|
|
||||||
|
|
||||||
QMediaPlayer *effect = new QMediaPlayer;
|
|
||||||
effect->setMedia(QUrl::fromLocalFile(filename));
|
|
||||||
effect->setVolume(CocosQt5AudioBackend::effects_volume * 100.0);
|
|
||||||
if (bLoop) {
|
|
||||||
// TODO: Set QMediaPlayer to loop infinitely
|
|
||||||
}
|
|
||||||
effect->play();
|
|
||||||
|
|
||||||
CocosQt5AudioBackend::effects[id] = effect;
|
|
||||||
return id;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
@brief Pause playing sound effect
|
|
||||||
@param nSoundId The return value of function playEffect
|
|
||||||
*/
|
|
||||||
void
|
|
||||||
SimpleAudioEngine::pauseEffect(unsigned int nSoundId)
|
|
||||||
{
|
|
||||||
if (CocosQt5AudioBackend::effects.contains(nSoundId)) {
|
|
||||||
QMediaPlayer *effect = CocosQt5AudioBackend::effects[nSoundId];
|
|
||||||
effect->pause();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
@brief Pause all playing sound effect
|
|
||||||
@param nSoundId The return value of function playEffect
|
|
||||||
*/
|
|
||||||
void
|
|
||||||
SimpleAudioEngine::pauseAllEffects()
|
|
||||||
{
|
|
||||||
foreach (QMediaPlayer *effect, CocosQt5AudioBackend::effects.values()) {
|
|
||||||
effect->pause();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
@brief Resume playing sound effect
|
|
||||||
@param nSoundId The return value of function playEffect
|
|
||||||
*/
|
|
||||||
void
|
|
||||||
SimpleAudioEngine::resumeEffect(unsigned int nSoundId)
|
|
||||||
{
|
|
||||||
if (CocosQt5AudioBackend::effects.contains(nSoundId)) {
|
|
||||||
QMediaPlayer *effect = CocosQt5AudioBackend::effects[nSoundId];
|
|
||||||
effect->play();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
@brief Resume all playing sound effect
|
|
||||||
@param nSoundId The return value of function playEffect
|
|
||||||
*/
|
|
||||||
void
|
|
||||||
SimpleAudioEngine::resumeAllEffects()
|
|
||||||
{
|
|
||||||
foreach (QMediaPlayer *effect, CocosQt5AudioBackend::effects.values()) {
|
|
||||||
if (effect->state() == QMediaPlayer::PausedState) {
|
|
||||||
effect->play();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
@brief Stop playing sound effect
|
|
||||||
@param nSoundId The return value of function playEffect
|
|
||||||
*/
|
|
||||||
void
|
|
||||||
SimpleAudioEngine::stopEffect(unsigned int nSoundId)
|
|
||||||
{
|
|
||||||
if (CocosQt5AudioBackend::effects.contains(nSoundId)) {
|
|
||||||
QMediaPlayer *effect = CocosQt5AudioBackend::effects[nSoundId];
|
|
||||||
CocosQt5AudioBackend::effects.remove(nSoundId);
|
|
||||||
delete effect;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
@brief Stop all playing sound effects
|
|
||||||
*/
|
|
||||||
void
|
|
||||||
SimpleAudioEngine::stopAllEffects()
|
|
||||||
{
|
|
||||||
foreach (QMediaPlayer *effect, CocosQt5AudioBackend::effects.values()) {
|
|
||||||
delete effect;
|
|
||||||
}
|
|
||||||
CocosQt5AudioBackend::effects.clear();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
@brief preload a compressed audio file
|
|
||||||
@details the compressed audio will be decode to wave, then write into an
|
|
||||||
internal buffer in SimpleAudioEngine
|
|
||||||
*/
|
|
||||||
void
|
|
||||||
SimpleAudioEngine::preloadEffect(const char* pszFilePath)
|
|
||||||
{
|
|
||||||
QString filename = fullPath(pszFilePath);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
@brief unload the preloaded effect from internal buffer
|
|
||||||
@param[in] pszFilePath The path of the effect file,or the FileName of T_SoundResInfo
|
|
||||||
*/
|
|
||||||
void
|
|
||||||
SimpleAudioEngine::unloadEffect(const char* pszFilePath)
|
|
||||||
{
|
|
||||||
QString filename = fullPath(pszFilePath);
|
|
||||||
}
|
|
||||||
|
|
||||||
} /* end namespace CocosDenshion */
|
|
|
@ -1,28 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
# Build script to build all components for emscripten.
|
|
||||||
#
|
|
||||||
# By default this script will build the 'all' target in
|
|
||||||
# both debug and release configurations. Pass "clean" to
|
|
||||||
# clean all configuration.
|
|
||||||
|
|
||||||
SCRIPT_DIR=$(dirname ${BASH_SOURCE})
|
|
||||||
|
|
||||||
set -e
|
|
||||||
set -x
|
|
||||||
|
|
||||||
cd $SCRIPT_DIR
|
|
||||||
|
|
||||||
if [ "$PYTHON" == "" ]; then
|
|
||||||
command -v python >/dev/null 2>&1 || (echo "Please install python and set \$PYTHON" && exit 1)
|
|
||||||
PYTHON=`which python`
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$LLVM" == "" ]; then
|
|
||||||
command -v clang >/dev/null 2>&1 || (echo "Please install LLVM and clang, and set \$LLVM" && exit 1)
|
|
||||||
LLVM=$(dirname `which clang`)
|
|
||||||
fi
|
|
||||||
|
|
||||||
export LLVM_ROOT=$LLVM
|
|
||||||
|
|
||||||
make PLATFORM=emscripten DEBUG=1 -j10 $*
|
|
||||||
make PLATFORM=emscripten DEBUG=0 -j10 $*
|
|
|
@ -1,45 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
# Build script to build all components for Native Client.
|
|
||||||
#
|
|
||||||
# By default this script will build the 'all' target in
|
|
||||||
# both debug and release configurations. Pass "clean" to
|
|
||||||
# clean all configuration.
|
|
||||||
#
|
|
||||||
# Before running this script you need to set NACL_SDK_ROOT
|
|
||||||
# and add the NaCl compiler bin folder to your path.
|
|
||||||
#
|
|
||||||
# There are several libraries from naclports that are
|
|
||||||
# prerequisite for building cocos2dx on NaCl. These ship
|
|
||||||
# with recent versions of the NaCl SDK or you can build
|
|
||||||
# them yourself by checking out naclports and running:
|
|
||||||
# $ make png tiff freetype xml2 freealut jpeg vorbis ogg
|
|
||||||
|
|
||||||
if [ -z "$NACL_SDK_ROOT" ]; then
|
|
||||||
echo "Please set \$NACL_SDK_ROOT"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
SCRIPT_DIR=$(dirname ${BASH_SOURCE})
|
|
||||||
OUTPUT_DEBUG=lib/nacl/Debug/
|
|
||||||
OUTPUT_RELEASE=lib/nacl/Release/
|
|
||||||
|
|
||||||
set -e
|
|
||||||
set -x
|
|
||||||
|
|
||||||
cd $SCRIPT_DIR
|
|
||||||
|
|
||||||
mkdir -p $OUTPUT_DEBUG
|
|
||||||
mkdir -p $OUTPUT_RELEASE
|
|
||||||
|
|
||||||
export MAKEFLAGS="-j10 PLATFORM=nacl"
|
|
||||||
|
|
||||||
make NACL_ARCH=x86_64 DEBUG=1 $*
|
|
||||||
make NACL_ARCH=x86_64 DEBUG=0 $*
|
|
||||||
|
|
||||||
make NACL_ARCH=i686 DEBUG=1 $*
|
|
||||||
make NACL_ARCH=i686 DEBUG=0 $*
|
|
||||||
|
|
||||||
if [ "${NACL_GLIBC:-}" != "1" ]; then
|
|
||||||
make NACL_ARCH=arm DEBUG=1 $*
|
|
||||||
make NACL_ARCH=arm DEBUG=0 $*
|
|
||||||
fi
|
|
|
@ -1,89 +0,0 @@
|
||||||
@echo off
|
|
||||||
|
|
||||||
echo./*
|
|
||||||
echo. * Check VC++ environment...
|
|
||||||
echo. */
|
|
||||||
echo.
|
|
||||||
|
|
||||||
if defined VS110COMNTOOLS (
|
|
||||||
set VSTOOLS="%VS110COMNTOOLS%"
|
|
||||||
set VC_VER=110
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
set VSTOOLS=%VSTOOLS:"=%
|
|
||||||
set "VSTOOLS=%VSTOOLS:\=/%"
|
|
||||||
|
|
||||||
set VSVARS="%VSTOOLS%vsvars32.bat"
|
|
||||||
|
|
||||||
if not defined VSVARS (
|
|
||||||
echo Can't find VC2012 installed!
|
|
||||||
goto ERROR
|
|
||||||
)
|
|
||||||
|
|
||||||
echo./*
|
|
||||||
echo. * Building cocos2d-x library binary, please wait a while...
|
|
||||||
echo. */
|
|
||||||
echo.
|
|
||||||
|
|
||||||
call %VSVARS%
|
|
||||||
if %VC_VER%==110 (
|
|
||||||
msbuild cocos2d-win32.vc2012.sln /t:Clean
|
|
||||||
msbuild cocos2d-win32.vc2012.sln /p:Configuration="Debug" /m
|
|
||||||
msbuild cocos2d-win32.vc2012.sln /p:Configuration="Release" /m
|
|
||||||
) else (
|
|
||||||
echo Script error.
|
|
||||||
goto ERROR
|
|
||||||
)
|
|
||||||
|
|
||||||
echo./*
|
|
||||||
echo. * Check the cocos2d-win32 application "TestCpp.exe" ...
|
|
||||||
echo. */
|
|
||||||
echo.
|
|
||||||
|
|
||||||
pushd ".\Release.win32\"
|
|
||||||
|
|
||||||
set CC_TEST_BIN=TestCpp.exe
|
|
||||||
|
|
||||||
set CC_TEST_RES=..\samples\Cpp\TestCpp\Resources
|
|
||||||
set CC_HELLOWORLD_RES=..\samples\Cpp\HelloCpp\Resources
|
|
||||||
set CC_TESTLUA_RES=..\samples\Lua\TestLua\Resources
|
|
||||||
set CC_SIMPLEGAME_RES=..\samples\Cpp\SimpleGame\Resources
|
|
||||||
set CC_HELLOLUA_RES=..\samples\Lua\HelloLua\Resources
|
|
||||||
set CC_JSB_SOURCES=..\scripting\javascript\bindings\js
|
|
||||||
set CC_TESTJS_RES=..\samples\Javascript\Shared\tests
|
|
||||||
set CC_DRAGONJS_RES=..\samples\Javascript\Shared\games\CocosDragonJS\Published files iOS
|
|
||||||
set CC_MOONWARRIORS_RES=..\samples\Javascript\Shared\games\MoonWarriors
|
|
||||||
set CC_WATERMELONWITHME_RES=..\samples\Javascript\Shared\games\WatermelonWithMe
|
|
||||||
|
|
||||||
|
|
||||||
echo./*
|
|
||||||
echo. * Run cocos2d-win32 tests.exe and view Cocos2d-x Application Wizard for Visual Studio User Guide.
|
|
||||||
echo. */
|
|
||||||
echo.
|
|
||||||
xcopy /E /Y /Q "%CC_TEST_RES%" .
|
|
||||||
xcopy /E /Y /Q "%CC_HELLOWORLD_RES%" .
|
|
||||||
xcopy /E /Y /Q "%CC_HELLOLUA_RES%" .
|
|
||||||
xcopy /E /Y /Q "%CC_TESTLUA_RES%" .
|
|
||||||
xcopy /E /Y /Q "%CC_SIMPLEGAME_RES%" .
|
|
||||||
xcopy /E /Y /Q "%CC_JSB_SOURCES%" .
|
|
||||||
xcopy /E /Y /Q "%CC_TESTJS_RES%" .
|
|
||||||
xcopy /E /Y /Q "%CC_MOONWARRIORS_RES%" .
|
|
||||||
xcopy /E /Y /Q "%CC_WATERMELONWITHME_RES%" .
|
|
||||||
xcopy /E /Y /Q "%CC_DRAGONJS_RES%" .
|
|
||||||
|
|
||||||
if not exist "%CC_TEST_BIN%" (
|
|
||||||
echo Can't find the binary "TestCpp.exe", is there build error?
|
|
||||||
goto ERROR
|
|
||||||
)
|
|
||||||
|
|
||||||
call "%CC_TEST_BIN%"
|
|
||||||
popd
|
|
||||||
|
|
||||||
goto EOF
|
|
||||||
|
|
||||||
:ERROR
|
|
||||||
pause
|
|
||||||
|
|
||||||
:EOF
|
|
|
@ -5,7 +5,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libBox2D", "external\Box2D\
|
||||||
EndProject
|
EndProject
|
||||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libchipmunk", "external\chipmunk\proj.win32\chipmunk.vcxproj", "{207BC7A9-CCF1-4F2F-A04D-45F72242AE25}"
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libchipmunk", "external\chipmunk\proj.win32\chipmunk.vcxproj", "{207BC7A9-CCF1-4F2F-A04D-45F72242AE25}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libCocosDenshion", "CocosDenshion\proj.win32\CocosDenshion.vcxproj", "{F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}"
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "audio", "audio\proj.win32\CocosDenshion.vcxproj", "{F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}"
|
||||||
ProjectSection(ProjectDependencies) = postProject
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
{98A51BA8-FC3A-415B-AC8F-8C7BD464E93E} = {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}
|
{98A51BA8-FC3A-415B-AC8F-8C7BD464E93E} = {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}
|
||||||
EndProjectSection
|
EndProjectSection
|
|
@ -0,0 +1 @@
|
||||||
|
9fac2ba89faf5e6f3c870c02f5186641e6be1590
|
|
@ -0,0 +1 @@
|
||||||
|
83265c81797ca614f19372a96adf326aeb21b396
|
|
@ -0,0 +1,217 @@
|
||||||
|
LOCAL_PATH := $(call my-dir)
|
||||||
|
|
||||||
|
include $(CLEAR_VARS)
|
||||||
|
|
||||||
|
LOCAL_MODULE := cocos2dx_static
|
||||||
|
|
||||||
|
LOCAL_MODULE_FILENAME := libcocos2d
|
||||||
|
|
||||||
|
LOCAL_SRC_FILES := \
|
||||||
|
base64.cpp \
|
||||||
|
CCAction.cpp \
|
||||||
|
CCActionCamera.cpp \
|
||||||
|
CCActionCatmullRom.cpp \
|
||||||
|
CCActionEase.cpp \
|
||||||
|
CCActionGrid.cpp \
|
||||||
|
CCActionGrid3D.cpp \
|
||||||
|
CCActionInstant.cpp \
|
||||||
|
CCActionInterval.cpp \
|
||||||
|
CCActionManager.cpp \
|
||||||
|
CCActionPageTurn3D.cpp \
|
||||||
|
CCActionProgressTimer.cpp \
|
||||||
|
CCActionTiledGrid.cpp \
|
||||||
|
CCActionTween.cpp \
|
||||||
|
CCAnimation.cpp \
|
||||||
|
CCAnimationCache.cpp \
|
||||||
|
CCAtlasNode.cpp \
|
||||||
|
CCCamera.cpp \
|
||||||
|
ccCArray.cpp \
|
||||||
|
CCClippingNode.cpp \
|
||||||
|
CCComponent.cpp \
|
||||||
|
CCComponentContainer.cpp \
|
||||||
|
CCConfiguration.cpp \
|
||||||
|
CCDeprecated.cpp \
|
||||||
|
CCDirector.cpp \
|
||||||
|
CCDrawingPrimitives.cpp \
|
||||||
|
CCDrawNode.cpp \
|
||||||
|
CCEvent.cpp \
|
||||||
|
CCEventAcceleration.cpp \
|
||||||
|
CCEventCustom.cpp \
|
||||||
|
CCEventDispatcher.cpp \
|
||||||
|
CCEventKeyboard.cpp \
|
||||||
|
CCEventListener.cpp \
|
||||||
|
CCEventListenerAcceleration.cpp \
|
||||||
|
CCEventListenerCustom.cpp \
|
||||||
|
CCEventListenerKeyboard.cpp \
|
||||||
|
CCEventListenerTouch.cpp \
|
||||||
|
CCEventTouch.cpp \
|
||||||
|
CCFont.cpp \
|
||||||
|
CCFontAtlas.cpp \
|
||||||
|
CCFontAtlasCache.cpp \
|
||||||
|
CCFontAtlasFactory.cpp \
|
||||||
|
CCFontDefinition.cpp \
|
||||||
|
CCFontFNT.cpp \
|
||||||
|
CCFontFreeType.cpp \
|
||||||
|
ccFPSImages.c \
|
||||||
|
CCGLBufferedNode.cpp \
|
||||||
|
CCGLProgram.cpp \
|
||||||
|
ccGLStateCache.cpp \
|
||||||
|
CCGrabber.cpp \
|
||||||
|
CCGrid.cpp \
|
||||||
|
CCIMEDispatcher.cpp \
|
||||||
|
CCLabel.cpp \
|
||||||
|
CCLabelAtlas.cpp \
|
||||||
|
CCLabelBMFont.cpp \
|
||||||
|
CCLabelTextFormatter.cpp \
|
||||||
|
CCLabelTTF.cpp \
|
||||||
|
CCLayer.cpp \
|
||||||
|
CCMenu.cpp \
|
||||||
|
CCMenuItem.cpp \
|
||||||
|
CCMotionStreak.cpp \
|
||||||
|
CCNode.cpp \
|
||||||
|
CCNotificationCenter.cpp \
|
||||||
|
CCParallaxNode.cpp \
|
||||||
|
CCParticleBatchNode.cpp \
|
||||||
|
CCParticleExamples.cpp \
|
||||||
|
CCParticleSystem.cpp \
|
||||||
|
CCParticleSystemQuad.cpp \
|
||||||
|
CCProfiling.cpp \
|
||||||
|
CCProgressTimer.cpp \
|
||||||
|
CCRenderTexture.cpp \
|
||||||
|
CCScene.cpp \
|
||||||
|
CCScheduler.cpp \
|
||||||
|
CCScriptSupport.cpp \
|
||||||
|
CCShaderCache.cpp \
|
||||||
|
ccShaders.cpp \
|
||||||
|
CCSprite.cpp \
|
||||||
|
CCSpriteBatchNode.cpp \
|
||||||
|
CCSpriteFrame.cpp \
|
||||||
|
CCSpriteFrameCache.cpp \
|
||||||
|
CCTextFieldTTF.cpp \
|
||||||
|
CCTextImage.cpp \
|
||||||
|
CCTexture2D.cpp \
|
||||||
|
CCTextureAtlas.cpp \
|
||||||
|
CCTextureCache.cpp \
|
||||||
|
CCTileMapAtlas.cpp \
|
||||||
|
CCTMXLayer.cpp \
|
||||||
|
CCTMXObjectGroup.cpp \
|
||||||
|
CCTMXTiledMap.cpp \
|
||||||
|
CCTMXXMLParser.cpp \
|
||||||
|
CCTouch.cpp \
|
||||||
|
CCTransition.cpp \
|
||||||
|
CCTransitionPageTurn.cpp \
|
||||||
|
CCTransitionProgress.cpp \
|
||||||
|
ccTypes.cpp \
|
||||||
|
CCUserDefault.cpp \
|
||||||
|
CCUserDefaultAndroid.cpp \
|
||||||
|
ccUTF8.cpp \
|
||||||
|
ccUtils.cpp \
|
||||||
|
CCVertex.cpp \
|
||||||
|
cocos2d.cpp \
|
||||||
|
TGAlib.cpp \
|
||||||
|
TransformUtils.cpp \
|
||||||
|
ZipUtils.cpp \
|
||||||
|
platform/CCEGLViewProtocol.cpp \
|
||||||
|
platform/CCFileUtils.cpp \
|
||||||
|
platform/CCSAXParser.cpp \
|
||||||
|
platform/CCThread.cpp \
|
||||||
|
../base/atitc.cpp \
|
||||||
|
../base/CCAffineTransform.cpp \
|
||||||
|
../base/CCArray.cpp \
|
||||||
|
../base/CCAutoreleasePool.cpp \
|
||||||
|
../base/CCData.cpp \
|
||||||
|
../base/CCDataVisitor.cpp \
|
||||||
|
../base/CCDictionary.cpp \
|
||||||
|
../base/CCGeometry.cpp \
|
||||||
|
../base/CCNS.cpp \
|
||||||
|
../base/CCObject.cpp \
|
||||||
|
../base/CCSet.cpp \
|
||||||
|
../base/CCString.cpp \
|
||||||
|
../base/etc1.cpp \
|
||||||
|
../base/s3tc.cpp \
|
||||||
|
../math/kazmath/src/aabb.c \
|
||||||
|
../math/kazmath/src/mat3.c \
|
||||||
|
../math/kazmath/src/mat4.c \
|
||||||
|
../math/kazmath/src/neon_matrix_impl.c \
|
||||||
|
../math/kazmath/src/plane.c \
|
||||||
|
../math/kazmath/src/quaternion.c \
|
||||||
|
../math/kazmath/src/ray2.c \
|
||||||
|
../math/kazmath/src/utility.c \
|
||||||
|
../math/kazmath/src/vec2.c \
|
||||||
|
../math/kazmath/src/vec3.c \
|
||||||
|
../math/kazmath/src/vec4.c \
|
||||||
|
../math/kazmath/src/GL/mat4stack.c \
|
||||||
|
../math/kazmath/src/GL/matrix.c \
|
||||||
|
../physics/CCPhysicsBody.cpp \
|
||||||
|
../physics/CCPhysicsContact.cpp \
|
||||||
|
../physics/CCPhysicsJoint.cpp \
|
||||||
|
../physics/CCPhysicsShape.cpp \
|
||||||
|
../physics/CCPhysicsWorld.cpp \
|
||||||
|
../physics/box2d/CCPhysicsBodyInfo.cpp \
|
||||||
|
../physics/box2d/CCPhysicsContactInfo.cpp \
|
||||||
|
../physics/box2d/CCPhysicsJointInfo.cpp \
|
||||||
|
../physics/box2d/CCPhysicsShapeInfo.cpp \
|
||||||
|
../physics/box2d/CCPhysicsWorldInfo.cpp \
|
||||||
|
../physics/chipmunk/CCPhysicsBodyInfo.cpp \
|
||||||
|
../physics/chipmunk/CCPhysicsContactInfo.cpp \
|
||||||
|
../physics/chipmunk/CCPhysicsJointInfo.cpp \
|
||||||
|
../physics/chipmunk/CCPhysicsShapeInfo.cpp \
|
||||||
|
../physics/chipmunk/CCPhysicsWorldInfo.cpp \
|
||||||
|
../../external/tinyxml2/tinyxml2.cpp \
|
||||||
|
../../external/unzip/ioapi.cpp \
|
||||||
|
../../external/unzip/unzip.cpp
|
||||||
|
|
||||||
|
|
||||||
|
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH) \
|
||||||
|
$(LOCAL_PATH)/../math/kazmath/include \
|
||||||
|
platform/android \
|
||||||
|
$(LOCAL_PATH)/../physics \
|
||||||
|
$(LOCAL_PATH)/../base \
|
||||||
|
$(LOCAL_PATH)/../../external/tinyxml2 \
|
||||||
|
$(LOCAL_PATH)/../../external/unzip \
|
||||||
|
$(LOCAL_PATH)/../../external/chipmunk/include/chipmunk
|
||||||
|
|
||||||
|
LOCAL_C_INCLUDES := $(LOCAL_PATH) \
|
||||||
|
$(LOCAL_PATH)/../math/kazmath/include \
|
||||||
|
$(LOCAL_PATH)/platform/android \
|
||||||
|
$(LOCAL_PATH)/../physics \
|
||||||
|
$(LOCAL_PATH)/../base \
|
||||||
|
$(LOCAL_PATH)/../../external/tinyxml2 \
|
||||||
|
$(LOCAL_PATH)/../../external/unzip \
|
||||||
|
$(LOCAL_PATH)/../../external/chipmunk/include/chipmunk
|
||||||
|
|
||||||
|
|
||||||
|
LOCAL_LDLIBS := -lGLESv2 \
|
||||||
|
-llog \
|
||||||
|
-lz \
|
||||||
|
-landroid
|
||||||
|
|
||||||
|
LOCAL_EXPORT_LDLIBS := -lGLESv2 \
|
||||||
|
-llog \
|
||||||
|
-lz \
|
||||||
|
-landroid
|
||||||
|
|
||||||
|
LOCAL_WHOLE_STATIC_LIBRARIES := cocos_libpng_static
|
||||||
|
LOCAL_WHOLE_STATIC_LIBRARIES += cocos_jpeg_static
|
||||||
|
LOCAL_WHOLE_STATIC_LIBRARIES += cocos_libxml2_static
|
||||||
|
LOCAL_WHOLE_STATIC_LIBRARIES += cocos_libtiff_static
|
||||||
|
LOCAL_WHOLE_STATIC_LIBRARIES += cocos_libwebp_static
|
||||||
|
LOCAL_WHOLE_STATIC_LIBRARIES += cocos_freetype2_static
|
||||||
|
LOCAL_WHOLE_STATIC_LIBRARIES += chipmunk_static
|
||||||
|
LOCAL_WHOLE_STATIC_LIBRARIES += cocos2dxandroid_static
|
||||||
|
|
||||||
|
# define the macro to compile through support/zip_support/ioapi.c
|
||||||
|
LOCAL_CFLAGS := -Wno-psabi -DUSE_FILE32API
|
||||||
|
LOCAL_CPPFLAGS := -Wno-literal-suffix
|
||||||
|
LOCAL_EXPORT_CFLAGS := -Wno-psabi -DUSE_FILE32API
|
||||||
|
LOCAL_EXPORT_CPPFLAGS := -Wno-literal-suffix
|
||||||
|
|
||||||
|
include $(BUILD_STATIC_LIBRARY)
|
||||||
|
|
||||||
|
$(call import-module,jpeg/prebuilt/android)
|
||||||
|
$(call import-module,png/prebuilt/android)
|
||||||
|
$(call import-module,tiff/prebuilt/android)
|
||||||
|
$(call import-module,webp/prebuilt/android)
|
||||||
|
$(call import-module,freetype2/prebuilt/android)
|
||||||
|
$(call import-module,chipmunk)
|
||||||
|
$(call import-module,2d/platform/android)
|
|
@ -26,7 +26,7 @@ THE SOFTWARE.
|
||||||
|
|
||||||
#include "CCAction.h"
|
#include "CCAction.h"
|
||||||
#include "CCActionInterval.h"
|
#include "CCActionInterval.h"
|
||||||
#include "base_nodes/CCNode.h"
|
#include "CCNode.h"
|
||||||
#include "CCDirector.h"
|
#include "CCDirector.h"
|
||||||
|
|
||||||
NS_CC_BEGIN
|
NS_CC_BEGIN
|
|
@ -27,9 +27,9 @@ THE SOFTWARE.
|
||||||
#ifndef __ACTIONS_CCACTION_H__
|
#ifndef __ACTIONS_CCACTION_H__
|
||||||
#define __ACTIONS_CCACTION_H__
|
#define __ACTIONS_CCACTION_H__
|
||||||
|
|
||||||
#include "cocoa/CCObject.h"
|
#include "CCObject.h"
|
||||||
#include "cocoa/CCGeometry.h"
|
#include "CCGeometry.h"
|
||||||
#include "platform/CCPlatformMacros.h"
|
#include "CCPlatformMacros.h"
|
||||||
|
|
||||||
NS_CC_BEGIN
|
NS_CC_BEGIN
|
||||||
|
|
|
@ -25,7 +25,7 @@ THE SOFTWARE.
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "CCActionCamera.h"
|
#include "CCActionCamera.h"
|
||||||
#include "base_nodes/CCNode.h"
|
#include "CCNode.h"
|
||||||
#include "CCCamera.h"
|
#include "CCCamera.h"
|
||||||
#include "CCStdC.h"
|
#include "CCStdC.h"
|
||||||
|
|
|
@ -40,8 +40,8 @@
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include "CCActionInterval.h"
|
#include "CCActionInterval.h"
|
||||||
#include "base_nodes/CCNode.h"
|
#include "CCNode.h"
|
||||||
#include "cocoa/CCGeometry.h"
|
#include "CCGeometry.h"
|
||||||
|
|
||||||
NS_CC_BEGIN;
|
NS_CC_BEGIN;
|
||||||
|
|
|
@ -24,7 +24,7 @@ THE SOFTWARE.
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
#include "CCActionGrid.h"
|
#include "CCActionGrid.h"
|
||||||
#include "CCDirector.h"
|
#include "CCDirector.h"
|
||||||
#include "effects/CCGrid.h"
|
#include "CCGrid.h"
|
||||||
|
|
||||||
NS_CC_BEGIN
|
NS_CC_BEGIN
|
||||||
// implementation of GridAction
|
// implementation of GridAction
|
|
@ -25,9 +25,9 @@
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "CCActionInstant.h"
|
#include "CCActionInstant.h"
|
||||||
#include "base_nodes/CCNode.h"
|
#include "CCNode.h"
|
||||||
#include "sprite_nodes/CCSprite.h"
|
#include "CCSprite.h"
|
||||||
#include "script_support/CCScriptSupport.h"
|
#include "CCScriptSupport.h"
|
||||||
|
|
||||||
#if defined(__GNUC__) && ((__GNUC__ >= 4) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 1)))
|
#if defined(__GNUC__) && ((__GNUC__ >= 4) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 1)))
|
||||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
@ -25,8 +25,8 @@ THE SOFTWARE.
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "CCActionInterval.h"
|
#include "CCActionInterval.h"
|
||||||
#include "sprite_nodes/CCSprite.h"
|
#include "CCSprite.h"
|
||||||
#include "base_nodes/CCNode.h"
|
#include "CCNode.h"
|
||||||
#include "CCStdC.h"
|
#include "CCStdC.h"
|
||||||
#include "CCActionInstant.h"
|
#include "CCActionInstant.h"
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
|
@ -27,11 +27,11 @@ THE SOFTWARE.
|
||||||
#ifndef __ACTION_CCINTERVAL_ACTION_H__
|
#ifndef __ACTION_CCINTERVAL_ACTION_H__
|
||||||
#define __ACTION_CCINTERVAL_ACTION_H__
|
#define __ACTION_CCINTERVAL_ACTION_H__
|
||||||
|
|
||||||
#include "base_nodes/CCNode.h"
|
#include "CCNode.h"
|
||||||
#include "CCAction.h"
|
#include "CCAction.h"
|
||||||
#include "CCProtocols.h"
|
#include "CCProtocols.h"
|
||||||
#include "sprite_nodes/CCSpriteFrame.h"
|
#include "CCSpriteFrame.h"
|
||||||
#include "sprite_nodes/CCAnimation.h"
|
#include "CCAnimation.h"
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
NS_CC_BEGIN
|
NS_CC_BEGIN
|
|
@ -26,12 +26,12 @@ THE SOFTWARE.
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "CCActionManager.h"
|
#include "CCActionManager.h"
|
||||||
#include "base_nodes/CCNode.h"
|
#include "CCNode.h"
|
||||||
#include "CCScheduler.h"
|
#include "CCScheduler.h"
|
||||||
#include "ccMacros.h"
|
#include "ccMacros.h"
|
||||||
#include "support/data_support/ccCArray.h"
|
#include "ccCArray.h"
|
||||||
#include "support/data_support/uthash.h"
|
#include "uthash.h"
|
||||||
#include "cocoa/CCSet.h"
|
#include "CCSet.h"
|
||||||
|
|
||||||
NS_CC_BEGIN
|
NS_CC_BEGIN
|
||||||
//
|
//
|
|
@ -29,8 +29,8 @@ THE SOFTWARE.
|
||||||
#define __ACTION_CCACTION_MANAGER_H__
|
#define __ACTION_CCACTION_MANAGER_H__
|
||||||
|
|
||||||
#include "CCAction.h"
|
#include "CCAction.h"
|
||||||
#include "cocoa/CCArray.h"
|
#include "CCArray.h"
|
||||||
#include "cocoa/CCObject.h"
|
#include "CCObject.h"
|
||||||
|
|
||||||
NS_CC_BEGIN
|
NS_CC_BEGIN
|
||||||
|
|
|
@ -23,7 +23,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
THE SOFTWARE.
|
THE SOFTWARE.
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
#include "CCActionProgressTimer.h"
|
#include "CCActionProgressTimer.h"
|
||||||
#include "misc_nodes/CCProgressTimer.h"
|
#include "CCProgressTimer.h"
|
||||||
|
|
||||||
NS_CC_BEGIN
|
NS_CC_BEGIN
|
||||||
|
|
|
@ -25,7 +25,7 @@ THE SOFTWARE.
|
||||||
#include "CCActionTiledGrid.h"
|
#include "CCActionTiledGrid.h"
|
||||||
#include "CCDirector.h"
|
#include "CCDirector.h"
|
||||||
#include "ccMacros.h"
|
#include "ccMacros.h"
|
||||||
#include "effects/CCGrid.h"
|
#include "CCGrid.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
NS_CC_BEGIN
|
NS_CC_BEGIN
|
|
@ -24,10 +24,10 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
THE SOFTWARE.
|
THE SOFTWARE.
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
#include "CCAnimation.h"
|
#include "CCAnimation.h"
|
||||||
#include "textures/CCTextureCache.h"
|
#include "CCTextureCache.h"
|
||||||
#include "textures/CCTexture2D.h"
|
#include "CCTexture2D.h"
|
||||||
#include "ccMacros.h"
|
#include "ccMacros.h"
|
||||||
#include "sprite_nodes/CCSpriteFrame.h"
|
#include "CCSpriteFrame.h"
|
||||||
|
|
||||||
NS_CC_BEGIN
|
NS_CC_BEGIN
|
||||||
|
|
|
@ -26,11 +26,11 @@ THE SOFTWARE.
|
||||||
#ifndef __CC_ANIMATION_H__
|
#ifndef __CC_ANIMATION_H__
|
||||||
#define __CC_ANIMATION_H__
|
#define __CC_ANIMATION_H__
|
||||||
|
|
||||||
#include "platform/CCPlatformConfig.h"
|
#include "CCPlatformConfig.h"
|
||||||
#include "cocoa/CCObject.h"
|
#include "CCObject.h"
|
||||||
#include "cocoa/CCArray.h"
|
#include "CCArray.h"
|
||||||
#include "cocoa/CCDictionary.h"
|
#include "CCDictionary.h"
|
||||||
#include "cocoa/CCGeometry.h"
|
#include "CCGeometry.h"
|
||||||
#include "CCSpriteFrame.h"
|
#include "CCSpriteFrame.h"
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
|
@ -28,7 +28,7 @@ THE SOFTWARE.
|
||||||
#include "CCAnimation.h"
|
#include "CCAnimation.h"
|
||||||
#include "CCSpriteFrame.h"
|
#include "CCSpriteFrame.h"
|
||||||
#include "CCSpriteFrameCache.h"
|
#include "CCSpriteFrameCache.h"
|
||||||
#include "cocoa/CCString.h"
|
#include "CCString.h"
|
||||||
#include "platform/CCFileUtils.h"
|
#include "platform/CCFileUtils.h"
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
|
@ -26,8 +26,8 @@ THE SOFTWARE.
|
||||||
#ifndef __CC_ANIMATION_CACHE_H__
|
#ifndef __CC_ANIMATION_CACHE_H__
|
||||||
#define __CC_ANIMATION_CACHE_H__
|
#define __CC_ANIMATION_CACHE_H__
|
||||||
|
|
||||||
#include "cocoa/CCObject.h"
|
#include "CCObject.h"
|
||||||
#include "cocoa/CCDictionary.h"
|
#include "CCDictionary.h"
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
|
@ -25,14 +25,14 @@ THE SOFTWARE.
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "CCAtlasNode.h"
|
#include "CCAtlasNode.h"
|
||||||
#include "textures/CCTextureAtlas.h"
|
#include "CCTextureAtlas.h"
|
||||||
#include "textures/CCTextureCache.h"
|
#include "CCTextureCache.h"
|
||||||
#include "CCDirector.h"
|
#include "CCDirector.h"
|
||||||
#include "shaders/CCGLProgram.h"
|
#include "CCGLProgram.h"
|
||||||
#include "shaders/CCShaderCache.h"
|
#include "CCShaderCache.h"
|
||||||
#include "shaders/ccGLStateCache.h"
|
#include "ccGLStateCache.h"
|
||||||
#include "CCDirector.h"
|
#include "CCDirector.h"
|
||||||
#include "support/TransformUtils.h"
|
#include "TransformUtils.h"
|
||||||
|
|
||||||
// external
|
// external
|
||||||
#include "kazmath/GL/matrix.h"
|
#include "kazmath/GL/matrix.h"
|
|
@ -24,10 +24,10 @@ THE SOFTWARE.
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "CCCamera.h"
|
#include "CCCamera.h"
|
||||||
#include "cocoa/CCString.h"
|
#include "CCString.h"
|
||||||
#include "CCGL.h"
|
#include "CCGL.h"
|
||||||
|
|
||||||
#include "draw_nodes/CCDrawingPrimitives.h"
|
#include "CCDrawingPrimitives.h"
|
||||||
#include "CCDirector.h"
|
#include "CCDirector.h"
|
||||||
#include "kazmath/GL/matrix.h"
|
#include "kazmath/GL/matrix.h"
|
||||||
|
|
|
@ -29,7 +29,7 @@ THE SOFTWARE.
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#include "cocoa/CCObject.h"
|
#include "CCObject.h"
|
||||||
#include "ccMacros.h"
|
#include "ccMacros.h"
|
||||||
#include "kazmath/mat4.h"
|
#include "kazmath/mat4.h"
|
||||||
|
|
|
@ -27,10 +27,10 @@
|
||||||
|
|
||||||
#include "CCClippingNode.h"
|
#include "CCClippingNode.h"
|
||||||
#include "kazmath/GL/matrix.h"
|
#include "kazmath/GL/matrix.h"
|
||||||
#include "shaders/CCGLProgram.h"
|
#include "CCGLProgram.h"
|
||||||
#include "shaders/CCShaderCache.h"
|
#include "CCShaderCache.h"
|
||||||
#include "CCDirector.h"
|
#include "CCDirector.h"
|
||||||
#include "draw_nodes/CCDrawingPrimitives.h"
|
#include "CCDrawingPrimitives.h"
|
||||||
|
|
||||||
NS_CC_BEGIN
|
NS_CC_BEGIN
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
#ifndef __MISCNODE_CCCLIPPING_NODE_H__
|
#ifndef __MISCNODE_CCCLIPPING_NODE_H__
|
||||||
#define __MISCNODE_CCCLIPPING_NODE_H__
|
#define __MISCNODE_CCCLIPPING_NODE_H__
|
||||||
|
|
||||||
#include "base_nodes/CCNode.h"
|
#include "CCNode.h"
|
||||||
#include "CCGL.h"
|
#include "CCGL.h"
|
||||||
|
|
||||||
NS_CC_BEGIN
|
NS_CC_BEGIN
|
|
@ -22,7 +22,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
THE SOFTWARE.
|
THE SOFTWARE.
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "support/component/CCComponent.h"
|
#include "CCComponent.h"
|
||||||
|
|
||||||
|
|
||||||
NS_CC_BEGIN
|
NS_CC_BEGIN
|
|
@ -25,7 +25,7 @@ THE SOFTWARE.
|
||||||
#ifndef __CC_FRAMEWORK_COMPONENT_H__
|
#ifndef __CC_FRAMEWORK_COMPONENT_H__
|
||||||
#define __CC_FRAMEWORK_COMPONENT_H__
|
#define __CC_FRAMEWORK_COMPONENT_H__
|
||||||
|
|
||||||
#include "cocoa/CCObject.h"
|
#include "CCObject.h"
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
NS_CC_BEGIN
|
NS_CC_BEGIN
|
|
@ -23,8 +23,8 @@ THE SOFTWARE.
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#include "support/component/CCComponentContainer.h"
|
#include "CCComponentContainer.h"
|
||||||
#include "support/component/CCComponent.h"
|
#include "CCComponent.h"
|
||||||
#include "CCDirector.h"
|
#include "CCDirector.h"
|
||||||
|
|
||||||
NS_CC_BEGIN
|
NS_CC_BEGIN
|
|
@ -25,7 +25,7 @@ THE SOFTWARE.
|
||||||
#ifndef __CC_FRAMEWORK_COMCONTAINER_H__
|
#ifndef __CC_FRAMEWORK_COMCONTAINER_H__
|
||||||
#define __CC_FRAMEWORK_COMCONTAINER_H__
|
#define __CC_FRAMEWORK_COMCONTAINER_H__
|
||||||
|
|
||||||
#include "cocoa/CCDictionary.h"
|
#include "CCDictionary.h"
|
||||||
|
|
||||||
NS_CC_BEGIN
|
NS_CC_BEGIN
|
||||||
|
|
|
@ -27,9 +27,9 @@ THE SOFTWARE.
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "ccMacros.h"
|
#include "ccMacros.h"
|
||||||
#include "ccConfig.h"
|
#include "ccConfig.h"
|
||||||
#include "cocoa/CCDictionary.h"
|
#include "CCDictionary.h"
|
||||||
#include "cocoa/CCInteger.h"
|
#include "CCInteger.h"
|
||||||
#include "cocoa/CCBool.h"
|
#include "CCBool.h"
|
||||||
#include "cocos2d.h"
|
#include "cocos2d.h"
|
||||||
#include "platform/CCFileUtils.h"
|
#include "platform/CCFileUtils.h"
|
||||||
|
|
|
@ -26,9 +26,9 @@ THE SOFTWARE.
|
||||||
#ifndef __CCCONFIGURATION_H__
|
#ifndef __CCCONFIGURATION_H__
|
||||||
#define __CCCONFIGURATION_H__
|
#define __CCCONFIGURATION_H__
|
||||||
|
|
||||||
#include "cocoa/CCObject.h"
|
#include "CCObject.h"
|
||||||
#include "CCGL.h"
|
#include "CCGL.h"
|
||||||
#include "cocoa/CCString.h"
|
#include "CCString.h"
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
#define __COCOS2D_CCDEPRECATED_H__
|
#define __COCOS2D_CCDEPRECATED_H__
|
||||||
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include "cocoa/CCGeometry.h"
|
#include "CCGeometry.h"
|
||||||
#include "ccTypes.h"
|
#include "ccTypes.h"
|
||||||
|
|
||||||
NS_CC_BEGIN
|
NS_CC_BEGIN
|
|
@ -31,31 +31,31 @@ THE SOFTWARE.
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#include "ccFPSImages.h"
|
#include "ccFPSImages.h"
|
||||||
#include "draw_nodes/CCDrawingPrimitives.h"
|
#include "CCDrawingPrimitives.h"
|
||||||
#include "cocoa/CCNS.h"
|
#include "CCNS.h"
|
||||||
#include "layers_scenes_transitions_nodes/CCScene.h"
|
#include "CCScene.h"
|
||||||
#include "cocoa/CCArray.h"
|
#include "CCArray.h"
|
||||||
#include "CCScheduler.h"
|
#include "CCScheduler.h"
|
||||||
#include "ccMacros.h"
|
#include "ccMacros.h"
|
||||||
#include "support/CCNotificationCenter.h"
|
#include "CCNotificationCenter.h"
|
||||||
#include "layers_scenes_transitions_nodes/CCTransition.h"
|
#include "CCTransition.h"
|
||||||
#include "textures/CCTextureCache.h"
|
#include "CCTextureCache.h"
|
||||||
#include "sprite_nodes/CCSpriteFrameCache.h"
|
#include "CCSpriteFrameCache.h"
|
||||||
#include "cocoa/CCAutoreleasePool.h"
|
#include "CCAutoreleasePool.h"
|
||||||
#include "platform/CCFileUtils.h"
|
#include "platform/CCFileUtils.h"
|
||||||
#include "CCApplication.h"
|
#include "CCApplication.h"
|
||||||
#include "label_nodes/CCLabelBMFont.h"
|
#include "CCLabelBMFont.h"
|
||||||
#include "label_nodes/CCLabelAtlas.h"
|
#include "CCLabelAtlas.h"
|
||||||
#include "actions/CCActionManager.h"
|
#include "CCActionManager.h"
|
||||||
#include "sprite_nodes/CCAnimationCache.h"
|
#include "CCAnimationCache.h"
|
||||||
#include "event_dispatcher/CCTouch.h"
|
#include "CCTouch.h"
|
||||||
#include "event_dispatcher/CCEventDispatcher.h"
|
#include "CCEventDispatcher.h"
|
||||||
#include "support/user_default/CCUserDefault.h"
|
#include "CCUserDefault.h"
|
||||||
#include "shaders/ccGLStateCache.h"
|
#include "ccGLStateCache.h"
|
||||||
#include "shaders/CCShaderCache.h"
|
#include "CCShaderCache.h"
|
||||||
#include "kazmath/kazmath.h"
|
#include "kazmath/kazmath.h"
|
||||||
#include "kazmath/GL/matrix.h"
|
#include "kazmath/GL/matrix.h"
|
||||||
#include "support/CCProfiling.h"
|
#include "CCProfiling.h"
|
||||||
#include "platform/CCImage.h"
|
#include "platform/CCImage.h"
|
||||||
#include "CCEGLView.h"
|
#include "CCEGLView.h"
|
||||||
#include "CCConfiguration.h"
|
#include "CCConfiguration.h"
|
|
@ -27,15 +27,15 @@ THE SOFTWARE.
|
||||||
#ifndef __CCDIRECTOR_H__
|
#ifndef __CCDIRECTOR_H__
|
||||||
#define __CCDIRECTOR_H__
|
#define __CCDIRECTOR_H__
|
||||||
|
|
||||||
#include "platform/CCPlatformMacros.h"
|
#include "CCPlatformMacros.h"
|
||||||
|
|
||||||
#include "cocoa/CCObject.h"
|
#include "CCObject.h"
|
||||||
#include "ccTypes.h"
|
#include "ccTypes.h"
|
||||||
#include "cocoa/CCGeometry.h"
|
#include "CCGeometry.h"
|
||||||
#include "cocoa/CCArray.h"
|
#include "CCArray.h"
|
||||||
#include "CCGL.h"
|
#include "CCGL.h"
|
||||||
#include "kazmath/mat4.h"
|
#include "kazmath/mat4.h"
|
||||||
#include "label_nodes/CCLabelAtlas.h"
|
#include "CCLabelAtlas.h"
|
||||||
|
|
||||||
|
|
||||||
NS_CC_BEGIN
|
NS_CC_BEGIN
|
|
@ -21,9 +21,9 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "CCDrawNode.h"
|
#include "CCDrawNode.h"
|
||||||
#include "shaders/CCShaderCache.h"
|
#include "CCShaderCache.h"
|
||||||
#include "CCGL.h"
|
#include "CCGL.h"
|
||||||
#include "support/CCNotificationCenter.h"
|
#include "CCNotificationCenter.h"
|
||||||
#include "CCEventType.h"
|
#include "CCEventType.h"
|
||||||
|
|
||||||
NS_CC_BEGIN
|
NS_CC_BEGIN
|
|
@ -30,7 +30,7 @@
|
||||||
#ifndef __CCDRAWNODES_CCDRAW_NODE_H__
|
#ifndef __CCDRAWNODES_CCDRAW_NODE_H__
|
||||||
#define __CCDRAWNODES_CCDRAW_NODE_H__
|
#define __CCDRAWNODES_CCDRAW_NODE_H__
|
||||||
|
|
||||||
#include "base_nodes/CCNode.h"
|
#include "CCNode.h"
|
||||||
#include "ccTypes.h"
|
#include "ccTypes.h"
|
||||||
|
|
||||||
NS_CC_BEGIN
|
NS_CC_BEGIN
|
|
@ -40,10 +40,10 @@ THE SOFTWARE.
|
||||||
#include "ccMacros.h"
|
#include "ccMacros.h"
|
||||||
#include "CCGL.h"
|
#include "CCGL.h"
|
||||||
#include "CCDirector.h"
|
#include "CCDirector.h"
|
||||||
#include "shaders/ccGLStateCache.h"
|
#include "ccGLStateCache.h"
|
||||||
#include "shaders/CCShaderCache.h"
|
#include "CCShaderCache.h"
|
||||||
#include "shaders/CCGLProgram.h"
|
#include "CCGLProgram.h"
|
||||||
#include "actions/CCActionCatmullRom.h"
|
#include "CCActionCatmullRom.h"
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
|
|
@ -42,7 +42,7 @@ THE SOFTWARE.
|
||||||
|
|
||||||
#include "ccTypes.h"
|
#include "ccTypes.h"
|
||||||
#include "ccMacros.h"
|
#include "ccMacros.h"
|
||||||
#include "cocoa/CCGeometry.h" // for Point
|
#include "CCGeometry.h" // for Point
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@file
|
@file
|
|
@ -29,7 +29,7 @@
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#include "platform/CCPlatformMacros.h"
|
#include "CCPlatformMacros.h"
|
||||||
|
|
||||||
NS_CC_BEGIN
|
NS_CC_BEGIN
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
#include "CCEvent.h"
|
#include "CCEvent.h"
|
||||||
#include "CCEventTouch.h"
|
#include "CCEventTouch.h"
|
||||||
#include "CCEventListenerTouch.h"
|
#include "CCEventListenerTouch.h"
|
||||||
#include "base_nodes/CCNode.h"
|
#include "CCNode.h"
|
||||||
#include "CCDirector.h"
|
#include "CCDirector.h"
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
|
@ -25,7 +25,7 @@
|
||||||
#ifndef __CC_EVENT_DISPATCHER_H__
|
#ifndef __CC_EVENT_DISPATCHER_H__
|
||||||
#define __CC_EVENT_DISPATCHER_H__
|
#define __CC_EVENT_DISPATCHER_H__
|
||||||
|
|
||||||
#include "platform/CCPlatformMacros.h"
|
#include "CCPlatformMacros.h"
|
||||||
#include "CCEventListener.h"
|
#include "CCEventListener.h"
|
||||||
|
|
||||||
#include <functional>
|
#include <functional>
|
|
@ -25,8 +25,8 @@
|
||||||
#ifndef cocos2d_libs_EventListener_h
|
#ifndef cocos2d_libs_EventListener_h
|
||||||
#define cocos2d_libs_EventListener_h
|
#define cocos2d_libs_EventListener_h
|
||||||
|
|
||||||
#include "platform/CCPlatformMacros.h"
|
#include "CCPlatformMacros.h"
|
||||||
#include "cocoa/CCObject.h"
|
#include "CCObject.h"
|
||||||
|
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#include <string>
|
#include <string>
|
|
@ -27,7 +27,7 @@
|
||||||
#define __cocos2d_libs__CCTouchEventListener__
|
#define __cocos2d_libs__CCTouchEventListener__
|
||||||
|
|
||||||
#include "CCEventListener.h"
|
#include "CCEventListener.h"
|
||||||
#include "event_dispatcher/CCTouch.h"
|
#include "CCTouch.h"
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
#define __cocos2d_libs__TouchEvent__
|
#define __cocos2d_libs__TouchEvent__
|
||||||
|
|
||||||
#include "CCEvent.h"
|
#include "CCEvent.h"
|
||||||
#include "event_dispatcher/CCTouch.h"
|
#include "CCTouch.h"
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
NS_CC_BEGIN
|
NS_CC_BEGIN
|
|
@ -23,7 +23,7 @@
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "CCFont.h"
|
#include "CCFont.h"
|
||||||
#include "support/ccUTF8.h"
|
#include "ccUTF8.h"
|
||||||
|
|
||||||
#include "CCFontFNT.h"
|
#include "CCFontFNT.h"
|
||||||
#include "CCFontFreeType.h"
|
#include "CCFontFreeType.h"
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue