AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
VehicleDefines.h File Reference
#include "Define.h"
#include "Map.h"
#include <map>
#include <vector>

Go to the source code of this file.

Classes

struct  PassengerInfo
 
struct  VehicleSeat
 
struct  VehicleAccessory
 
class  TransportBase
 

Typedefs

typedef std::vector< VehicleAccessoryVehicleAccessoryList
 
typedef std::map< uint32, VehicleAccessoryListVehicleAccessoryContainer
 
typedef std::map< int8, VehicleSeatSeatMap
 

Enumerations

enum  PowerType {
  POWER_STEAM = 61 ,
  POWER_PYRITE = 41 ,
  POWER_HEAT = 101 ,
  POWER_OOZE = 121 ,
  POWER_BLOOD = 141 ,
  POWER_WRATH = 142
}
 
enum  VehicleFlags {
  VEHICLE_FLAG_NO_STRAFE = 0x00000001 ,
  VEHICLE_FLAG_NO_JUMPING = 0x00000002 ,
  VEHICLE_FLAG_FULLSPEEDTURNING = 0x00000004 ,
  VEHICLE_FLAG_ALLOW_PITCHING = 0x00000010 ,
  VEHICLE_FLAG_FULLSPEEDPITCHING = 0x00000020 ,
  VEHICLE_FLAG_CUSTOM_PITCH = 0x00000040 ,
  VEHICLE_FLAG_ADJUST_AIM_ANGLE = 0x00000400 ,
  VEHICLE_FLAG_ADJUST_AIM_POWER = 0x00000800
}
 
enum  VehicleSpells {
  VEHICLE_SPELL_RIDE_HARDCODED = 46598 ,
  VEHICLE_SPELL_PARACHUTE = 45472 ,
  VEHICLE_SPELL_GEIST_CONTROL_END = 58119 ,
  VEHICLE_SPELL_SHADE_CONTROL_END = 58664
}
 
enum  VehicleNPCs {
  NPC_EIDOLON_WATCHER = 31110 ,
  NPC_LITHE_STALKER = 30895
}
 

Typedef Documentation

◆ SeatMap

typedef std::map<int8, VehicleSeat> SeatMap

◆ VehicleAccessoryContainer

◆ VehicleAccessoryList

typedef std::vector<VehicleAccessory> VehicleAccessoryList

Enumeration Type Documentation

◆ PowerType

enum PowerType
Enumerator
POWER_STEAM 
POWER_PYRITE 
POWER_HEAT 
POWER_OOZE 
POWER_BLOOD 
POWER_WRATH 
29{
30 POWER_STEAM = 61,
31 POWER_PYRITE = 41,
32 POWER_HEAT = 101,
33 POWER_OOZE = 121,
34 POWER_BLOOD = 141,
35 POWER_WRATH = 142
36};
@ POWER_STEAM
Definition: VehicleDefines.h:30
@ POWER_BLOOD
Definition: VehicleDefines.h:34
@ POWER_PYRITE
Definition: VehicleDefines.h:31
@ POWER_HEAT
Definition: VehicleDefines.h:32
@ POWER_WRATH
Definition: VehicleDefines.h:35
@ POWER_OOZE
Definition: VehicleDefines.h:33

◆ VehicleFlags

Enumerator
VEHICLE_FLAG_NO_STRAFE 
VEHICLE_FLAG_NO_JUMPING 
VEHICLE_FLAG_FULLSPEEDTURNING 
VEHICLE_FLAG_ALLOW_PITCHING 
VEHICLE_FLAG_FULLSPEEDPITCHING 
VEHICLE_FLAG_CUSTOM_PITCH 
VEHICLE_FLAG_ADJUST_AIM_ANGLE 
VEHICLE_FLAG_ADJUST_AIM_POWER 
39{
40 VEHICLE_FLAG_NO_STRAFE = 0x00000001, // Sets MOVEFLAG2_NO_STRAFE
41 VEHICLE_FLAG_NO_JUMPING = 0x00000002, // Sets MOVEFLAG2_NO_JUMPING
42 VEHICLE_FLAG_FULLSPEEDTURNING = 0x00000004, // Sets MOVEFLAG2_FULLSPEEDTURNING
43 VEHICLE_FLAG_ALLOW_PITCHING = 0x00000010, // Sets MOVEFLAG2_ALLOW_PITCHING
44 VEHICLE_FLAG_FULLSPEEDPITCHING = 0x00000020, // Sets MOVEFLAG2_FULLSPEEDPITCHING
45 VEHICLE_FLAG_CUSTOM_PITCH = 0x00000040, // If set use pitchMin and pitchMax from DBC, otherwise pitchMin = -pi/2, pitchMax = pi/2
46 VEHICLE_FLAG_ADJUST_AIM_ANGLE = 0x00000400, // Lua_IsVehicleAimAngleAdjustable
47 VEHICLE_FLAG_ADJUST_AIM_POWER = 0x00000800, // Lua_IsVehicleAimPowerAdjustable
48};
@ VEHICLE_FLAG_NO_JUMPING
Definition: VehicleDefines.h:41
@ VEHICLE_FLAG_ADJUST_AIM_ANGLE
Definition: VehicleDefines.h:46
@ VEHICLE_FLAG_NO_STRAFE
Definition: VehicleDefines.h:40
@ VEHICLE_FLAG_FULLSPEEDTURNING
Definition: VehicleDefines.h:42
@ VEHICLE_FLAG_ALLOW_PITCHING
Definition: VehicleDefines.h:43
@ VEHICLE_FLAG_CUSTOM_PITCH
Definition: VehicleDefines.h:45
@ VEHICLE_FLAG_ADJUST_AIM_POWER
Definition: VehicleDefines.h:47
@ VEHICLE_FLAG_FULLSPEEDPITCHING
Definition: VehicleDefines.h:44

◆ VehicleNPCs

Enumerator
NPC_EIDOLON_WATCHER 
NPC_LITHE_STALKER 
60{
61 NPC_EIDOLON_WATCHER = 31110,
62 NPC_LITHE_STALKER = 30895
63};
@ NPC_EIDOLON_WATCHER
Definition: VehicleDefines.h:61
@ NPC_LITHE_STALKER
Definition: VehicleDefines.h:62

◆ VehicleSpells

Enumerator
VEHICLE_SPELL_RIDE_HARDCODED 
VEHICLE_SPELL_PARACHUTE 
VEHICLE_SPELL_GEIST_CONTROL_END 
VEHICLE_SPELL_SHADE_CONTROL_END 
51{
54
57};
@ VEHICLE_SPELL_PARACHUTE
Definition: VehicleDefines.h:53
@ VEHICLE_SPELL_SHADE_CONTROL_END
Definition: VehicleDefines.h:56
@ VEHICLE_SPELL_GEIST_CONTROL_END
Definition: VehicleDefines.h:55
@ VEHICLE_SPELL_RIDE_HARDCODED
Definition: VehicleDefines.h:52