OpenTTD Source 20260614-master-g1baea6b0fb
goal_gui.h
Go to the documentation of this file.
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 <https://www.gnu.org/licenses/old-licenses/gpl-2.0>.
6 */
7
9
10#ifndef GOAL_GUI_H
11#define GOAL_GUI_H
12
13#include "company_type.h"
14#include "goal_type.h"
15#include "strings_type.h"
16
17void ShowGoalsList(CompanyID company);
18void ShowGoalQuestion(uint16_t id, GoalQuestionType type, uint32_t button_mask, const EncodedString &question);
19
20#endif /* GOAL_TYPE_H */
Container for an encoded string, created by GetEncodedString.
Types related to companies.
void ShowGoalsList(CompanyID company)
Open a goal list window.
Definition goal_gui.cpp:312
void ShowGoalQuestion(uint16_t id, GoalQuestionType type, uint32_t button_mask, const EncodedString &question)
Display a goal question.
Definition goal_gui.cpp:477
Basic types related to goals.
GoalQuestionType
Types of goal questions.
Definition goal_type.h:18
Types related to strings.