OpenTTD

- Main Page
- Related Pages
- Modules
- Namespaces
- Data Structures
- Files

- File List
- Globals

story_type.h
Go to the documentation of this file.
1 /* $Id: story_type.h 25371 2013-06-09 13:18:37Z rubidium $ */
2
3 /*
4 * This file is part of OpenTTD.
5 * 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.
6 * 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.
7 * 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/>.
8 */
9
12 #ifndef STORY_TYPE_H
13 #define STORY_TYPE_H
14
15 #include "core/enum_type.hpp"
16
17 typedef uint16 StoryPageElementID;
18 typedef uint16 StoryPageID;
19 struct StoryPageElement;
20 struct StoryPage;
21
22 extern StoryPageElementID _new_story_page_element_id;
23 extern StoryPageID _new_story_page_id;
24 static const StoryPageElementID INVALID_STORY_PAGE_ELEMENT = 0xFFFF;
25 static const StoryPageID INVALID_STORY_PAGE = 0xFFFF;
26
27 #endif /* STORY_TYPE_H */
28