2024-02-26 01:54:57 +00:00
|
|
|
#ifndef CROCPARTY_SYS_DATA_H
|
|
|
|
#define CROCPARTY_SYS_DATA_H
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
typedef int32_t sys_i32;
|
|
|
|
typedef uint8_t sys_color;
|
|
|
|
typedef uint32_t sys_screen_color;
|
|
|
|
|
|
|
|
sys_screen_color sys_make_screen_color(uint8_t r, uint8_t g, uint8_t b);
|
|
|
|
|
2024-02-26 02:38:53 +00:00
|
|
|
sys_i32 sys_max_i32(sys_i32 x, sys_i32 y);
|
|
|
|
sys_i32 sys_min_i32(sys_i32 x, sys_i32 y);
|
|
|
|
|
|
|
|
#define SYS_COLOR_TRANSPARENT 255
|
|
|
|
#define SYS_COLOR_N 256
|
|
|
|
|
2024-02-26 01:54:57 +00:00
|
|
|
#endif // CROCPARTY_SYS_DATA_H
|