From 0551c16203f7fbe1a8c146dedcdacaf9866e294f Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Wed, 26 Feb 2020 18:59:19 +0100 Subject: [PATCH] - added detection for Deer Huntin' GRP. --- source/common/gamecontrol.h | 5 +++-- source/common/menu/menudef.cpp | 1 + source/common/searchpaths.cpp | 1 + wadsrc/static/engine/grpinfo.txt | 13 +++++++++++++ 4 files changed, 18 insertions(+), 2 deletions(-) diff --git a/source/common/gamecontrol.h b/source/common/gamecontrol.h index 15fc39369..d6fd60ef7 100644 --- a/source/common/gamecontrol.h +++ b/source/common/gamecontrol.h @@ -109,8 +109,9 @@ enum GAMEFLAG_POWERSLAVE = 0x00001000, GAMEFLAG_EXHUMED = 0x00002000, GAMEFLAG_PSEXHUMED = 0x00003000, // the two games really are the same, except for the name and the publisher. - GAMEFLAG_STANDALONE = 0x00004000, - GAMEFLAGMASK = 0x00003FFF, // flags allowed from grpinfo + GAMEFLAG_DEER = 0x00004000, + GAMEFLAG_STANDALONE = 0x00008000, + GAMEFLAGMASK = 0x00007FFF, // flags allowed from grpinfo }; diff --git a/source/common/menu/menudef.cpp b/source/common/menu/menudef.cpp index fb7a4ff57..013dc35a5 100644 --- a/source/common/menu/menudef.cpp +++ b/source/common/menu/menudef.cpp @@ -152,6 +152,7 @@ static const gamefilter games[] = { { "Fury", GAMEFLAG_FURY}, { "Redneck", GAMEFLAG_RR}, { "RedneckRides", GAMEFLAG_RRRA}, + { "RedneckDeer", GAMEFLAG_DEER}, { "Blood", GAMEFLAG_BLOOD}, { "ShadowWarrior", GAMEFLAG_SW}, { "Exhumed", GAMEFLAG_POWERSLAVE|GAMEFLAG_EXHUMED}, diff --git a/source/common/searchpaths.cpp b/source/common/searchpaths.cpp index dbdc06c19..fce2b99bf 100644 --- a/source/common/searchpaths.cpp +++ b/source/common/searchpaths.cpp @@ -392,6 +392,7 @@ static TArray ParseGrpInfo(const char *fn, FileReader &fr, TMap