Skip to content

Commit

Permalink
gitattributes
Browse files Browse the repository at this point in the history
  • Loading branch information
kirankumarcs committed Aug 19, 2016
1 parent 30297df commit ac01a2e
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,19 @@
# Auto detect text files and perform LF normalization
* text=auto

# Custom for Visual Studio
*.cs diff=csharp

# Standard to msysgit
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain

*.txt text eol=lf
3 changes: 2 additions & 1 deletion safari/Classes/mini_games/CatGameScene.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ void CatGame::generateBuildingLayer()

void CatGame::stringGap()
{
_gapNodes.clear();
auto text = TextGenerator::getInstance();
_randomWord = text->generateAWord();
CCLOG("string %s ", _randomWord.c_str());
Expand Down Expand Up @@ -156,7 +157,7 @@ void CatGame::catMovement()
hippo1 = new (std::nothrow) Cat();
hippo1->_catNode1 = _catLayer;
hippo1->_catAnimation1 = _catAnimation;
hippo1->_movingPositionX = 0;
hippo1->_movingPositionX = _previousX;
hippo1->_movingPositionY = _distanceY;
hippo1->_stringPositionX1 = _stringPositionX;
hippo1->_stringPositionY1 = _stringPositionY;
Expand Down

0 comments on commit ac01a2e

Please sign in to comment.