Added some defineable types
This commit is contained in:
@@ -7,6 +7,12 @@
|
||||
#include <malloc.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#ifndef PLATFORMINPUT_T
|
||||
#define PLATFORMINPUT_T void
|
||||
#endif
|
||||
/** Definition for the platform's input source */
|
||||
typedef PLATFORMINPUT_T platforminput_t;
|
||||
|
||||
/**
|
||||
* Contains information about the running platform. Essentially this is just
|
||||
* some context as to what is running the game engine itself. It's mostly for
|
||||
@@ -19,4 +25,8 @@ typedef struct {
|
||||
|
||||
/** Dimensions of the screen (in pixels) */
|
||||
uint32_t screenWidth, screenHeight;
|
||||
|
||||
int32_t inputSourceCount;
|
||||
float *inputValues;
|
||||
platforminput_t *inputSource;
|
||||
} platform_t;
|
Reference in New Issue
Block a user