diff options
Diffstat (limited to 'lib/constants.h')
| -rw-r--r-- | lib/constants.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/constants.h b/lib/constants.h new file mode 100644 index 0000000..817fa43 --- /dev/null +++ b/lib/constants.h @@ -0,0 +1,12 @@ +#define WORLD_MAX_PLAYERS 5 +#define WORLD_MAX_BULLETS 5000 + +#define PLAYER_ACCELERATION 150.0f +#define PLAYER_DRAG 2.0f + +enum { + INPUT_UP = 1 << 0, + INPUT_DOWN = 1 << 1, + INPUT_LEFT = 1 << 2, + INPUT_RIGHT = 1 << 3 +}; |
