www.pudn.com > 2DGameAnimS60C_v1_0.zip > RetroNodeTileset.h


//////////////////////////////////////////////////////////////////////// 
// 
// RetroNodeTileset.h 
// 
// Copyright (c) 2003 Nokia Mobile Phones Ltd.  All rights reserved. 
// 
//////////////////////////////////////////////////////////////////////// 
 
#ifndef __RETRONODETILESET_H 
#define __RETRONODETILESET_H 
 
#include "Tileset.h" 
 
//////////////////////////////////////////////////////////////////////// 
 
class CRetroLeafTileset; 
 
//////////////////////////////////////////////////////////////////////// 
 
class CRetroNodeTileset : public CTileset  
	{ 
public: 
	static CRetroNodeTileset* NewL(CRetroLeafTileset& aLeafFactory); 
	~CRetroNodeTileset(); 
 
protected: 
	CRetroNodeTileset(); 
    void ConstructL(CRetroLeafTileset& aLeafFactory); 
 
	enum { KTopLeftIsForeground		= 1 }; 
	enum { KTopRightIsForeground	= 2 }; 
	enum { KBottomLeftIsForeground	= 4 }; 
	enum { KBottomRightIsForeground	= 8 }; 
 
private: 
	void CopyData(TInt aSrc[], TInt aDest[]); 
	void MergeData(TInt aSrc[], TInt aDest[]); 
	}; 
 
//////////////////////////////////////////////////////////////////////// 
 
#endif