You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
476 B
22 lines
476 B
#include "game_mode.hpp" |
|
|
|
#include <function_ref.hpp> |
|
|
|
#include "options.h" |
|
|
|
namespace devilution { |
|
namespace { |
|
void OptionSharewareChanged() |
|
{ |
|
gbIsSpawn = *GetOptions().GameMode.shareware; |
|
} |
|
const auto OptionChangeHandlerShareware = (GetOptions().GameMode.shareware.SetValueChangedCallback(OptionSharewareChanged), true); |
|
} // namespace |
|
|
|
bool gbRunGame; |
|
bool gbIsSpawn; |
|
bool gbIsHellfire; |
|
bool gbVanilla; |
|
bool forceHellfire; |
|
|
|
} // namespace devilution
|
|
|