OpenTTD Source 20250523-master-g321f7e8683
rev.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 <http://www.gnu.org/licenses/>.
6 */
7
10#ifndef REV_H
11#define REV_H
12
13extern const std::string _openttd_revision;
14extern const std::string_view _openttd_build_date;
15extern const std::string_view _openttd_revision_hash;
16extern const std::string_view _openttd_revision_year;
17extern const uint8_t _openttd_revision_modified;
18extern const uint8_t _openttd_revision_tagged;
19extern const std::string_view _openttd_content_version;
20extern const uint32_t _openttd_newgrf_version;
21
22bool IsReleasedVersion();
23
24#endif /* REV_H */