TrinityCore
oculus.h
Go to the documentation of this file.
1/*
2 * This file is part of the TrinityCore Project. See AUTHORS file for Copyright information
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License as published by the
6 * Free Software Foundation; either version 2 of the License, or (at your
7 * option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12 * more details.
13 *
14 * You should have received a copy of the GNU General Public License along
15 * with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18#ifndef OCULUS_H_
19#define OCULUS_H_
20
21#include "CreatureAIImpl.h"
22
23#define OculusScriptName "instance_oculus"
24#define DataHeader "OC"
25
27
29{
30 // Encounter States/Boss GUIDs
35 // GPS System
37};
38
40{
41 NPC_DRAKOS = 27654,
42 NPC_VAROS = 27447,
43 NPC_UROM = 27655,
44 NPC_EREGOS = 27656,
45
51 NPC_VERDISA = 27657,
53 NPC_ETERNOS = 27659,
54 NPC_GREATER_WHELP = 28276
55};
56
58{
61 GO_EREGOS_CACHE_H = 193603
62};
63
65{
66 EVENT_CALL_DRAGON = 12229
67};
68
70{
72};
73
75{
78};
79
81{
83 SPELL_DEATH_SPELL = 50415
84};
85
87{
90};
91
93{
96};
97
99{
104
106{
109
110template <class AI, class T>
111inline AI* GetOculusAI(T* obj)
112{
113 return GetInstanceAI<AI>(obj, OculusScriptName);
114}
115
116#define RegisterOculusCreatureAI(ai_name) RegisterCreatureAIWithFactory(ai_name, GetOculusAI)
117
118#endif // OCULUS_H_
uint32_t uint32
Definition: Define.h:142
AI * GetOculusAI(T *obj)
Definition: oculus.h:111
OCDataTypes
Definition: oculus.h:29
@ DATA_VAROS
Definition: oculus.h:32
@ DATA_EREGOS
Definition: oculus.h:34
@ DATA_DRAKOS
Definition: oculus.h:31
@ DATA_UROM
Definition: oculus.h:33
@ DATA_CONSTRUCTS
Definition: oculus.h:36
uint32 const EncounterCount
Definition: oculus.h:26
OCWorldStates
Definition: oculus.h:75
@ WORLD_STATE_CENTRIFUGE_CONSTRUCT_AMOUNT
Definition: oculus.h:77
@ WORLD_STATE_CENTRIFUGE_CONSTRUCT_SHOW
Definition: oculus.h:76
OCMisc
Definition: oculus.h:106
@ POINT_MOVE_OUT
Definition: oculus.h:107
OCGameObjectIds
Definition: oculus.h:58
@ GO_EREGOS_CACHE_H
Definition: oculus.h:61
@ GO_EREGOS_CACHE_N
Definition: oculus.h:60
@ GO_DRAGON_CAGE_DOOR
Definition: oculus.h:59
OCCreatureIds
Definition: oculus.h:40
@ NPC_DRAKOS
Definition: oculus.h:41
@ NPC_AMBER_DRAKE_VEHICLE
Definition: oculus.h:50
@ NPC_CENTRIFUGE_CONSTRUCT
Definition: oculus.h:47
@ NPC_ETERNOS
Definition: oculus.h:53
@ NPC_EMERALD_DRAKE_VEHICLE
Definition: oculus.h:49
@ NPC_VERDISA
Definition: oculus.h:51
@ NPC_EREGOS
Definition: oculus.h:44
@ NPC_BELGARISTRASZ
Definition: oculus.h:52
@ NPC_UROM
Definition: oculus.h:43
@ NPC_GREATER_WHELP
Definition: oculus.h:54
@ NPC_VAROS
Definition: oculus.h:42
@ NPC_RUBY_DRAKE_VEHICLE
Definition: oculus.h:48
@ NPC_AZURE_RING_GUARDIAN
Definition: oculus.h:46
OCInstanceTexts
Definition: oculus.h:87
@ SAY_VAROS_INTRO_TEXT
Definition: oculus.h:89
@ SAY_EREGOS_INTRO_TEXT
Definition: oculus.h:88
OCInstanceEvents
Definition: oculus.h:93
@ EVENT_VAROS_INTRO
Definition: oculus.h:94
@ EVENT_EREGOS_INTRO
Definition: oculus.h:95
OCCreatureActions
Definition: oculus.h:70
@ ACTION_CALL_DRAGON_EVENT
Definition: oculus.h:71
#define OculusScriptName
Definition: oculus.h:23
OCSpellEvents
Definition: oculus.h:65
@ EVENT_CALL_DRAGON
Definition: oculus.h:66
OCConstructKillState
Definition: oculus.h:99
@ KILL_NO_CONSTRUCT
Definition: oculus.h:100
@ KILL_ONE_CONSTRUCT
Definition: oculus.h:101
@ KILL_MORE_CONSTRUCT
Definition: oculus.h:102
OCSpells
Definition: oculus.h:81
@ SPELL_DEATH_SPELL
Definition: oculus.h:83
@ SPELL_CENTRIFUGE_SHIELD
Definition: oculus.h:82