buttons-related semantics update + refactor
This commit is contained in:
+7
-8
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user