浏览代码

Define constants

Use #define instead of const for constants.
feature/data-structs
父节点
当前提交
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

正在加载...
取消
保存