First we add smsdk_ext.cpp, while it has no uses as of right now. It might become useful, if PR alliedmodders/sourcemod#2001 isn't merged by the time we use more functionalities from tier1.
This fixes #38. And because https://github.com/alliedmodders/sourcemod/pull/1943 still isn't merged, we can't rely on the gameinterface versioning to tell which definition of CHalfLife2 we're dealing with. So we piggy back off sourcemod's version convar. I've dug for alternatives that wouldn't require parsing the convar, but SM is completely opaque when it comes to letting plugins or extensions which version is currently running.
Finally, ubuntu-18 has been deprecated for github CI. So replace it with the image ubuntu-19. I've also added windows-latest to the os matrix, since windows-2022 has become available and no longer maps to windows-2019 which we were already building against.
Its time for some clean up around the extension.
First we add smsdk_ext.cpp, while it has no uses as of right now. It might become useful, if PR alliedmodders/sourcemod#2001 isn't merged by the time we use more functionalities from tier1.
This fixes #38. And because https://github.com/alliedmodders/sourcemod/pull/1943 still isn't merged, we can't rely on the gameinterface versioning to tell which definition of
CHalfLife2
we're dealing with. So we piggy back off sourcemod's version convar. I've dug for alternatives that wouldn't require parsing the convar, but SM is completely opaque when it comes to letting plugins or extensions which version is currently running.Finally, ubuntu-18 has been deprecated for github CI. So replace it with the image ubuntu-19. I've also added windows-latest to the os matrix, since windows-2022 has become available and no longer maps to windows-2019 which we were already building against.