Browse Source

Define constants

Use #define instead of const for constants.
feature/data-structs
TheoryOfNekomata 2 years ago
parent
commit
123ccffa2b
1 changed files with 3 additions and 4 deletions
  1. +3
    -4
      src/packages/game/IZ_common.h

+ 3
- 4
src/packages/game/IZ_common.h View File

@@ -3,10 +3,9 @@


#include <stdint.h> #include <stdint.h>


static const char* APP_NAME = "SDL2";

static const uint8_t CONTROLS = 16;
#define CONTROLS 16
#define PLAYERS 1


static const uint8_t PLAYERS = 1;
static const char* APP_NAME = "SDL2";


#endif #endif

Loading…
Cancel
Save