?? main.h
字號:
#if !defined(KANE_RPG_MAIN_H)
#define KANE_RPG_MAIN_H
#include <windows.h>
#include <ddraw.h>
#include "Ddutil.h"
#include "Game.h"
#include "Graph.h"
#include "Sprite.h"
int PASCAL WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow);
static BOOL InitWindow(HINSTANCE hInstance, int nCmdShow);
LRESULT CALLBACK WinProc(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam);
void MakeRect(int left, int top, int right, int bottom);
extern HWND hwnd;
extern RECT rect;
extern Game *game;
extern Graph *graph;
extern Sprite *sprite;
const DDSNum = 6;
const SPrimary = 0;
const SBuffer = 1;
const SBack = 2;
const STile = 3;
const SSprite = 4;
const SMouse = 5;
extern LPDIRECTDRAW lpDD;
extern LPDIRECTDRAWSURFACE DDS[DDSNum];
extern int SW[DDSNum];
extern int SH[DDSNum];
const DWORD SrcKey=DDBLTFAST_SRCCOLORKEY | DDBLTFAST_WAIT;
const DWORD NoKey=DDBLTFAST_NOCOLORKEY| DDBLTFAST_WAIT;
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -