2023-10-13 13:27:43 +03:00
|
|
|
#ifndef COMMON_H
|
|
|
|
#define COMMON_H
|
|
|
|
|
2023-10-06 16:23:21 +03:00
|
|
|
typedef signed char s8;
|
|
|
|
typedef signed short s16;
|
|
|
|
typedef signed int s32;
|
|
|
|
typedef signed long long s64;
|
|
|
|
typedef unsigned char u8;
|
|
|
|
typedef unsigned short u16;
|
|
|
|
typedef unsigned int u32;
|
|
|
|
typedef unsigned long long u64;
|
2023-10-07 09:17:19 +03:00
|
|
|
typedef float f32;
|
2023-10-06 16:23:21 +03:00
|
|
|
|
|
|
|
#define true 1
|
|
|
|
#define false 0
|
|
|
|
#define bool s32
|
|
|
|
|
2023-10-07 09:41:03 +03:00
|
|
|
#define NULL 0
|
2023-10-07 10:29:27 +03:00
|
|
|
|
2023-10-07 11:20:04 +03:00
|
|
|
double fabsf(double f);
|
2023-10-13 13:27:43 +03:00
|
|
|
#pragma intrinsic(fabsf)
|
2023-10-19 01:54:19 +03:00
|
|
|
|
|
|
|
|
2023-10-13 13:27:43 +03:00
|
|
|
#endif
|
2023-10-19 01:54:19 +03:00
|
|
|
|