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

📄 thinlib.h

📁 DC上的GB模拟器源代码
💻 H
字号:
/*
** thinlib (c) 2001 Matthew Conte (matt@conte.com)
**
**
** thinlib.h
**
** main library header
**
** $Id: $
*/

#ifndef _THINLIB_H_
#define _THINLIB_H_

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

/* types */
#include "tl_types.h"
#include "tl_log.h"
#include "tl_prof.h"

/* system */
#include "tl_djgpp.h"
#include "tl_int.h"
#include "tl_timer.h"

/* input/events */
#include "tl_event.h"
#include "tl_key.h"
#include "tl_mouse.h"
#include "tl_joy.h"
#include "tl_dpp.h"

/* video */
#include "tl_bmp.h"
#include "tl_video.h"

/* audio */
#include "tl_sound.h"

#define  THIN_KEY       0x0001
#define  THIN_MOUSE     0x0002
#define  THIN_JOY       0x0004
#define  THIN_DPP       0x0008
#define  THIN_TIMER     0x0010
#define  THIN_VIDEO     0x0020
#define  THIN_SOUND     0x0040


/* main interface */
extern int thin_init(int devices);
extern void thin_shutdown(void);

extern void thin_add_exit(void (*func)(void));
extern void thin_remove_exit(void (*func)(void));

#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif /* !_THINLIB_H */

/*
** $Log: $
*/

⌨️ 快捷键说明

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