minimap.h

来自「小型的3D游戏引擎」· C头文件 代码 · 共 23 行

H
23
字号
#ifndef _MINIMAP_H_
#define _MINIMAP_H_

#include "../texture.h"
#include "../global.h"

#define MINIMAP_WIDTH 128

class GcMinimap
{
public:
	
	void Load( GcTexture *land, uint mapWidth, int scale );
	void Draw( float x, float y );

private:

	GcTexture	*minimap;
	float		scaler;
};


#endif

⌨️ 快捷键说明

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