Update: Translations from eints
[openttd-github.git] / src / script / api / script_storypagelist.hpp
blobb491907c53c88a45799d681860a7a54a78d35b8f
1 /*
2 * This file is part of OpenTTD.
3 * 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.
4 * 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.
5 * 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/>.
6 */
8 /** @file script_storypagelist.hpp List all story pages. */
10 #ifndef SCRIPT_STORYPAGELIST_HPP
11 #define SCRIPT_STORYPAGELIST_HPP
13 #include "script_list.hpp"
14 #include "script_company.hpp"
16 /**
17 * Create a list of all story pages.
18 * @api game
19 * @ingroup ScriptList
21 class ScriptStoryPageList : public ScriptList {
22 public:
23 /**
24 * @param company The company to list story pages for, or ScriptCompany::COMPANY_INVALID to only show global pages. Global pages are always included independent of this parameter.
26 ScriptStoryPageList(ScriptCompany::CompanyID company);
29 #endif /* SCRIPT_STORYPAGELIST_HPP */