mrdatatypes.h

来自「Games programming all in one code chapte」· C头文件 代码 · 共 26 行

H
26
字号
 /* 'mrDatatypes.h' */

 /* Include this file only once */
#pragma once

 /* Basic type definitions */
typedef   char                mrInt8;
typedef   unsigned char       mrUInt8;
typedef   short               mrInt16;
typedef   unsigned short      mrUInt16;
typedef   long                mrInt32;
typedef   unsigned long       mrUInt32;
typedef   int                 mrInt;
typedef   unsigned int        mrUInt;

typedef   float               mrReal32;
typedef   double              mrReal64;

 /* Composed definitions */
enum mrBool32
{
 mrFalse                      = 0,
 mrTrue                       = 1,

 mrBool32_Force32             = 0xFFFFFFFF
};

⌨️ 快捷键说明

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