[12107] Add some unknown vehicle seat flags.

Possible meanings guessed by TC team, most work done there by Machiavelli
This commit is contained in:
Schmoozerd 2012-08-21 13:35:22 +02:00 committed by Antz
parent 068f352c53
commit 826c15da12
2 changed files with 27 additions and 1 deletions

View file

@ -533,12 +533,38 @@ enum VehicleFlags
enum VehicleSeatFlags enum VehicleSeatFlags
{ {
SEAT_FLAG_UNK1 = 0x00000001, // "HasLowerAnimForEnter"
SEAT_FLAG_UNK2 = 0x00000002, // "HasLowerAnimForRide"
SEAT_FLAG_UNK3 = 0x00000004,
SEAT_FLAG_UNK4 = 0x00000008, // "ShouldUseVehicleSeatExitAnimationOnVoluntaryExit"
SEAT_FLAG_UNK5 = 0x00000010,
SEAT_FLAG_UNK6 = 0x00000020,
SEAT_FLAG_UNK7 = 0x00000040,
SEAT_FLAG_UNK8 = 0x00000080,
SEAT_FLAG_UNK9 = 0x00000100,
SEAT_FLAG_HIDE_PASSENGER = 0x00000200, // Passenger is hidden SEAT_FLAG_HIDE_PASSENGER = 0x00000200, // Passenger is hidden
SEAT_FLAG_UNK10 = 0x00000400, // "AllowsTurning"
SEAT_FLAG_CAN_CONTROL = 0x00000800, // Lua_UnitInVehicleControlSeat SEAT_FLAG_CAN_CONTROL = 0x00000800, // Lua_UnitInVehicleControlSeat
SEAT_FLAG_UNK11 = 0x00001000, // "Can Cast Mount Spell"
SEAT_FLAG_UNK12 = 0x00002000, // "Uncontrolled"
SEAT_FLAG_CAN_ATTACK = 0x00004000, // Can attack, cast spells and use items from vehicle? SEAT_FLAG_CAN_ATTACK = 0x00004000, // Can attack, cast spells and use items from vehicle?
SEAT_FLAG_UNK13 = 0x00008000, // "ShouldUseVehicleSeatExitAnimationOnForcedExit"
SEAT_FLAG_UNK14 = 0x00010000,
SEAT_FLAG_UNK15 = 0x00020000,
SEAT_FLAG_UNK16 = 0x00040000, // "HasVehicleExitAnimForVoluntaryExit"
SEAT_FLAG_UNK17 = 0x00080000, // "HasVehicleExitAnimForForcedExit"
SEAT_FLAG_UNK18 = 0x00100000,
SEAT_FLAG_UNK19 = 0x00200000,
SEAT_FLAG_UNK20 = 0x00400000, // "RecHasVehicleEnterAnim"
SEAT_FLAG_UNK21 = 0x00800000,
SEAT_FLAG_UNK22 = 0x01000000, // "EnableVehicleZoom"
SEAT_FLAG_USABLE = 0x02000000, // Lua_CanExitVehicle SEAT_FLAG_USABLE = 0x02000000, // Lua_CanExitVehicle
SEAT_FLAG_CAN_SWITCH = 0x04000000, // Lua_CanSwitchVehicleSeats SEAT_FLAG_CAN_SWITCH = 0x04000000, // Lua_CanSwitchVehicleSeats
SEAT_FLAG_UNK23 = 0x08000000, // "HasStartWaitingForVehicleTransitionAnimEnter"
SEAT_FLAG_UNK24 = 0x10000000, // "HasStartWaitingForVehicleTransitionAnimExit"
SEAT_FLAG_CAN_CAST = 0x20000000, // Lua_UnitHasVehicleUI SEAT_FLAG_CAN_CAST = 0x20000000, // Lua_UnitHasVehicleUI
SEAT_FLAG_UNK25 = 0x40000000,
SEAT_FLAG_UNK26 = 0x80000000, // "AllowsInteraction"
}; };
#endif #endif

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "12106" #define REVISION_NR "12107"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__