buttons-related semantics update + refactor

This commit is contained in:
MihailRis
2024-02-03 04:48:05 +03:00
parent 537a0ca358
commit 6cdb45485b
12 changed files with 130 additions and 110 deletions
+7 -8
View File
@@ -4,18 +4,17 @@
#include <stdlib.h>
#include <stdint.h>
typedef unsigned int uint;
using uint = unsigned int;
// use for bytes arrays
typedef uint8_t ubyte;
using ubyte = uint8_t;
// content indices
typedef uint32_t itemid_t;
typedef uint16_t blockid_t;
using itemid_t = uint32_t;
using blockid_t = uint16_t;
typedef uint32_t itemcount_t;
typedef uint16_t blockstate_t;
typedef uint16_t light_t;
using itemcount_t = uint32_t;
using blockstate_t = uint16_t;
using light_t = uint16_t;
#endif