sourcemod/extensions
Mikusch 542b7673d6 Add LookupEntityAttachment & GetEntityAttachment natives (#1653)
Using the virtual `CBaseAnimating::GetAttachment(int, matrix3x4_t &)` was a deliberate choice because virtual offsets are generally easier to maintain than signatures. The `matrix3x4_t` is converted to world position and world angles internally.
Some of the other overloads are also inlined on a few games, making this the best choice.

Since this call can only be used on classes inheriting `CBaseAnimating`, we check if the `DT_BaseAnimating` SendTable exists on the entity, throwing a native error if it doesn't.
This safeguard could be greatly improved with a call to `CBaseEntity::GetBaseAnimating`, but would require more gamedata (maybe something to consider for the future?)
2023-08-30 22:08:45 +02:00
..
bintools Fix crash with IBinTools calls on x64 for functions with void return. 2023-08-30 22:08:45 +02:00
clientprefs Add PostgreSQL database driver (#32) 2021-03-11 11:21:51 +01:00
cstrike Remove dead code. 2023-08-30 22:08:45 +02:00
curl Update to AMBuild 2.2. 2020-08-18 23:09:43 -07:00
dhooks Use SourceMod's version number 2023-08-30 22:08:45 +02:00
geoip Update GeoIP2 extension to new GeoLite2 .mmdb database format (#1245) 2021-06-30 13:01:12 +02:00
mysql Update to AMBuild 2.2. 2020-08-18 23:09:43 -07:00
pgsql Add PostgreSQL database driver (#32) 2021-03-11 11:21:51 +01:00
regex Remove use of the Dep API. 2020-08-24 20:48:57 -07:00
sdkhooks Fix crash in non-bypass-hooks DropWeapon implementation (#1672) 2023-08-30 22:08:45 +02:00
sdktools Add LookupEntityAttachment & GetEntityAttachment natives (#1653) 2023-08-30 22:08:45 +02:00
sqlite Update to AMBuild 2.2. 2020-08-18 23:09:43 -07:00
structs Deduplicate a number of files used by extensions by moving them to the public directory (bug 5341, r=psychonic). 2014-04-23 21:19:28 -05:00
tf2 TF2Tools: Prevent CalcIsAttackCriticalHelper* from being called twice (#1573) 2023-08-30 22:08:44 +02:00
topmenus Update to AMBuild 2.2. 2020-08-18 23:09:43 -07:00
updater Update to AMBuild 2.2. 2020-08-18 23:09:43 -07:00