瀏覽代碼

Define constants

Use #define instead of const for constants.
master
TheoryOfNekomata 2 年之前
父節點
當前提交
123ccffa2b
共有 1 個文件被更改,包括 3 次插入4 次删除
  1. +3
    -4
      src/packages/game/IZ_common.h

+ 3
- 4
src/packages/game/IZ_common.h 查看文件

@@ -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

Loading…
取消
儲存