mirror of https://github.com/axmolengine/axmol.git
issue #1056: Renamed CC_COCOSNODE_RENDER_SUBPIXEL to CC_NODE_RENDER_SUBPIXEL in CCNode.cpp
This commit is contained in:
parent
5e71f5fc7c
commit
0ef65d1ed5
|
@ -39,7 +39,7 @@ THE SOFTWARE.
|
|||
// externals
|
||||
#include "kazmath/GL/matrix.h"
|
||||
|
||||
#if CC_COCOSNODE_RENDER_SUBPIXEL
|
||||
#if CC_NODE_RENDER_SUBPIXEL
|
||||
#define RENDER_IN_SUBPIXEL
|
||||
#else
|
||||
#define RENDER_IN_SUBPIXEL (int)
|
||||
|
|
|
@ -805,7 +805,7 @@ TMXIsoZorder::TMXIsoZorder()
|
|||
addChild(map, 0, kTagTileMap);
|
||||
|
||||
CCSize s = map->getContentSize();
|
||||
////----UXLOG("ContentSize: %f, %f", s.width,s.height);
|
||||
CCLOG("ContentSize: %f, %f", s.width,s.height);
|
||||
map->setPosition(ccp(-s.width/2,0));
|
||||
|
||||
m_tamara = CCSprite::spriteWithFile(s_pPathSister1);
|
||||
|
@ -1011,7 +1011,7 @@ TMXOrthoVertexZ::TMXOrthoVertexZ()
|
|||
// can use any CCSprite and it will work OK.
|
||||
CCTMXLayer* layer = map->layerNamed("trees");
|
||||
m_tamara = layer->tileAt(ccp(0,11));
|
||||
CCLOG("%@ vertexZ: %f", m_tamara, m_tamara->getVertexZ());
|
||||
CCLOG("%p vertexZ: %f", m_tamara, m_tamara->getVertexZ());
|
||||
m_tamara->retain();
|
||||
|
||||
CCActionInterval* move = CCMoveBy::actionWithDuration(10, ccpMult( ccp(400,450), 1/CC_CONTENT_SCALE_FACTOR()));
|
||||
|
|
Loading…
Reference in New Issue