📄 def.h
字号:
/* Copyright (C) Dante Treglia II, 2000. * 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) Dante Treglia II, 2000" */#ifndef __DEF_H#define __DEF_H#ifdef WIN32#include "win32.h"#endiftypedef char s8;typedef unsigned char u8;typedef float f32;typedef double f64;#ifdef WIN32typedef __int16 s16;typedef __int32 s32;typedef __int64 s64;typedef unsigned __int16 u16;typedef unsigned __int32 u32;typedef unsigned __int64 u64;#elsetypedef signed short s16;typedef signed long s32;typedef signed long long s64;typedef unsigned short u16;typedef unsigned long u32;typedef unsigned long long u64;#endiftypedef struct {u8 r, g, b, a;} COLOR;;#define MALLOC malloc#define SET_COLOR(c, rIn, gIn, bIn, aIn) \ c.r = rIn; \ c.g = gIn; \ c.b = bIn; \ c.a = aIn#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -