mapblockset.h
来自「一个symbian 冒险游戏代码」· C头文件 代码 · 共 35 行
H
35 行
#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 + =
减小字号Ctrl + -
显示快捷键?