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

📄 input.hpp

📁 游戏编程精华02-含有几十个游戏编程例子
💻 HPP
字号:
/* Copyright (C) Javier F. Otaegui, 2001. 
 * All rights reserved worldwide.
 *
 * This software is provided "as is" without express or implied
 * warranties. You may freely copy and compile this source into
 * applications you distribute provided that the copyright text
 * below is included in the resulting source code, for example:
 * "Portions Copyright (C) Javier F. Otaegui, 2001"
 */
#ifndef _INPUT_HPP_
#define _INPUT_HPP_

#include "blitbuf.hpp"

/* Datos Globales */
extern int g_MouseButton, g_MouseX, g_MouseY;
extern int g_oldMouseButton;		// Datos de la posicion anterior
extern int g_oldMouseX, oldMouseY;
extern int g_ShiftStatus;
extern blitbuf *g_MouseBackground;

/* Funciones exportables */
void MouseEvent(void);
void DisplayMouse (blitbuf *buf, unsigned short x, unsigned short y);
BOOL DIInit( HWND hwnd, HINSTANCE g_hinst );
void DITerm(void);

#endif

⌨️ 快捷键说明

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