retronodetileset.h

来自「symbian系统上的2D图形游戏」· C头文件 代码 · 共 44 行

H
44
字号
////////////////////////////////////////////////////////////////////////
//
// 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

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?