ScummVM API documentation
ad_types.h
1/* ScummVM - Graphic Adventure Engine
2 *
3 * ScummVM is the legal property of its developers, whose names
4 * are too numerous to list here. Please refer to the COPYRIGHT
5 * file distributed with this source distribution.
6 *
7 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
19 *
20 */
21
22/*
23 * This file is based on WME Lite.
24 * http://dead-code.org/redir.php?target=wmelite
25 * Copyright (c) 2011 Jan Nedoma
26 */
27
28#ifndef WINTERMUTE_ADTYPES_H
29#define WINTERMUTE_ADTYPES_H
30
31namespace Wintermute {
32
33typedef enum {
34 GAME_NORMAL,
35 GAME_WAITING_RESPONSE
36} TGameStateEx;
37
38typedef enum {
39 OBJECT_ENTITY,
40 OBJECT_REGION,
41 OBJECT_ACTOR,
42 OBJECT_NONE
43} TObjectType;
44
45typedef enum {
46 ENTITY_NORMAL,
47 ENTITY_SOUND
48} TEntityType;
49
50typedef enum {
51 STATE_NONE,
52 STATE_IDLE,
53 STATE_PLAYING_ANIM,
54 STATE_READY,
55 STATE_FOLLOWING_PATH,
56 STATE_SEARCHING_PATH,
57 STATE_WAITING_PATH,
58 STATE_TURNING_LEFT,
59 STATE_TURNING_RIGHT,
60 STATE_TURNING,
61 STATE_TALKING,
62 STATE_DIRECT_CONTROL,
63 STATE_PLAYING_ANIM_SET
64} TObjectState;
65
66typedef enum {
67 DIRECT_WALK_NONE,
68 DIRECT_WALK_FW,
69 DIRECT_WALK_BK
70} TDirectWalkMode;
71
72typedef enum {
73 DIRECT_TURN_NONE,
74 DIRECT_TURN_CW,
75 DIRECT_TURN_CCW
76} TDirectTurnMode;
77
78typedef enum {
79 RESPONSE_TEXT,
80 RESPONSE_ICON
81} TResponseStyle;
82
83typedef enum {
84 RESPONSE_ALWAYS,
85 RESPONSE_ONCE,
86 RESPONSE_ONCE_GAME
87} TResponseType;
88
89typedef enum {
90 RESPONSE_VISITED_NONE,
91 RESPONSE_VISITED_ONCE
92} TResponseVisitedType;
93
94typedef enum {
95 TALK_SKIP_LEFT = 0,
96 TALK_SKIP_RIGHT = 1,
97 TALK_SKIP_BOTH = 2,
98 TALK_SKIP_NONE = 3
99} TTalkSkipButton;
100
101typedef enum {
102 VIDEO_SKIP_LEFT = 0,
103 VIDEO_SKIP_RIGHT = 1,
104 VIDEO_SKIP_BOTH = 2,
105 VIDEO_SKIP_NONE = 3
106} TVideoSkipButton;
107
108typedef enum {
109 GEOM_WAYPOINT,
110 GEOM_WALKPLANE,
111 GEOM_BLOCKED,
112 GEOM_GENERIC
113} TGeomNodeType;
114
115} // End of namespace Wintermute
116
117#endif