From 9e55d1d199b8cb5c2559fbcc5dad761e900988b0 Mon Sep 17 00:00:00 2001 From: Federico Cecchetto Date: Sun, 19 Jun 2022 23:42:30 +0200 Subject: [PATCH] Update function_tables.cpp --- src/client/game/scripting/function_tables.cpp | 186 +++++++++--------- 1 file changed, 93 insertions(+), 93 deletions(-) diff --git a/src/client/game/scripting/function_tables.cpp b/src/client/game/scripting/function_tables.cpp index 297a982c..bc05bb02 100644 --- a/src/client/game/scripting/function_tables.cpp +++ b/src/client/game/scripting/function_tables.cpp @@ -932,12 +932,12 @@ namespace scripting {"playerlinkedoffsetdisable", 0x80A1}, // SP 0x2C2920 MP 0x446700 {"playerlinkedsetviewznear", 0x80A2}, // SP 0x2C3020 MP 0x446A60 {"playerlinkedsetusebaseangleforviewclamp", 0x80A3}, // SP 0x2C3330 MP 0x447070 - {"_meth_80a4", 0x80A4}, // SP 0x2C8370 MP 0x449860 - {"_meth_80a5", 0x80A5}, // SP 0x2C8B40 MP 0x44A270 - {"_meth_80a6", 0x80A6}, // SP 0x2C9270 MP 0x000000 - {"_meth_80a7", 0x80A7}, // SP 0x2C9BA0 MP 0x000000 - {"_meth_80a8", 0x80A8}, // SP 0x2CAED0 MP 0x000000 - {"_meth_80a9", 0x80A9}, // SP 0x2CB8D0 MP 0x000000 + {"lerpviewangleclamp", 0x80A4}, // SP 0x2C8370 MP 0x449860 + {"setviewangleresistance", 0x80A5}, // SP 0x2C8B40 MP 0x44A270 + {"springcamenabled", 0x80A6}, // SP 0x2C9270 MP 0x000000 + {"springcamdisabled", 0x80A7}, // SP 0x2C9BA0 MP 0x000000 + {"linktoplayerview", 0x80A8}, // SP 0x2CAED0 MP 0x000000 + {"unlinkfromplayerview", 0x80A9}, // SP 0x2CB8D0 MP 0x000000 {"geteye", 0x80AA}, // SP 0x2D17D0 MP 0x438C20 {"istouching", 0x80AB}, // SP 0x2C28D0 MP 0x445030 {"getistouchingentities", 0x80AC}, // SP 0x2C2D10 MP 0x4452B0 @@ -956,76 +956,76 @@ namespace scripting {"thermalvisionfofoverlayoff", 0x80BB}, // SP 0x2CF220 MP 0x4374E0 {"autospotoverlayon", 0x80BC}, // SP 0x000000 MP 0x437700 {"autospotoverlayoff", 0x80BD}, // SP 0x000000 MP 0x4378D0 - {"_meth_80be", 0x80BE}, // SP 0x000000 MP 0x437C30 + {"seteyesonuplinkenabled", 0x80BE}, // SP 0x000000 MP 0x437C30 {"setcontents", 0x80C0}, // SP 0x2CBA60 MP 0x44A430 {"makeusable", 0x80C1}, // SP 0x2CBCA0 MP 0x44A860 {"makeunusable", 0x80C2}, // SP 0x2CBF30 MP 0x44ABD0 {"_meth_80c3", 0x80C3}, // SP 0x2C2350 MP 0x44ADA0 {"_meth_80c4", 0x80C4}, // SP 0x2C26C0 MP 0x44B610 - {"_meth_80c5", 0x80C5}, // SP 0x28CCC0 MP 0x000000 - {"_meth_80c6", 0x80C6}, // SP 0x2911D0 MP 0x000000 - {"_meth_80c7", 0x80C7}, // SP 0x4E8850 MP 0x000000 - {"_meth_80c8", 0x80C8}, // SP 0x4E69D0 MP 0x000000 - {"_meth_80c9", 0x80C9}, // SP 0x4E86B0 MP 0x000000 - {"_meth_80ca", 0x80CA}, // SP 0x4E8740 MP 0x000000 - {"_meth_80cb", 0x80CB}, // SP 0x4E7F80 MP 0x000000 + {"setwhizbyprobabilities", 0x80C5}, // SP 0x28CCC0 MP 0x000000 + {"visionsetnakedforplayer_lerp", 0x80C6}, // SP 0x2911D0 MP 0x000000 + {"setwaitnode", 0x80C7}, // SP 0x4E8850 MP 0x000000 + {"returnplayercontrol", 0x80C8}, // SP 0x4E69D0 MP 0x000000 + {"vehphys_starttrack", 0x80C9}, // SP 0x4E86B0 MP 0x000000 + {"vehphys_clearautodisable", 0x80CA}, // SP 0x4E8740 MP 0x000000 + {"vehicleusealtblendedaudio", 0x80CB}, // SP 0x4E7F80 MP 0x000000 {"settext", 0x80CC}, // SP 0x299BD0 MP 0x418B90 - {"_meth_80cd", 0x80CD}, // SP 0x299CC0 MP 0x418C80 + {"clearalltextafterhudelem", 0x80CD}, // SP 0x299CC0 MP 0x418C80 {"setshader", 0x80CE}, // SP 0x299CD0 MP 0x418C90 {"settargetent", 0x80CF}, // SP 0x29A040 MP 0x418FF0 {"cleartargetent", 0x80D0}, // SP 0x29A1E0 MP 0x419180 - {"_meth_80d1", 0x80D1}, // SP 0x29A2C0 MP 0x419250 - {"_meth_80d2", 0x80D2}, // SP 0x29A390 MP 0x419310 - {"_meth_80d3", 0x80D3}, // SP 0x29A460 MP 0x4193B0 - {"_meth_80d4", 0x80D4}, // SP 0x29A530 MP 0x419460 - {"_meth_80d5", 0x80D5}, // SP 0x29A600 MP 0x419520 - {"_meth_80d6", 0x80D6}, // SP 0x29A6D0 MP 0x4195C0 + {"settimer", 0x80D1}, // SP 0x29A2C0 MP 0x419250 + {"settimerup", 0x80D2}, // SP 0x29A390 MP 0x419310 + {"settimerstatic", 0x80D3}, // SP 0x29A460 MP 0x4193B0 + {"settenthstimer", 0x80D4}, // SP 0x29A530 MP 0x419460 + {"settenthstimerup", 0x80D5}, // SP 0x29A600 MP 0x419520 + {"settenthstimerstatic", 0x80D6}, // SP 0x29A6D0 MP 0x4195C0 {"setclock", 0x80D7}, // SP 0x29A7A0 MP 0x419670 {"setclockup", 0x80D8}, // SP 0x29A7C0 MP 0x419690 {"setvalue", 0x80D9}, // SP 0x29A7E0 MP 0x4196B0 {"setwaypoint", 0x80DA}, // SP 0x29A880 MP 0x419730 - {"_meth_80db", 0x80DB}, // SP 0x29A9F0 MP 0x419830 + {"setwaypointedgestyle_rotatingicon", 0x80DB}, // SP 0x29A9F0 MP 0x419830 {"setcursorhint", 0x80DC}, // SP 0x2CC300 MP 0x44B510 {"sethintstring", 0x80DD}, // SP 0x2CCAC0 MP 0x44BEF0 - {"_meth_80de", 0x80DE}, // SP 0x000000 MP 0x0E4B40 + {"settertiaryhintstring", 0x80DE}, // SP 0x000000 MP 0x0E4B40 {"forceusehinton", 0x80DF}, // SP 0x2CCD30 MP 0x44C2B0 - {"_meth_80e0", 0x80E0}, // SP 0x2CCFF0 MP 0x44C540 - {"_meth_80e1", 0x80E1}, // SP 0x2CC050 MP 0x44AD40 - {"_meth_80e2", 0x80E2}, // SP 0x2CC0F0 MP 0x44B0C0 - {"entitywillneverchange", 0x80E3}, // SP 0x2CC2A0 MP 0x44B130 - {"_meth_80e4", 0x80E4}, // SP 0x2C3DC0 MP 0x446D90 - {"_meth_80e5", 0x80E5}, // SP 0x2C3E60 MP 0x446F20 + {"forceusehintoff", 0x80E0}, // SP 0x2CCFF0 MP 0x44C540 + {"makesoft", 0x80E1}, // SP 0x2CC050 MP 0x44AD40 + {"makehard", 0x80E2}, // SP 0x2CC0F0 MP 0x44B0C0 + {"willneverchange", 0x80E3}, // SP 0x2CC2A0 MP 0x44B130 + {"startfiring", 0x80E4}, // SP 0x2C3DC0 MP 0x446D90 + {"stopfiring", 0x80E5}, // SP 0x2C3E60 MP 0x446F20 {"isfiringturret", 0x80E6}, // SP 0x2C4130 MP 0x4471C0 {"startbarrelspin", 0x80E7}, // SP 0x2C4220 MP 0x447540 {"stopbarrelspin", 0x80E8}, // SP 0x2C4480 MP 0x447600 {"getbarrelspinrate", 0x80E9}, // SP 0x2C4660 MP 0x447770 - {"_meth_80ea", 0x80EA}, // SP 0x000000 MP 0x446460 + {"remotecontrolturret", 0x80EA}, // SP 0x000000 MP 0x446460 {"remotecontrolturretoff", 0x80EB}, // SP 0x000000 MP 0x4468F0 - {"_meth_80ec", 0x80EC}, // SP 0x2C64B0 MP 0x448590 + {"shootturret", 0x80EC}, // SP 0x2C64B0 MP 0x448590 {"getturretowner", 0x80ED}, // SP 0x2C6720 MP 0x448750 - {"_meth_80ee", 0x80EE}, // SP 0x295860 MP 0x000000 - {"_meth_80ef", 0x80EF}, // SP 0x2958C0 MP 0x000000 - {"_meth_80f0", 0x80F0}, // SP 0x295910 MP 0x000000 - {"_meth_80f1", 0x80F1}, // SP 0x295960 MP 0x000000 - {"_meth_80f2", 0x80F2}, // SP 0x2959C0 MP 0x000000 - {"_meth_80f3", 0x80F3}, // SP 0x295A20 MP 0x000000 - {"_meth_80f4", 0x80F4}, // SP 0x295A70 MP 0x000000 - {"_meth_80f5", 0x80F5}, // SP 0x295DC0 MP 0x000000 - {"_meth_80f6", 0x80F6}, // SP 0x295F90 MP 0x000000 - {"_meth_80f7", 0x80F7}, // SP 0x295FF0 MP 0x000000 - {"_meth_80f8", 0x80F8}, // SP 0x296050 MP 0x000000 - {"_meth_80f9", 0x80F9}, // SP 0x2960E0 MP 0x000000 - {"_meth_80fa", 0x80FA}, // SP 0x296190 MP 0x000000 - {"_meth_80fb", 0x80FB}, // SP 0x290DC0 MP 0x40C6A0 - {"_meth_80fc", 0x80FC}, // SP 0x295B60 MP 0x000000 - {"_meth_80fd", 0x80FD}, // SP 0x295BB0 MP 0x000000 - {"_meth_80fe", 0x80FE}, // SP 0x295C80 MP 0x000000 - {"_meth_80ff", 0x80FF}, // SP 0x295D10 MP 0x000000 - {"_meth_8100", 0x8100}, // SP 0x28ED50 MP 0x40A500 - {"_meth_8101", 0x8101}, // SP 0x28EFA0 MP 0x40A820 - {"_meth_8102", 0x8102}, // SP 0x295C00 MP 0x000000 - {"_meth_8103", 0x8103}, // SP 0x28F310 MP 0x000000 - {"_meth_8104", 0x8104}, // SP 0x28CA40 MP 0x000000 + {"enabledeathshield", 0x80EE}, // SP 0x295860 MP 0x000000 + {"nightvisiongogglesforceon", 0x80EF}, // SP 0x2958C0 MP 0x000000 + {"nightvisiongogglesforceoff", 0x80F0}, // SP 0x295910 MP 0x000000 + {"enableinvulnerability", 0x80F1}, // SP 0x295960 MP 0x000000 + {"disableinvulnerability", 0x80F2}, // SP 0x2959C0 MP 0x000000 + {"enablebreaching", 0x80F3}, // SP 0x295A20 MP 0x000000 + {"disablebreaching", 0x80F4}, // SP 0x295A70 MP 0x000000 + {"forceviewmodelanimation", 0x80F5}, // SP 0x295DC0 MP 0x000000 + {"disableturretdismount", 0x80F6}, // SP 0x295F90 MP 0x000000 + {"enableturretdismount", 0x80F7}, // SP 0x295FF0 MP 0x000000 + {"uploadscore", 0x80F8}, // SP 0x296050 MP 0x000000 + {"uploadtime", 0x80F9}, // SP 0x2960E0 MP 0x000000 + {"uploadleaderboards", 0x80FA}, // SP 0x296190 MP 0x000000 + {"giveachievement", 0x80FB}, // SP 0x290DC0 MP 0x40C6A0 + {"hidehud", 0x80FC}, // SP 0x295B60 MP 0x000000 + {"showhud", 0x80FD}, // SP 0x295BB0 MP 0x000000 + {"mountvehicle", 0x80FE}, // SP 0x295C80 MP 0x000000 + {"dismountvehicle", 0x80FF}, // SP 0x295D10 MP 0x000000 + {"enableslowaim", 0x8100}, // SP 0x28ED50 MP 0x40A500 + {"disableslowaim", 0x8101}, // SP 0x28EFA0 MP 0x40A820 + {"usehintsinvehicle", 0x8102}, // SP 0x295C00 MP 0x000000 + {"vehicleattackbuttonpressed", 0x8103}, // SP 0x28F310 MP 0x000000 + {"setwhizbyoffset", 0x8104}, // SP 0x28CA40 MP 0x000000 {"setsentryowner", 0x8105}, // SP 0x2C68A0 MP 0x448D80 {"setsentrycarrier", 0x8106}, // SP 0x2C6B40 MP 0x449100 {"setturretminimapvisible", 0x8107}, // SP 0x2C7600 MP 0x449570 @@ -1034,48 +1034,48 @@ namespace scripting {"cleartargetentity", 0x810A}, // SP 0x2C8300 MP 0x449F60 {"getturrettarget", 0x810B}, // SP 0x2C87A0 MP 0x44A280 {"setplayerspread", 0x810C}, // SP 0x2C8FB0 MP 0x44B020 - {"_meth_810d", 0x810D}, // SP 0x2C9140 MP 0x44B120 - {"_meth_810e", 0x810E}, // SP 0x2C93C0 MP 0x44B1A0 - {"_meth_810f", 0x810F}, // SP 0x2B80E0 MP 0x000000 - {"_meth_8110", 0x8110}, // SP 0x2B8100 MP 0x000000 - {"_meth_8111", 0x8111}, // SP 0x2B8120 MP 0x000000 - {"_meth_8112", 0x8112}, // SP 0x2B8140 MP 0x000000 - {"_meth_8113", 0x8113}, // SP 0x2B8160 MP 0x000000 - {"_meth_8114", 0x8114}, // SP 0x2B8180 MP 0x000000 - {"_meth_8115", 0x8115}, // SP 0x2B8190 MP 0x000000 - {"_meth_8116", 0x8116}, // SP 0x2B81B0 MP 0x000000 - {"_meth_8117", 0x8117}, // SP 0x2B81D0 MP 0x000000 - {"_meth_8118", 0x8118}, // SP 0x2B82B0 MP 0x000000 - {"_meth_8119", 0x8119}, // SP 0x2B8330 MP 0x000000 - {"_meth_811a", 0x811A}, // SP 0x28F390 MP 0x40A6F0 - {"_meth_811b", 0x811B}, // SP 0x28F4A0 MP 0x40A8A0 - {"_meth_811c", 0x811C}, // SP 0x28F580 MP 0x40AC20 - {"_meth_811d", 0x811D}, // SP 0x28F660 MP 0x40AD70 - {"_meth_811e", 0x811E}, // SP 0x294D10 MP 0x000000 - {"_meth_811f", 0x811F}, // SP 0x295190 MP 0x000000 - {"_meth_8121", 0x8121}, // SP 0x294F50 MP 0x000000 - {"_meth_8122", 0x8122}, // SP 0x294FD0 MP 0x000000 - {"_meth_8123", 0x8123}, // SP 0x2952D0 MP 0x000000 - {"_meth_8128", 0x8128}, // SP 0x295320 MP 0x000000 - {"_meth_8129", 0x8129}, // SP 0x294FF0 MP 0x000000 - {"_meth_812a", 0x812A}, // SP 0x295370 MP 0x000000 - {"_meth_812b", 0x812B}, // SP 0x2954A0 MP 0x000000 - {"_meth_812c", 0x812C}, // SP 0x294E70 MP 0x000000 - {"_meth_812d", 0x812D}, // SP 0x295550 MP 0x000000 - {"_meth_812e", 0x812E}, // SP 0x28D580 MP 0x408590 - {"_meth_812f", 0x812F}, // SP 0x28D970 MP 0x408BD0 - {"_meth_8130", 0x8130}, // SP 0x290B30 MP 0x40CC70 - {"_meth_8131", 0x8131}, // SP 0x295790 MP 0x000000 - {"isplanting", 0x8132}, // SP 0x28F1B0 MP 0x40A2E0 - {"_meth_8133", 0x8133}, // SP 0x28F2A0 MP 0x40A490 - {"_meth_8134", 0x8134}, // SP 0x295800 MP 0x000000 + {"setaispread", 0x810D}, // SP 0x2C9140 MP 0x44B120 + {"setsuppressiontime", 0x810E}, // SP 0x2C93C0 MP 0x44B1A0 + {"setflaggedanimknobrestart", 0x810F}, // SP 0x2B80E0 MP 0x000000 + {"setflaggedanimknoblimitedrestart", 0x8110}, // SP 0x2B8100 MP 0x000000 + {"setflaggedanimknoball", 0x8111}, // SP 0x2B8120 MP 0x000000 + {"setflaggedanimknoballrestart", 0x8112}, // SP 0x2B8140 MP 0x000000 + {"setflaggedanim", 0x8113}, // SP 0x2B8160 MP 0x000000 + {"setflaggedanimlimited", 0x8114}, // SP 0x2B8180 MP 0x000000 + {"setflaggedanimrestart", 0x8115}, // SP 0x2B8190 MP 0x000000 + {"setflaggedanimlimitedrestart", 0x8116}, // SP 0x2B81B0 MP 0x000000 + {"useanimtree", 0x8117}, // SP 0x2B81D0 MP 0x000000 + {"stopuseanimtree", 0x8118}, // SP 0x2B82B0 MP 0x000000 + {"setanimtime", 0x8119}, // SP 0x2B8330 MP 0x000000 + {"allowstand", 0x811A}, // SP 0x28F390 MP 0x40A6F0 + {"allowcrouch", 0x811B}, // SP 0x28F4A0 MP 0x40A8A0 + {"allowprone", 0x811C}, // SP 0x28F580 MP 0x40AC20 + {"allowlean", 0x811D}, // SP 0x28F660 MP 0x40AD70 + {"allowswim", 0x811E}, // SP 0x294D10 MP 0x000000 + {"setocclusion", 0x811F}, // SP 0x295190 MP 0x000000 + {"deactivateocclusion", 0x8121}, // SP 0x294F50 MP 0x000000 + {"deactivateallocclusion", 0x8122}, // SP 0x294FD0 MP 0x000000 + {"isocclusionenabled", 0x8123}, // SP 0x2952D0 MP 0x000000 + {"iseqenabled", 0x8128}, // SP 0x295320 MP 0x000000 + {"seteq", 0x8129}, // SP 0x294FF0 MP 0x000000 + {"seteqbands", 0x812A}, // SP 0x295370 MP 0x000000 + {"deactivateeq", 0x812B}, // SP 0x2954A0 MP 0x000000 + {"seteqlerp", 0x812C}, // SP 0x294E70 MP 0x000000 + {"islookingat", 0x812D}, // SP 0x295550 MP 0x000000 + {"isthrowinggrenade", 0x812E}, // SP 0x28D580 MP 0x408590 + {"isfiring", 0x812F}, // SP 0x28D970 MP 0x408BD0 + {"ismeleeing", 0x8130}, // SP 0x290B30 MP 0x40CC70 + {"setautopickup", 0x8131}, // SP 0x295790 MP 0x000000 + {"allowmelee", 0x8132}, // SP 0x28F1B0 MP 0x40A2E0 + {"allowfire", 0x8133}, // SP 0x28F2A0 MP 0x40A490 + {"enablehealthshield", 0x8134}, // SP 0x295800 MP 0x000000 {"setconvergencetime", 0x8135}, // SP 0x2C9770 MP 0x44B3D0 {"setconvergenceheightpercent", 0x8136}, // SP 0x2C9D30 MP 0x44BAE0 {"setturretteam", 0x8137}, // SP 0x2C9FF0 MP 0x44BC00 - {"_meth_8138", 0x8138}, // SP 0x2CA680 MP 0x44BFE0 - {"startfiring", 0x8139}, // SP 0x2CA820 MP 0x44C200 - {"stopfiring", 0x813A}, // SP 0x2CAA00 MP 0x44C3A0 - {"_meth_813b", 0x813B}, // SP 0x307F30 MP 0x08FCC0 + {"maketurretsolid", 0x8138}, // SP 0x2CA680 MP 0x44BFE0 + {"maketurretoperable", 0x8139}, // SP 0x2CA820 MP 0x44C200 + {"maketurretinoperable", 0x813A}, // SP 0x2CAA00 MP 0x44C3A0 + {"makeentitysentient", 0x813B}, // SP 0x307F30 MP 0x08FCC0 {"freeentitysentient", 0x813C}, // SP 0x307650 MP 0x08FDE0 {"_meth_813d", 0x813D}, // SP 0x307780 MP 0x000000 {"_meth_813e", 0x813E}, // SP 0x3077E0 MP 0x000000