uses the cocos2d.x namespace for "cocos2d x" configuration values

This commit is contained in:
Ricardo Quesada 2013-05-30 16:29:36 -07:00
parent f6665d492b
commit bf08b6040a
1 changed files with 5 additions and 5 deletions

View File

@ -60,19 +60,19 @@ bool CCConfiguration::init(void)
m_pDefaults = CCDictionary::create();
m_pDefaults->retain();
m_pDefaults->setObject( CCString::create( cocos2dVersion() ), "cocos2d.version");
m_pDefaults->setObject( CCString::create( cocos2dVersion() ), "cocos2d.x.version");
#if CC_ENABLE_PROFILERS
m_pDefaults->setObject( CCBool::create(true), "cocos2d.compiled_with_profiler");
m_pDefaults->setObject( CCBool::create(true), "cocos2d.x.compiled_with_profiler");
#else
m_pDefaults->setObject( CCBool::create(false), "cocos2d.compiled_with_profiler");
m_pDefaults->setObject( CCBool::create(false), "cocos2d.x.compiled_with_profiler");
#endif
#if CC_ENABLE_GL_STATE_CACHE == 0
m_pDefaults->setObject( CCBool::create(false), "cocos2d.compiled_with_gl_state_cache");
m_pDefaults->setObject( CCBool::create(false), "cocos2d.x.compiled_with_gl_state_cache");
#else
m_pDefaults->setObject( CCBool::create(true), "cocos2d.compiled_with_gl_state_cache");
m_pDefaults->setObject( CCBool::create(true), "cocos2d.x.compiled_with_gl_state_cache");
#endif
return true;