Add OP_Fling stuff so devs can play with

This commit is contained in:
Michael Cook (mackal) 2016-03-25 20:26:21 -04:00
parent 03ae89b628
commit 5585ddb80b
6 changed files with 19 additions and 0 deletions

View File

@ -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),

View File

@ -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()

View File

@ -356,6 +356,7 @@ OP_Weblink=0x7cce
#OP_OpenInventory=0x0000 # Likely does not exist in RoF -U
OP_OpenContainer=0x654f
OP_Marquee=0x288a
OP_Fling=0x6b8e
OP_DzQuit=0x5fc8
OP_DzListTimers=0x67b9

View File

@ -357,6 +357,7 @@ OP_Marquee=0x502e
OP_ItemRecastDelay=0x15a9
#OP_OpenInventory=0x0000 # Likely does not exist in RoF -U
OP_ResetAA=0x1669
OP_Fling=0x6f80
# Expeditions
OP_DzAddPlayer=0x4701

View File

@ -351,6 +351,7 @@ OP_InspectMessageUpdate=0x53a3 # C
OP_OpenInventory=0x1003
OP_OpenContainer=0x3278
OP_Marquee=0x7dc9
OP_Fling=0x2b88
# Expedition
OP_DzQuit=0x054e

View File

@ -361,6 +361,7 @@ OP_InspectMessageUpdate=0x7fa1 # C
#OP_OpenInventory=0x0000 # Likely does not exist in UF -U
OP_OpenContainer=0x041a
OP_Marquee=0x3675
OP_Fling=0x51b1
OP_DzQuit=0x1539
OP_DzListTimers=0x21e9