From e5bf207aba60e43a260cb26b74a8c5596d6dfd0c Mon Sep 17 00:00:00 2001 From: Federico Cecchetto Date: Sat, 24 Apr 2021 19:06:23 +0200 Subject: [PATCH] Update function tables --- src/game/scripting/function_tables.cpp | 34 +++++++++++++------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/src/game/scripting/function_tables.cpp b/src/game/scripting/function_tables.cpp index fda367d0..3e14c6d7 100644 --- a/src/game/scripting/function_tables.cpp +++ b/src/game/scripting/function_tables.cpp @@ -64,14 +64,14 @@ namespace scripting {"getanimlength", 103}, {"animhasnotetrack", 104}, {"getnotetracktimes", 105}, - {"sub_7ff7de27edd0", 107}, + {"spawn", 107}, {"sub_7ff7de27edd0", 106}, {"sub_7ff7de4456b0", 108}, - {"sub_7ff7de281bd0", 109}, + {"bullettrace", 109}, {"bullettracepassed", 143}, - {"sub_7ff7de282480", 144}, - {"sub_7ff7de283190", 146}, - {"sub_7ff7de282c80", 145}, + {"sighttracepassed", 144}, + {"playerphysicstrace", 146}, + {"physicstrace", 145}, {"sub_7ff7de283620", 581}, {"sub_7ff7de283920", 582}, {"sub_7ff7de285780", 147}, @@ -165,7 +165,7 @@ namespace scripting {"sub_7ff7de282350", 368}, {"sub_7ff7de282190", 340}, {"sub_7ff7de27b550", 339}, - {"sub_7ff7de2744f0", 342}, + {"playfx", 342}, {"loadfx", 341}, {"sub_7ff7de275db0", 343}, {"sub_7ff7de277a60", 344}, @@ -193,7 +193,7 @@ namespace scripting {"sub_7ff7de27daa0", 397}, {"sub_7ff7de27b140", 575}, {"isexplosivedamagemod", 398}, - {"sub_7ff7de287460", 399}, + {"radiusdamage", 399}, {"sub_7ff7de288550", 400}, {"sub_7ff7de27d760", 396}, {"sub_7ff7de287620", 401}, @@ -227,7 +227,7 @@ namespace scripting {"getnodearray", 499}, {"getallnodes", 500}, {"sub_7ff7de46a090", 502}, - {"spawn", 503}, + {"spawnvehicle", 503}, {"getarray", 504}, {"getspawnerarray", 460}, {"sub_7ff7de27c020", 461}, @@ -620,7 +620,7 @@ namespace scripting std::unordered_map method_map = { - {"sub_7ff7de289110", 800}, + {"sub_7ff7de289110", 800}, {"sub_7ff7de27fbc0", 32797}, {"nullsub_343", 33987}, {"sub_7ff7de280510", 32810}, @@ -672,8 +672,8 @@ namespace scripting {"sub_7ff7de27a710", 33813}, {"sub_7ff7de27a8d0", 32942}, {"sub_7ff7de280840", 32943}, - {"sub_7ff7de2809f0", 33897}, - {"sub_7ff7de2887e0", 32901}, + {"geteye", 33897}, + {"playerlinkto", 32901}, {"playerlinktoabsolute", 32902}, {"sub_7ff7de2889a0", 32945}, {"getclanidhigh", 33350}, @@ -1045,7 +1045,7 @@ namespace scripting {"sub_7ff7de228f60", 33174}, {"sub_7ff7de228fd0", 33175}, {"sub_7ff7de2282c0", 33236}, - {"sub_7ff7de229080", 33177}, + {"setphysicsmode", 33177}, {"sub_7ff7de229010", 33176}, {"sub_7ff7de2282a0", 33235}, {"sub_7ff7de2292e0", 33179}, @@ -1256,11 +1256,11 @@ namespace scripting {"sub_7ff7de24a2c0", 33077}, {"sub_7ff7de24a420", 34027}, {"sub_7ff7de2420c0", 33078}, - {"sub_7ff7de249e80", 33601}, - {"sub_7ff7de242270", 33603}, - {"getnormalizedmovement", 33604}, - {"sub_7ff7de2428e0", 33605}, - {"sub_7ff7de242ad0", 33606}, + {"isswitchingweapon", 33601}, + {"setorigin", 33603}, + {"getvelocity", 33604}, + {"setplayerangles", 33605}, + {"getplayerangles", 33606}, {"sub_7ff7de2432f0", 33765}, {"isonground", 33909}, {"sub_7ff7de24a6e0", 33908},