Sfoglia il codice sorgente

Define constants

Use #define instead of const for constants.
feature/data-structs
parent
commit
123ccffa2b
1 ha cambiato i file con 3 aggiunte e 4 eliminazioni
  1. +3
    -4
      src/packages/game/IZ_common.h

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

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

#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

Caricamento…
Annulla
Salva