Hacker News new | ask | show | jobs
by chrisparton1991 2924 days ago
From doomstat.h line 60: // Game Mode - identify IWAD as shareware, retail etc. extern GameMode_t gamemode;

I haven't done a deep dive on the code, but it looks like gamemode is set based on something in the WAD file.