OpenTTD Source 20241224-master-gf74b0cf984
|
basic types related to story pages More...
#include "core/enum_type.hpp"
Go to the source code of this file.
Typedefs | |
typedef uint16_t | StoryPageElementID |
ID of a story page element. | |
typedef uint16_t | StoryPageID |
ID of a story page. | |
Variables | |
static const StoryPageElementID | INVALID_STORY_PAGE_ELEMENT = 0xFFFF |
Constant representing a non-existing story page element. | |
static const StoryPageID | INVALID_STORY_PAGE = 0xFFFF |
Constant representing a non-existing story page. | |
basic types related to story pages
Definition in file story_type.h.
typedef uint16_t StoryPageElementID |
ID of a story page element.
Definition at line 15 of file story_type.h.
typedef uint16_t StoryPageID |
ID of a story page.
Definition at line 16 of file story_type.h.
|
static |
Constant representing a non-existing story page.
Definition at line 22 of file story_type.h.
Referenced by CmdCreateStoryPage(), StoryBookWindow::OnInvalidateData(), and ShowStoryBook().
|
static |
Constant representing a non-existing story page element.
Definition at line 21 of file story_type.h.
Referenced by CmdCreateStoryPageElement(), StoryBookWindow::OnPageElementClick(), StoryBookWindow::OnPlaceObject(), StoryBookWindow::OnPlaceObjectAbort(), StoryBookWindow::OnTimeout(), StoryBookWindow::RefreshSelectedPage(), and StoryBookWindow::SetSelectedPage().