mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 08:51:24 +00:00
Add exhumed grp detection
This commit is contained in:
parent
0e52ea85cc
commit
e7ee9cf722
2 changed files with 3 additions and 1 deletions
|
@ -41,6 +41,7 @@ static void process_vacapp15(int32_t crcval);
|
|||
static internalgrpinfo_t const internalgrpfiles[] =
|
||||
{
|
||||
{ "Powerslave", POWERSLAVE_CRC, 27020745, GAMEFLAG_POWERSLAVE, 0 },
|
||||
{ "Exhumed", EXHUMED_CRC, 27108170, GAMEFLAG_EXHUMED, 0 },
|
||||
};
|
||||
#endif
|
||||
|
||||
|
@ -57,6 +58,7 @@ static void LoadList(const char * filename)
|
|||
#ifndef EDUKE32_STANDALONE
|
||||
scriptfile_addsymbolvalue("GAMEFLAG_POWERSLAVE", GAMEFLAG_POWERSLAVE);
|
||||
scriptfile_addsymbolvalue("POWERSLAVE_CRC", POWERSLAVE_CRC);
|
||||
scriptfile_addsymbolvalue("EXHUMED_CRC", EXHUMED_CRC);
|
||||
#endif
|
||||
|
||||
while (!scriptfile_eof(script))
|
||||
|
|
|
@ -32,7 +32,7 @@ extern "C" {
|
|||
// List of internally-known GRP files
|
||||
#define POWERSLAVE_CRC (int32_t)0x303CBD89
|
||||
// TODO:
|
||||
#define EXHUMED_CRC (int32_t)0x00000000
|
||||
#define EXHUMED_CRC (int32_t)0xE3B172F1
|
||||
|
||||
#define GAMEFLAG_POWERSLAVE 0x00000001
|
||||
#define GAMEFLAG_EXHUMED 0x00000002
|
||||
|
|
Loading…
Reference in a new issue