Example #1
0
void GameModel::SetDecoration(bool decorationState)
{
	ren->decorations_enable = decorationState?1:0;
	notifyDecorationChanged();
	UpdateQuickOptions();
	if (decorationState)
		SetInfoTip("Decorations Layer: On");
	else
		SetInfoTip("Decorations Layer: Off");
}
Example #2
0
void GameModel::SetDecoration(bool decorationState)
{
	ren->decorations_enable = decorationState?1:0;
	notifyDecorationChanged();
	UpdateQuickOptions();
}