Files @ r28012:8dd5df36d9d9
Branch filter:

Location: cpp/openttd-patchpack/source/src/transparency_gui.h

Peter Nelson
Codechange: Remove create parameter from IniLoadFile::GetGroup.

GetGroup now only returns nullptr if the group does not exist.
Use GetOrCreateGroup to create a group.

This avoids creating groups while reading ini files.
/*
 * This file is part of OpenTTD.
 * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
 * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
 */

/** @file transparency_gui.h GUI functions related to transparency. */

#ifndef TRANSPARENCY_GUI_H
#define TRANSPARENCY_GUI_H

void ShowTransparencyToolbar();

#endif /* TRANSPARENCY_GUI_H */