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_DRAGONAGE2_TYPES_H
26 #define ENGINES_DRAGONAGE2_TYPES_H
27 
28 namespace Engines {
29 
30 namespace DragonAge2 {
31 
35 
37 };
38 
40 enum Worksheet {
55  kWorksheetItems = 12000,
57 };
58 
60 enum ObjectType {
62 
63  kObjectTypeGUI = 1U << 0,
64  kObjectTypeTile = 1U << 1,
65  kObjectTypeModule = 1U << 2,
66  kObjectTypeArea = 1U << 3,
67  kObjectTypeStore = 1U << 4,
69  kObjectTypeItem = 1U << 6,
70  kObjectTypeTrigger = 1U << 7,
74  kObjectTypeWaypoint = 1U << 12,
75  kObjectTypeSound = 1U << 14,
76  kObjectTypeParty = 1U << 15,
77  kObjectTypeMapPatch = 1U << 16,
78  kObjectTypeVfx = 1U << 17,
79  kObjectTypeMap = 1U << 18,
80 
82  kObjectTypeAll = 0xFFFFFFFF,
83 
84  kObjectTypeSelf = 1U << 31
85 };
86 
109 
111 };
112 
114 enum EventType {
115  // Objects
126 
127  // Creatures
132 
133  // Placeables
138 
139  // Other
148 
149  // Perception
152 
153  // Plot
156 
157  // Attack
160 
161  // Ability
164 
165  // Rules
168 
169  // AI
172 
173  // Area loading
181 
182  // Character creation
196 
250 };
251 
252 } // End of namespace DragonAge2
253 
254 } // End of namespace Engines
255 
256 #endif // ENGINES_DRAGONAGE2_TYPES_H
Worksheet
Multiple GDA as defined by m2da_*.gda.
Definition: types.h:40
InventorySlot
Slot in a creature&#39;s inventory.
Definition: types.h:88
Fake value to describe the calling object in a script.
Definition: types.h:84
ObjectType
Object type, matches the bitfield in script.ldf.
Definition: types.h:60
EventType
Types for script events.
Definition: types.h:114