- added detection for Deer Huntin' GRP.

This commit is contained in:
Christoph Oelckers 2020-02-26 18:59:19 +01:00
parent 7533fbaa8e
commit 0551c16203
4 changed files with 18 additions and 2 deletions

View file

@ -109,8 +109,9 @@ enum
GAMEFLAG_POWERSLAVE = 0x00001000, GAMEFLAG_POWERSLAVE = 0x00001000,
GAMEFLAG_EXHUMED = 0x00002000, GAMEFLAG_EXHUMED = 0x00002000,
GAMEFLAG_PSEXHUMED = 0x00003000, // the two games really are the same, except for the name and the publisher. GAMEFLAG_PSEXHUMED = 0x00003000, // the two games really are the same, except for the name and the publisher.
GAMEFLAG_STANDALONE = 0x00004000, GAMEFLAG_DEER = 0x00004000,
GAMEFLAGMASK = 0x00003FFF, // flags allowed from grpinfo GAMEFLAG_STANDALONE = 0x00008000,
GAMEFLAGMASK = 0x00007FFF, // flags allowed from grpinfo
}; };

View file

@ -152,6 +152,7 @@ static const gamefilter games[] = {
{ "Fury", GAMEFLAG_FURY}, { "Fury", GAMEFLAG_FURY},
{ "Redneck", GAMEFLAG_RR}, { "Redneck", GAMEFLAG_RR},
{ "RedneckRides", GAMEFLAG_RRRA}, { "RedneckRides", GAMEFLAG_RRRA},
{ "RedneckDeer", GAMEFLAG_DEER},
{ "Blood", GAMEFLAG_BLOOD}, { "Blood", GAMEFLAG_BLOOD},
{ "ShadowWarrior", GAMEFLAG_SW}, { "ShadowWarrior", GAMEFLAG_SW},
{ "Exhumed", GAMEFLAG_POWERSLAVE|GAMEFLAG_EXHUMED}, { "Exhumed", GAMEFLAG_POWERSLAVE|GAMEFLAG_EXHUMED},

View file

@ -392,6 +392,7 @@ static TArray<GrpInfo> ParseGrpInfo(const char *fn, FileReader &fr, TMap<FString
FlagMap.Insert("GAMEFLAG_FURY", GAMEFLAG_FURY); FlagMap.Insert("GAMEFLAG_FURY", GAMEFLAG_FURY);
FlagMap.Insert("GAMEFLAG_RR", GAMEFLAG_RR); FlagMap.Insert("GAMEFLAG_RR", GAMEFLAG_RR);
FlagMap.Insert("GAMEFLAG_RRRA", GAMEFLAG_RRRA); FlagMap.Insert("GAMEFLAG_RRRA", GAMEFLAG_RRRA);
FlagMap.Insert("GAMEFLAG_DEER", GAMEFLAG_DEER);
FlagMap.Insert("GAMEFLAG_BLOOD", GAMEFLAG_BLOOD); FlagMap.Insert("GAMEFLAG_BLOOD", GAMEFLAG_BLOOD);
FlagMap.Insert("GAMEFLAG_SW", GAMEFLAG_SW); FlagMap.Insert("GAMEFLAG_SW", GAMEFLAG_SW);
FlagMap.Insert("GAMEFLAG_POWERSLAVE", GAMEFLAG_POWERSLAVE); FlagMap.Insert("GAMEFLAG_POWERSLAVE", GAMEFLAG_POWERSLAVE);

View file

@ -27,6 +27,8 @@ CRC
PLATOONL_CRC 0xD1ED8C0C PLATOONL_CRC 0xD1ED8C0C
RR_CRC 0x19D9BC79 RR_CRC 0x19D9BC79
RRRA_CRC 0x958018C6 RRRA_CRC 0x958018C6
RRDEER_CRC 0xA6BE8B16
BLOOD_CRC 0xA8FDDA84 BLOOD_CRC 0xA8FDDA84
SWREG12_CRC 0x7545319F SWREG12_CRC 0x7545319F
SWWD_CRC 0xA9AAA7B7 SWWD_CRC 0xA9AAA7B7
@ -335,6 +337,17 @@ grpinfo
gamefilter "Redneck.RidesAgain" gamefilter "Redneck.RidesAgain"
} }
grpinfo
{
name "Redneck Deer Huntin'"
size 58061576
crc RRDEER_CRC
defname "rrdeer.def"
flags GAMEFLAG_RR|GAMEFLAG_DEER
dependency 0
gamefilter "Redneck.Deer"
}
grpinfo grpinfo
{ {
// This is for detecting zipped versions of the mod. // This is for detecting zipped versions of the mod.