Subversion Repositories eduke32

Rev

Rev 5062 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5062 Rev 5064
Line 23... Line 23...
23
#include "common_game.h"
23
#include "common_game.h"
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_groupCRC;
28
int32_t g_usingAddon = 0;
29
int32_t g_usingAddon = 0;
29
void (*g_postprocessing)(void);
30
void (*g_postprocessing)(int32_t);
30
31
31
// g_gameNamePtr can point to one of: grpfiles[].name (string literal), string
32
// g_gameNamePtr can point to one of: grpfiles[].name (string literal), string
32
// literal, malloc'd block (XXX: possible leak)
33
// literal, malloc'd block (XXX: possible leak)
33
const char *g_gameNamePtr = NULL;
34
const char *g_gameNamePtr = NULL;
34
35
Line 458... Line 459...
458
        initprintf("Warning: could not find main data file \"%s\"!\n", grpfile);
459
        initprintf("Warning: could not find main data file \"%s\"!\n", grpfile);
459
    else
460
    else
460
        initprintf("Using \"%s\" as main game data file.\n", grpfile);
461
        initprintf("Using \"%s\" as main game data file.\n", grpfile);
461
462
462
    if (g_postprocessing)
463
    if (g_postprocessing)
463
        g_postprocessing();
464
        g_postprocessing(g_groupCRC);
464
465
465
    if (autoload)
466
    if (autoload)
466
    {
467
    {
467
        G_LoadGroupsInDir("autoload");
468
        G_LoadGroupsInDir("autoload");
468
469