Update: Translations from eints
[openttd-github.git] / src / survey.h
blobbb235160ad64be9e49b34b417fe2833ce0472e3b
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 survey.h Functions to survey the current game / system, for crashlog and network-survey. */
10 #ifndef SURVEY_H
11 #define SURVEY_H
13 #include "3rdparty/nlohmann/json.hpp"
15 std::string SurveyMemoryToText(uint64_t memory);
17 void SurveyCompanies(nlohmann::json &survey);
18 void SurveyCompiler(nlohmann::json &survey);
19 void SurveyGameSession(nlohmann::json &survey);
20 void SurveyConfiguration(nlohmann::json &survey);
21 void SurveyFont(nlohmann::json &survey);
22 void SurveyGameScript(nlohmann::json &survey);
23 void SurveyGrfs(nlohmann::json &survey);
24 void SurveyLibraries(nlohmann::json &survey);
25 void SurveyPlugins(nlohmann::json &survey);
26 void SurveyOpenTTD(nlohmann::json &survey);
27 void SurveySettings(nlohmann::json &survey, bool skip_if_default);
28 void SurveyTimers(nlohmann::json &survey);
30 /* Defined in os/<os>/survey_<os>.cpp. */
31 void SurveyOS(nlohmann::json &json);
33 #endif /* SURVEY_H */