xoreos  0.0.5
types.h
Go to the documentation of this file.
1 /* xoreos - A reimplementation of BioWare's Aurora engine
2  *
3  * xoreos is the legal property of its developers, whose names
4  * can be found in the AUTHORS file distributed with this source
5  * distribution.
6  *
7  * xoreos is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU General Public License
9  * as published by the Free Software Foundation; either version 3
10  * of the License, or (at your option) any later version.
11  *
12  * xoreos 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 xoreos. If not, see <http://www.gnu.org/licenses/>.
19  */
20 
25 #ifndef ENGINES_DRAGONAGE_TYPES_H
26 #define ENGINES_DRAGONAGE_TYPES_H
27 
28 namespace Engines {
29 
30 namespace DragonAge {
31 
35 
37 };
38 
40 enum Worksheet {
54 };
55 
57 enum ObjectType {
59 
60  kObjectTypeGUI = 1U << 0,
61  kObjectTypeTile = 1U << 1,
62  kObjectTypeModule = 1U << 2,
63  kObjectTypeArea = 1U << 3,
64  kObjectTypeStore = 1U << 4,
66  kObjectTypeItem = 1U << 6,
67  kObjectTypeTrigger = 1U << 7,
71  kObjectTypeWaypoint = 1U << 12,
72  kObjectTypeSound = 1U << 14,
73  kObjectTypeParty = 1U << 15,
74  kObjectTypeMapPatch = 1U << 16,
75  kObjectTypeVfx = 1U << 17,
76  kObjectTypeMap = 1U << 18,
77 
79  kObjectTypeAll = 0xFFFFFFFF,
80 
81  kObjectTypeSelf = 1U << 31
82 };
83 
105 
107 };
108 
110 enum EventType {
111  // Objects
122 
123  // Creatures
128 
129  // Placeables
134 
135  // Other
144 
145  // Perception
148 
149  // Plot
152 
153  // Attack
156 
157  // Ability
160 
161  // Rules
164 
165  // AI
168 
169  // Area loading
177 
178  // Character creation
192 
251 };
252 
253 } // End of namespace DragonAge
254 
255 } // End of namespace Engines
256 
257 #endif // ENGINES_DRAGONAGE_TYPES_H
InventorySlot
Slot in a creature&#39;s inventory.
Definition: types.h:85
Worksheet
Multiple GDA as defined by m2da_*.gda.
Definition: types.h:40
Fake value to describe the calling object in a script.
Definition: types.h:81
ObjectType
Object type, matches the bitfield in script.ldf.
Definition: types.h:57
EventType
Types for script events.
Definition: types.h:110