⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mapblockset.h

📁 一个symbian 冒险游戏代码
💻 H
字号:
#ifndef _MAPBLOCKSET_H
#define _MAPBLOCKSET_H


#include "Def.h"
#include <gr/SurfaceFormat.h>
#include <lang/String.h>
#include <lang/Array.h>
#include <stdint.h>


/**
 * Containers of block images used by the maps.
 */
class MapBlockSet
{
public:
	lang::Array<uint8_t>	data;
	int						width;
	int						height;
	int						pitch;
	uint16_t				palette[256];
	gr::SurfaceFormat		format;
	char					name[64];
	char					loadname[128];
	lang::Array<uint8_t*>	blockbits;

	/** Loads map block bitmaps from TGA. */
	void	load( const char *filename, int blockwidth, int blockheight );
};



#endif // _MAPBLOCKSET_H

⌨️ 快捷键说明

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