?? imager.h
字號(hào):
#include "hge.h"
#include "hgesprite.h"
#include "hgefont.h"
#include "game.h"
class CImager
{
public:
CImager(CGame* _game);
~CImager();
void LoadGraphics(HTEXTURE* tex);
void DrawScene(int mousex, int mousey);
void Click(int mousex, int mousey);
void SetXY(int _x, int _y) { x = _x; y = _y; };
void IncScale() { if (scale >= 5) return; scale = scale + 0.05f; };
void DecScale() { if (scale <= 0) return; scale = scale - 0.05f; };
private:
CGame* Game;
HTEXTURE* cells_tex;
hgeSprite* cell_sprs[ROWS*COLUMNS-1];
hgeFont* fnt;
int x, y;
int curx, cury;
float scale;
float angle;
float rot_time;
};
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -