00001 /* $Id: story_type.h 25371 2013-06-09 13:18:37Z rubidium $ */ 00002 00003 /* 00004 * This file is part of OpenTTD. 00005 * 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. 00006 * 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. 00007 * 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/>. 00008 */ 00009 00012 #ifndef STORY_TYPE_H 00013 #define STORY_TYPE_H 00014 00015 #include "core/enum_type.hpp" 00016 00017 typedef uint16 StoryPageElementID; 00018 typedef uint16 StoryPageID; 00019 struct StoryPageElement; 00020 struct StoryPage; 00021 00022 extern StoryPageElementID _new_story_page_element_id; 00023 extern StoryPageID _new_story_page_id; 00024 static const StoryPageElementID INVALID_STORY_PAGE_ELEMENT = 0xFFFF; 00025 static const StoryPageID INVALID_STORY_PAGE = 0xFFFF; 00026 00027 #endif /* STORY_TYPE_H */ 00028