Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ build_*_vc10/
*.pbxuser
*.xcbkptlist
*.xcscheme
*.xcworkspacedata
*.xcuserstate
xcschememanagement.plist
build/
Expand Down
123 changes: 0 additions & 123 deletions cocos2d-ios.xcworkspace/contents.xcworkspacedata

This file was deleted.

540 changes: 539 additions & 1 deletion cocos2d_libs.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

This file was deleted.

10 changes: 5 additions & 5 deletions cocos2dx/platform/CCFileUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -617,26 +617,26 @@ std::string FileUtils::fullPathForFilename(const char* pszFileName)

string fullpath = "";

for (std::vector<std::string>::iterator searchPathsIter = _searchPathArray.begin();
for (auto searchPathsIter = _searchPathArray.begin();
searchPathsIter != _searchPathArray.end(); ++searchPathsIter) {
for (std::vector<std::string>::iterator resOrderIter = _searchResolutionsOrderArray.begin();
for (auto resOrderIter = _searchResolutionsOrderArray.begin();
resOrderIter != _searchResolutionsOrderArray.end(); ++resOrderIter) {

//CCLOG("\n\nSEARCHING: %s, %s, %s", newFilename.c_str(), resOrderIter->c_str(), searchPathsIter->c_str());
// CCLOG("\n\nSEARCHING: %s, %s, %s", newFilename.c_str(), resOrderIter->c_str(), searchPathsIter->c_str());

fullpath = this->getPathForFilename(newFilename, *resOrderIter, *searchPathsIter);

if (fullpath.length() > 0)
{
// Using the filename passed in as key.
_fullPathCache.insert(std::pair<std::string, std::string>(pszFileName, fullpath));
//CCLOG("Returning path: %s", fullpath.c_str());
// CCLOG("Returning path: %s", fullpath.c_str());
return fullpath;
}
}
}

//CCLOG("cocos2d: fullPathForFilename: No file found at %s. Possible missing file.", pszFileName);
// CCLOG("cocos2d: fullPathForFilename: No file found at %s. Possible missing file.", pszFileName);

// The file wasn't found, return the file name passed in.
return pszFileName;
Expand Down
3 changes: 3 additions & 0 deletions cocos2dx/platform/mac/CCGL.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ THE SOFTWARE.
#define glDeleteVertexArrays glDeleteVertexArraysAPPLE
#define glGenVertexArrays glGenVertexArraysAPPLE
#define glBindVertexArray glBindVertexArrayAPPLE
#define glClearDepthf glClearDepth
#define glDepthRangef glDepthRange
#define glReleaseShaderCompiler(xxx)


#endif // __PLATFORM_MAC_CCGL_H__
Loading