Add unused play state build option

This commit is contained in:
Colton Rushton 2021-02-15 20:07:47 -04:00
parent 9198ad87ae
commit b6b2350397
1 changed files with 8 additions and 0 deletions

View File

@ -43,6 +43,8 @@ BETTERCAMERA ?= 0
NODRAWINGDISTANCE ?= 0
# Disable QoL fixes by default (helps with them purists)
QOL_FIXES ?= 0
# Disable unused play state tweak by default
USE_UNUSED_PLAY_STATE ?= 0
# Enable extended options menu by default
EXT_OPTIONS_MENU ?= 1
# Disable text-based save-files by default
@ -575,6 +577,12 @@ ifeq ($(QOL_FIXES),1)
CFLAGS += -DQOL_FIXES
endif
# Check for unused play state option
ifeq ($(USE_UNUSED_PLAY_STATE),1)
CC_CHECK += DUSE_UNUSED_PLAY_STATE
CFLAGS += DUSE_UNUSED_PLAY_STATE
endif
# Check for extended options menu option
ifeq ($(EXT_OPTIONS_MENU),1)
CC_CHECK += -DEXT_OPTIONS_MENU