11 Commits
Author SHA1 Message Date
A1m` a86fc4af91 Fix circular includes and include cleanup (#3)
* Fix circular includes and include cleanup

Fixed a bug where other *.h header files would include extension.h, which itself
was already included in those same headers, creating a circular dependency cycle.
This caused build errors and made compilation unpredictable.

To resolve this:
- Moved implementation-only includes to .cpp files where they are actually needed.
- Added forward declarations where possible to avoid pulling in unnecessary headers.
- Ensured extension.h only contains declarations that require full type definitions.

This improves build stability and compilation time.

* Clean up includes and fix build errors

- Replaced full includes with forward declarations where possible
- Moved implementation-only includes from .h to .cpp files
- Added missing includes for stdint.h and Steam interfaces
- This significantly reduces compilation time and prevents future dependency issues

* Switch to SourceMod SDK smsdk_ext instead of local copy
2026-07-13 21:43:05 +00:00
peace-maker ef731826dd gc: don't double call RetrieveMessage (#27)
The original function is called already using `SH_CALL`, so always supercede in the hook afterwards to not call it twice.

The forward definition had an extra unused parameter defined.
2020-07-11 13:35:30 -07:00
Kyle Sanderson 534a692a6c GC: fix RetrieveMessage forward. 2020-03-31 09:59:54 -07:00
Kyle Sanderson 6c36535c98 Hook GC/GS immediately if available on extension load. 2017-08-23 20:44:01 -07:00
Kyle Sanderson 1f096ac7ac Fix GameCoordinator never being rehooked after ISteamClient destruction. 2017-08-23 20:43:07 -07:00
Kyle Sanderson d1f183a259 Initialize corner case GC variables before they're passed to Pawn. 2016-10-15 15:02:48 -07:00
Kyle Sanderson 05a8e4e037 Spell Retrieve properly... 2016-03-05 21:05:54 -08:00
Kyle Sanderson 3da8a5d831 Make GC Forward names consistent (breaks stable ABI, feature still super new). 2016-03-05 17:31:09 -08:00
Ryan Speets 735f4c92a4 Fixed build on Windows due to SendMessage macro 2016-03-05 11:14:01 -05:00
Kyle Sanderson 0ad1d9e025 Windows buildhackfix from 9f70645270. 2016-03-04 15:01:41 -08:00
Kyle Sanderson 9f70645270 Add Game Coordinator Hooks (untested). 2016-03-03 20:38:00 -08:00