mirror of
https://github.com/diasurgical/DevilutionX.git
synced 2026-05-21 05:40:35 +00:00
d3248e969a
This allows us to make `clx_render_benchmark` and `text_render_integration_test` standalone.
23 lines
476 B
C++
23 lines
476 B
C++
#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
|