mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-08 23:19:40 +00:00
This allows ctrl-click on a type in a build-picker window to remember it as a favourite. An new filter button to show only favourites makes it simpler to use these types. Favourite types are saved locally in favs.cfg, so are remembered between games.
17 lines
831 B
C
17 lines
831 B
C
/*
|
|
* 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 picker_func.h Functions/types etc. related to non-GUI parts of the Picker system. */
|
|
|
|
#ifndef PICKER_FUNC_H
|
|
#define PICKER_FUNC_H
|
|
|
|
void PickerLoadConfig(const IniFile &ini);
|
|
void PickerSaveConfig(IniFile &ini);
|
|
|
|
#endif /* PICKER_FUNC_H */
|