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

📄 game.h

📁 qt版的超级玛利
💻 H
字号:
//-----------------------------------------------------------------------------
//
// Copyright (C) July 24, 2000 by Zhang Yong
// Email: z-meng@yeah.net
// This source is available for distribution and/or modification
// only under the terms of the GPL license.
//
// The source is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// FITNESS FOR A PARTICULAR PURPOSE. See the GPL.txt for more details.
//
//-----------------------------------------------------------------------------


#ifndef _GAME_H
#define _GAME_H

#include "input.h"
#include "mytime.h"

#define SCREEN_W			640
#define SCREEN_H			480


extern CInput g_input;
extern BOOL g_bShowStats;
extern BOOL g_bPaused;
extern CTime g_lasttime;
extern BOOL g_darken;

BOOL InitGame();
void PauseGame();
BOOL LoadBitmaps();
void ReleaseBitmaps();
void RestoreBitmaps();
BOOL LoadPalette( char *fname, PALETTEENTRY ape[] );
void UpdateFrame();


#endif

⌨️ 快捷键说明

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