ScummVM API documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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 
31 namespace Wintermute {
32 
33 typedef enum {
34  GAME_NORMAL,
35  GAME_WAITING_RESPONSE
36 } TGameStateEx;
37 
38 typedef enum {
39  OBJECT_ENTITY,
40  OBJECT_REGION,
41  OBJECT_ACTOR,
42  OBJECT_NONE
43 } TObjectType;
44 
45 typedef enum {
46  ENTITY_NORMAL,
47  ENTITY_SOUND
48 } TEntityType;
49 
50 typedef 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 
66 typedef enum {
67  DIRECT_WALK_NONE,
68  DIRECT_WALK_FW,
69  DIRECT_WALK_BK
70 } TDirectWalkMode;
71 
72 typedef enum {
73  DIRECT_TURN_NONE,
74  DIRECT_TURN_CW,
75  DIRECT_TURN_CCW
76 } TDirectTurnMode;
77 
78 typedef enum {
79  RESPONSE_TEXT,
80  RESPONSE_ICON
81 } TResponseStyle;
82 
83 typedef enum {
84  RESPONSE_ALWAYS,
85  RESPONSE_ONCE,
86  RESPONSE_ONCE_GAME
87 } TResponseType;
88 
89 
90 typedef enum {
91  TALK_SKIP_LEFT = 0,
92  TALK_SKIP_RIGHT = 1,
93  TALK_SKIP_BOTH = 2,
94  TALK_SKIP_NONE = 3
95 } TTalkSkipButton;
96 
97 typedef enum
98 {
99  VIDEO_SKIP_LEFT = 0,
100  VIDEO_SKIP_RIGHT = 1,
101  VIDEO_SKIP_BOTH = 2,
102  VIDEO_SKIP_NONE = 3
103 } TVideoSkipButton;
104 
105 typedef enum {
106  GEOM_WAYPOINT,
107  GEOM_WALKPLANE,
108  GEOM_BLOCKED,
109  GEOM_GENERIC
110 } TGeomNodeType;
111 
112 } // End of namespace Wintermute
113 
114 #endif
Definition: achievements_tables.h:27