allow game packs to override the default of brush primitives
This commit is contained in:
parent
806e3fe1c8
commit
3cdbbcc748
|
|
@ -118,6 +118,10 @@ void Brush_Construct(EBrushType type)
|
||||||
{
|
{
|
||||||
g_showAlternativeTextureProjectionOption = true;
|
g_showAlternativeTextureProjectionOption = true;
|
||||||
|
|
||||||
|
const char *value = g_pGameDescription->getKeyValue("brush_primit");
|
||||||
|
if(!string_empty(value))
|
||||||
|
g_useAlternativeTextureProjection.m_latched = atoi(value);
|
||||||
|
|
||||||
GlobalPreferenceSystem().registerPreference(
|
GlobalPreferenceSystem().registerPreference(
|
||||||
"AlternativeTextureProjection",
|
"AlternativeTextureProjection",
|
||||||
BoolImportStringCaller(g_useAlternativeTextureProjection.m_latched),
|
BoolImportStringCaller(g_useAlternativeTextureProjection.m_latched),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user