Added AABB Point

This commit is contained in:
2021-08-17 08:25:20 -07:00
parent 0557ba3274
commit 41c460b90b
20 changed files with 310 additions and 55 deletions

View File

@ -19,6 +19,10 @@
#define INPUT_DEBUG_PLUS (inputbind_t)0x08
#define INPUT_DEBUG_MINUS (inputbind_t)0x09
/** Reserved Inputs (Starts at 64) */
#define INPUT_MOUSE_X (inputbind_t)0x40
#define INPUT_MOUSE_Y (inputbind_t)0x41
/** Real Inputs (Starts at 128/0x80) */
#define INPUT_UP (inputbind_t)0x80
#define INPUT_DOWN (inputbind_t)0x81
@ -26,9 +30,8 @@
#define INPUT_RIGHT (inputbind_t)0x83
#define INPUT_ACCEPT (inputbind_t)0x84
#define INPUT_BIND_COUNT 0xFF
#define INPUT_SOURCE_COUNT 0xFF
#define INPUT_SOURCE_COUNT 1024
/**
* Input Bind, a specific action bind reference for the game engine to use.
@ -41,7 +44,7 @@ typedef uint8_t inputbind_t;
* hell this number refers to. For most platforms it will be an input, such as a
* keyboard scancode or a (pad number * button count) + button.
*/
typedef uint8_t inputsource_t;
typedef uint16_t inputsource_t;
/**
* Value that represents the state of an input. Defined as 0-1 where 0 is set