Add Diablo Version 1.08-Specific Behavior with Preprocessor Directives (#2292)

* add preprocessor directive for version 1.08

* Update MakefileVC

* Missed "endif"

* revise handling of diablo version
This commit is contained in:
Eric Robinson
2024-03-05 23:27:53 -05:00
committed by GitHub
parent 2aa3919214
commit 27e6ef5f4c
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -51,6 +51,10 @@ endif
CFLAGS=/nologo /c /GX /W3 /O1 /I $(VC_INC_DIR) /FD /Gr /MT /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /Fp"Diablo.pch" /YX /G5 /Zi /FAs
LINKFLAGS=/nologo /subsystem:windows /machine:I386 /incremental:no
VERSION := 109
CFLAGS += /D "VERSION=$(VERSION)"
ifeq ($(HELLFIRE),1)
CFLAGS += /D "HELLFIRE"
endif