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

📄 common.hpp

📁 SNES game emulator. C and asm files.
💻 HPP
字号:
/*	Common.hpp - misc. common definitions... */

#ifndef _COMMON_HPP
#define _COMMON_HPP

//#define NODEBUGOUT

#pragma warning 389 5
	// turn off "integral value may be truncated" warning.  I hate that.

#define PROGRAMNAME "SNEqr"
#define PROGRAMVERSION "0.340"

typedef unsigned char byte;
typedef unsigned short int word;
typedef unsigned long int dword;
typedef unsigned char boolean;

#define true 1
#define false 0
#define TRUE 1
#define FALSE 0
#define YES 1
#define NO 0
#define OKAY 0

#define INLIMITS(x,min,max) ((x) < min ? min : (x) > max ? max : (x))
#define SGN(x) ((x) < 0 ? -1 : (x) > 0 ? 1 : 0)
//#define ABS(x) ((x) < 0 ? -(x) : (x))

	// General purpose header files
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <conio.h>
#include <string.h>
#include <dos.h>
#include <i86.h>
#include <stddef.h>
#include "MiscFunc.hpp"

#endif

⌨️ 快捷键说明

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