Rev 5037 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5037 | Rev 5062 | ||
---|---|---|---|
Line 24... | Line 24... | ||
24 | 24 | ||
25 | int32_t g_gameType = GAMEFLAG_DUKE; |
25 | int32_t g_gameType = GAMEFLAG_DUKE; |
26 | 26 | ||
27 | int32_t g_dependencyCRC = 0; |
27 | int32_t g_dependencyCRC = 0; |
28 | int32_t g_usingAddon = 0; |
28 | int32_t g_usingAddon = 0; |
- | 29 | void (*g_postprocessing)(void); |
|
29 | 30 | ||
30 | // g_gameNamePtr can point to one of: grpfiles[].name (string literal), string
|
31 | // g_gameNamePtr can point to one of: grpfiles[].name (string literal), string
|
31 | // literal, malloc'd block (XXX: possible leak)
|
32 | // literal, malloc'd block (XXX: possible leak)
|
32 | const char *g_gameNamePtr = NULL; |
33 | const char *g_gameNamePtr = NULL; |
33 | 34 | ||
Line 456... | Line 457... | ||
456 | if ((i = initgroupfile(grpfile)) == -1) |
457 | if ((i = initgroupfile(grpfile)) == -1) |
457 | initprintf("Warning: could not find main data file \"%s\"!\n", grpfile); |
458 | initprintf("Warning: could not find main data file \"%s\"!\n", grpfile); |
458 | else
|
459 | else
|
459 | initprintf("Using \"%s\" as main game data file.\n", grpfile); |
460 | initprintf("Using \"%s\" as main game data file.\n", grpfile); |
460 | 461 | ||
- | 462 | if (g_postprocessing) |
|
- | 463 | g_postprocessing(); |
|
- | 464 | ||
461 | if (autoload) |
465 | if (autoload) |
462 | {
|
466 | {
|
463 | G_LoadGroupsInDir("autoload"); |
467 | G_LoadGroupsInDir("autoload"); |
464 | 468 | ||
465 | if (i != -1) |
469 | if (i != -1) |