Commit Graph

14 Commits

Author SHA1 Message Date
A1mDev
f7250c8288 Added missing fields to the CTakeDamageInfo class, the actual size of the structure is 96 bytes.
- Updated `CTakeDamageInfo` to include new class fields (`m_flRadius` and `m_iDamageVictimIndex`) for clarity and future compatibility.

- Existing hooks remain fully compatible.

- Crashes in SourceMod do not occur due to an incorrect stack, because the structure is always passed by reference or pointer.

- Updating the structure is recommended for cases where manual access to all fields or other special use cases is required.
2025-10-19 20:07:51 +07:00
Nick Hastings
ff9efd8615 Fix file encoding 2025-05-17 14:16:40 -04:00
A1m`
66743d0eee
[L4D2] Update GameEventListener.h (#122)
* Update GameEventListener.h

* Remove unnecessary
2023-03-29 03:08:47 +00:00
David Anderson
be49946fbe Fix conflicts with std::swap. 2020-05-18 17:43:55 -07:00
Ayuto
0dfa780938 Updated vtable of ITemEntsSystem 2015-06-13 10:00:55 +02:00
Ayuto
a16cb697de Removed ITempEntsSystem::DispatchEffect()
It doesn't exist in L4D2.
2015-06-12 15:56:16 +02:00
Scott Ehlert
4caefcbcba Fixed conflict between min/max macros and std::min/max when using GCC >= 4.2. 2011-04-28 01:30:37 -05:00
Nicholas Hastings
c8b9c464d9 Added missing vector to takedamageinfo.h (bug 4792, r=DS). 2011-01-14 14:19:10 -05:00
ProdigySim
b91e37dddb Updated FileWeaponInfo_t struct and fixed compile errors in shareddefs.h (bug 4744, r=ds). 2010-12-19 21:49:36 -08:00
Nicholas Hastings
18bc4916c0 Fixed ENTINDEX and INDEXENT in utils.h (bug 4685, r=ds).
--HG--
extra : rebase_source : 3d5b5e9f88e1e7157670e2babc87094cd0113806
2010-10-28 11:49:23 -07:00
Scott Ehlert
f12130c3a9 More portions of L4D2 SDK compile and link on Mac OS X (bug 4646, r=dvander). 2010-10-14 16:36:09 -05:00
Fyren
027b04693f Fixed ENTINDEX/INDEXENT not compiling (bug 3543, r=ds). 2009-02-16 16:15:11 -05:00
Scott Ehlert
7ff7f366d5 Modified SDK for GCC 4.2 2008-09-15 02:50:57 -05:00
Scott Ehlert
055f5cd168 Added most recent version of unmodified HL2 SDK for Orange Box engine 2008-09-15 01:07:45 -05:00