xoreos
0.0.5
src
engines
witcher
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_WITCHER_TYPES_H
26
#define ENGINES_WITCHER_TYPES_H
27
28
#include "
src/common/types.h
"
29
30
namespace
Engines
{
31
32
namespace
Witcher {
33
34
enum
ObjectType
{
35
kObjectTypeCreature
= 1U << 0,
36
kObjectTypeItem
= 1U << 1,
37
kObjectTypeTrigger
= 1U << 2,
38
kObjectTypeDoor
= 1U << 3,
39
kObjectTypeAreaOfEffect
= 1U << 4,
40
kObjectTypeWaypoint
= 1U << 5,
41
kObjectTypePlaceable
= 1U << 6,
42
kObjectTypeStore
= 1U << 7,
43
kObjectTypeSound
= 1U << 9,
44
kObjectTypeSpawnPoint
= 1U << 10,
45
kObjectTypeActionPoint
= 1U << 11,
46
47
kObjectTypeInvalid
= 0x7FFF,
48
kObjectTypeAll
= 0x7FFF,
49
50
kObjectTypeMAX
= 0x7FFF,
51
52
kObjectTypeArea
= 1U << 29,
53
kObjectTypeModule
= 1U << 30,
54
kObjectTypeSelf
= 1U << 31
55
};
56
57
enum
Script
{
58
kScriptAttackBegin
= 0,
59
kScriptAttacked
,
60
kScriptBattleBegin
,
61
kScriptBlocked
,
62
kScriptCastSpellAt
,
63
kScriptClick
,
64
kScriptClosed
,
65
kScriptDamaged
,
66
kScriptDeath
,
67
kScriptDialogue
,
68
kScriptDisarm
,
69
kScriptDisturbed
,
70
kScriptEndDialogue
,
71
kScriptEndRound
,
72
kScriptEnter
,
73
kScriptExit
,
74
kScriptFailToOpen
,
75
kScriptHeartbeat
,
76
kScriptInternal
,
77
kScriptIsUsable
,
78
kScriptItemSold
,
79
kScriptJoinAttempt
,
80
kScriptLock
,
81
kScriptModuleLoad
,
82
kScriptModuleStart
,
83
kScriptNotice
,
84
kScriptOpen
,
85
kScriptOpenStore
,
86
kScriptOutOfAmmo
,
87
kScriptPlayerDeath
,
88
kScriptPlayerDying
,
89
kScriptPlayerLevelUp
,
90
kScriptPlayerRespawn
,
91
kScriptPlayerRest
,
92
kScriptPutIntoInventory
,
93
kScriptRemoveFromInventory
,
94
kScriptRest
,
95
kScriptSpawn
,
96
kScriptSpellCastAt
,
97
kScriptTrapTriggered
,
98
kScriptUnlock
,
99
kScriptUsed
,
100
kScriptUserdefine
,
101
kScriptUserdefined
,
102
kScriptWitness
,
103
104
kScriptMAX
105
};
106
107
}
// End of namespace Witcher
108
109
}
// End of namespace Engines
110
111
#endif // ENGINES_WITCHER_TYPES_H
Engines::Witcher::kScriptFailToOpen
Definition:
types.h:74
Engines::Witcher::kScriptHeartbeat
Definition:
types.h:75
Engines::Witcher::kScriptSpellCastAt
Definition:
types.h:96
Engines::Witcher::kObjectTypeModule
Fake value for a module object.
Definition:
types.h:53
Engines::Witcher::kScriptUserdefined
Definition:
types.h:101
Engines::Witcher::kObjectTypeSelf
Fake value to describe the calling object in a script.
Definition:
types.h:54
Engines::Witcher::kScriptAttacked
Definition:
types.h:59
Engines::Witcher::kObjectTypeCreature
Definition:
types.h:35
Engines::Witcher::kScriptDialogue
Definition:
types.h:67
Engines::Witcher::kScriptEndDialogue
Definition:
types.h:70
Engines::Witcher::kObjectTypeItem
Definition:
types.h:36
Engines::Witcher::kScriptUsed
Definition:
types.h:99
Engines::Witcher::kObjectTypeSpawnPoint
Definition:
types.h:44
Engines::Witcher::kScriptWitness
Definition:
types.h:102
Engines::Witcher::kScriptJoinAttempt
Definition:
types.h:79
Engines::Witcher::kObjectTypeActionPoint
Definition:
types.h:45
Engines::Witcher::kScriptDisarm
Definition:
types.h:68
Engines::Witcher::kScriptCastSpellAt
Definition:
types.h:62
Engines::Witcher::kScriptTrapTriggered
Definition:
types.h:97
Engines::Witcher::kScriptRemoveFromInventory
Definition:
types.h:93
Engines::Witcher::kObjectTypeArea
Fake value for an area object.
Definition:
types.h:52
Engines::Witcher::kObjectTypePlaceable
Definition:
types.h:41
Engines::Witcher::kScriptEnter
Definition:
types.h:72
Engines::Witcher::Script
Script
Definition:
types.h:57
Engines::Witcher::kScriptDeath
Definition:
types.h:66
Engines::Witcher::kScriptPlayerDeath
Definition:
types.h:87
Engines::Witcher::kScriptDisturbed
Definition:
types.h:69
Engines::Witcher::ObjectType
ObjectType
Definition:
types.h:34
Engines::Witcher::kScriptClick
Definition:
types.h:63
Engines::Witcher::kObjectTypeMAX
Definition:
types.h:50
Engines::Witcher::kScriptIsUsable
Definition:
types.h:77
Engines::Witcher::kScriptOpenStore
Definition:
types.h:85
Engines::Witcher::kScriptPlayerDying
Definition:
types.h:88
Engines::Witcher::kScriptOpen
Definition:
types.h:84
Engines::Witcher::kScriptItemSold
Definition:
types.h:78
types.h
Low-level type definitions to handle fixed width types portably.
Engines::Witcher::kScriptClosed
Definition:
types.h:64
Engines
Definition:
console.cpp:69
Engines::Witcher::kScriptUnlock
Definition:
types.h:98
Engines::Witcher::kScriptModuleLoad
Definition:
types.h:81
Engines::Witcher::kObjectTypeSound
Definition:
types.h:43
Engines::Witcher::kObjectTypeDoor
Definition:
types.h:38
Engines::Witcher::kScriptBlocked
Definition:
types.h:61
Engines::Witcher::kObjectTypeWaypoint
Definition:
types.h:40
Engines::Witcher::kObjectTypeAll
Definition:
types.h:48
Engines::Witcher::kScriptUserdefine
Definition:
types.h:100
Engines::Witcher::kObjectTypeAreaOfEffect
Definition:
types.h:39
Engines::Witcher::kObjectTypeTrigger
Definition:
types.h:37
Engines::Witcher::kScriptPlayerLevelUp
Definition:
types.h:89
Engines::Witcher::kScriptModuleStart
Definition:
types.h:82
Engines::Witcher::kScriptPlayerRespawn
Definition:
types.h:90
Engines::Witcher::kObjectTypeInvalid
Definition:
types.h:47
Engines::Witcher::kScriptPlayerRest
Definition:
types.h:91
Engines::Witcher::kScriptNotice
Definition:
types.h:83
Engines::Witcher::kScriptAttackBegin
Definition:
types.h:58
Engines::Witcher::kScriptRest
Definition:
types.h:94
Engines::Witcher::kScriptOutOfAmmo
Definition:
types.h:86
Engines::Witcher::kScriptBattleBegin
Definition:
types.h:60
Engines::Witcher::kScriptEndRound
Definition:
types.h:71
Engines::Witcher::kScriptMAX
Definition:
types.h:104
Engines::Witcher::kScriptSpawn
Definition:
types.h:95
Engines::Witcher::kScriptLock
Definition:
types.h:80
Engines::Witcher::kScriptExit
Definition:
types.h:73
Engines::Witcher::kScriptDamaged
Definition:
types.h:65
Engines::Witcher::kScriptInternal
Definition:
types.h:76
Engines::Witcher::kObjectTypeStore
Definition:
types.h:42
Engines::Witcher::kScriptPutIntoInventory
Definition:
types.h:92
Generated on Sun Nov 18 2018 15:13:38 for xoreos by
1.8.14