TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
VehicleDefines.h File Reference
#include "Define.h"
#include <vector>
#include <map>
+ Include dependency graph for VehicleDefines.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  PassengerInfo
 
struct  VehicleSeat
 
struct  VehicleAccessory
 
class  TransportBase
 

Typedefs

typedef std::vector
< VehicleAccessory
VehicleAccessoryList
 
typedef std::map
< ObjectGuid::LowType,
VehicleAccessoryList
VehicleAccessoryContainer
 
typedef std::map< uint32,
VehicleAccessoryList
VehicleAccessoryTemplateContainer
 
typedef std::map< int8,
VehicleSeat
SeatMap
 

Enumerations

enum  PowerType {
  POWER_STEAM = 61, POWER_PYRITE = 41, POWER_HEAT = 101, POWER_OOZE = 121,
  POWER_BLOOD = 141, POWER_WRATH = 142, POWER_ARCANE_ENERGY = 143, POWER_LIFE_ENERGY = 144,
  POWER_SUN_ENERGY = 145, POWER_SWING_VELOCITY = 146, POWER_SHADOWFLAME_ENERGY = 147, POWER_BLUE_POWER = 148,
  POWER_PURPLE_POWER = 149, POWER_GREEN_POWER = 150, POWER_ORANGE_POWER = 151, POWER_ENERGY_2 = 153,
  POWER_ARCANEENERGY = 161, POWER_WIND_POWER_1 = 162, POWER_WIND_POWER_2 = 163, POWER_WIND_POWER_3 = 164,
  POWER_FUEL = 165, POWER_SUN_POWER = 166, POWER_TWILIGHT_ENERGY = 169, POWER_VENOM = 174,
  POWER_ORANGE_POWER_2 = 176, POWER_CONSUMING_FLAME = 177, POWER_PYROCLASTIC_FRENZY = 178, POWER_FLASHFIRE = 179
}
 
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 }
 

Typedef Documentation

typedef std::map<int8, VehicleSeat> SeatMap
typedef std::vector<VehicleAccessory> VehicleAccessoryList

Enumeration Type Documentation

enum PowerType
Enumerator
POWER_STEAM 
POWER_PYRITE 
POWER_HEAT 
POWER_OOZE 
POWER_BLOOD 
POWER_WRATH 
POWER_ARCANE_ENERGY 
POWER_LIFE_ENERGY 
POWER_SUN_ENERGY 
POWER_SWING_VELOCITY 
POWER_SHADOWFLAME_ENERGY 
POWER_BLUE_POWER 
POWER_PURPLE_POWER 
POWER_GREEN_POWER 
POWER_ORANGE_POWER 
POWER_ENERGY_2 
POWER_ARCANEENERGY 
POWER_WIND_POWER_1 
POWER_WIND_POWER_2 
POWER_WIND_POWER_3 
POWER_FUEL 
POWER_SUN_POWER 
POWER_TWILIGHT_ENERGY 
POWER_VENOM 
POWER_ORANGE_POWER_2 
POWER_CONSUMING_FLAME 
POWER_PYROCLASTIC_FRENZY 
POWER_FLASHFIRE 
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_ARCANE_ENERGY = 143,
37  POWER_LIFE_ENERGY = 144,
38  POWER_SUN_ENERGY = 145,
41  POWER_BLUE_POWER = 148,
42  POWER_PURPLE_POWER = 149,
43  POWER_GREEN_POWER = 150,
44  POWER_ORANGE_POWER = 151,
45  POWER_ENERGY_2 = 153,
46  POWER_ARCANEENERGY = 161,
47  POWER_WIND_POWER_1 = 162,
48  POWER_WIND_POWER_2 = 163,
49  POWER_WIND_POWER_3 = 164,
50  POWER_FUEL = 165,
51  POWER_SUN_POWER = 166,
53  POWER_VENOM = 174,
57  POWER_FLASHFIRE = 179,
58 };
Definition: VehicleDefines.h:48
Definition: VehicleDefines.h:37
Definition: VehicleDefines.h:30
Definition: VehicleDefines.h:57
Definition: VehicleDefines.h:42
Definition: VehicleDefines.h:34
Definition: VehicleDefines.h:50
Definition: VehicleDefines.h:47
Definition: VehicleDefines.h:38
Definition: VehicleDefines.h:41
Definition: VehicleDefines.h:32
Definition: VehicleDefines.h:31
Definition: VehicleDefines.h:49
Definition: VehicleDefines.h:55
Definition: VehicleDefines.h:53
Definition: VehicleDefines.h:33
Definition: VehicleDefines.h:35
Definition: VehicleDefines.h:36
Definition: VehicleDefines.h:43
Definition: VehicleDefines.h:54
Definition: VehicleDefines.h:39
Definition: VehicleDefines.h:40
Definition: VehicleDefines.h:45
Definition: VehicleDefines.h:46
Definition: VehicleDefines.h:51
Definition: VehicleDefines.h:44
Definition: VehicleDefines.h:52
Definition: VehicleDefines.h:56
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 
61 {
62  VEHICLE_FLAG_NO_STRAFE = 0x00000001, // Sets MOVEFLAG2_NO_STRAFE
63  VEHICLE_FLAG_NO_JUMPING = 0x00000002, // Sets MOVEFLAG2_NO_JUMPING
64  VEHICLE_FLAG_FULLSPEEDTURNING = 0x00000004, // Sets MOVEFLAG2_FULLSPEEDTURNING
65  VEHICLE_FLAG_ALLOW_PITCHING = 0x00000010, // Sets MOVEFLAG2_ALLOW_PITCHING
66  VEHICLE_FLAG_FULLSPEEDPITCHING = 0x00000020, // Sets MOVEFLAG2_FULLSPEEDPITCHING
67  VEHICLE_FLAG_CUSTOM_PITCH = 0x00000040, // If set use pitchMin and pitchMax from DBC, otherwise pitchMin = -pi/2, pitchMax = pi/2
68  VEHICLE_FLAG_ADJUST_AIM_ANGLE = 0x00000400, // Lua_IsVehicleAimAngleAdjustable
69  VEHICLE_FLAG_ADJUST_AIM_POWER = 0x00000800 // Lua_IsVehicleAimPowerAdjustable
70 };
Definition: VehicleDefines.h:66
Definition: VehicleDefines.h:68
Definition: VehicleDefines.h:64
Definition: VehicleDefines.h:67
Definition: VehicleDefines.h:65
Definition: VehicleDefines.h:63
Definition: VehicleDefines.h:62
Definition: VehicleDefines.h:69
Enumerator
VEHICLE_SPELL_RIDE_HARDCODED 
VEHICLE_SPELL_PARACHUTE 
73 {
76 };
Definition: VehicleDefines.h:74
Definition: VehicleDefines.h:75