30 changed files with 50 additions and 14 deletions
@ -0,0 +1,8 @@ |
|||||||
|
#include "game_mode.hpp" |
||||||
|
|
||||||
|
namespace devilution { |
||||||
|
bool gbIsSpawn; |
||||||
|
bool gbIsHellfire; |
||||||
|
bool gbVanilla; |
||||||
|
bool forceHellfire; |
||||||
|
} // namespace devilution
|
||||||
@ -0,0 +1,16 @@ |
|||||||
|
#pragma once |
||||||
|
|
||||||
|
#include "utils/attributes.h" |
||||||
|
|
||||||
|
namespace devilution { |
||||||
|
|
||||||
|
/** Indicate if we only have access to demo data */ |
||||||
|
extern DVL_API_FOR_TEST bool gbIsSpawn; |
||||||
|
/** Indicate if we have loaded the Hellfire expansion data */ |
||||||
|
extern DVL_API_FOR_TEST bool gbIsHellfire; |
||||||
|
/** Indicate if we want vanilla savefiles */ |
||||||
|
extern DVL_API_FOR_TEST bool gbVanilla; |
||||||
|
/** Whether the Hellfire mode is required (forced). */ |
||||||
|
extern bool forceHellfire; |
||||||
|
|
||||||
|
} // namespace devilution
|
||||||
Loading…
Reference in new issue