mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
Add OP_Fling stuff so devs can play with
This commit is contained in:
@@ -164,6 +164,7 @@ N(OP_FinishTrade),
|
||||
N(OP_FinishWindow),
|
||||
N(OP_FinishWindow2),
|
||||
N(OP_Fishing),
|
||||
N(OP_Fling),
|
||||
N(OP_FloatListThing),
|
||||
N(OP_Forage),
|
||||
N(OP_ForceFindPerson),
|
||||
|
||||
@@ -5359,6 +5359,20 @@ struct TextLinkBody_Struct {
|
||||
int hash; /* %08X */
|
||||
};
|
||||
|
||||
|
||||
struct fling_struct {
|
||||
/* 00 */ uint32 unk1;
|
||||
/* 04 */ int32 travel_time; // ms -- UF we need to calc this, RoF+ -1 auto calcs
|
||||
/* 08 */ char unk3; // bool, set to 1 has something to do with z-axis or something
|
||||
/* 09 */ char disable_fall_damage; // 1 you take no fall damage, 0 you take fall damage
|
||||
/* 10 */ uint8 padding[2];
|
||||
/* 12 */ float speed_z;
|
||||
/* 16 */ float new_y;
|
||||
/* 20 */ float new_x;
|
||||
/* 24 */ float new_z;
|
||||
/* 28 */
|
||||
};
|
||||
|
||||
// Restore structure packing to default
|
||||
#pragma pack()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user