This brings in a few breaking changes. One, INVALID_FUNCTION is now 0 instead of -1. This is long overdue. Plugins should transparently work except in two cases: 1. Third-party extensions that have a hardcoded test for -1 will no longer work. A new API has been provided for this, GetFunctionByIdOrNull. 2. If a plugin "framework" uses INVALID_FUNCTION anywhere in its exported API, then all plugins using that framework need to be recompiled together, so they agree on the value of INVALID_FUNCTION. Hopefully the damage here is minimal. The core plugin version has been bumped to 7 to try and limit conflicts. Second, braceless functions are no longer supported. There wasn't really any way around this and it's better to bite the bullet now. This affects source compatibility, but not binary compatibility. Third, the "using" keyword is no longer implemented. SourceMod now has a Handle methodmap again. Plugins compiled against this new methodmap will require a "Handle.~Handle" native, which 1.12 now provides. |
||
---|---|---|
.github | ||
bridge/include | ||
configs | ||
core | ||
editor | ||
extensions | ||
gamedata | ||
licenses | ||
loader | ||
plugins | ||
public | ||
sourcepawn@e8bbc9a324 | ||
tools | ||
translations | ||
versionlib | ||
.arcconfig | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
.travis.yml | ||
AMBuildScript | ||
appveyor.yml | ||
changelog.txt | ||
configure.py | ||
product.version | ||
pushbuild.txt | ||
README.md |
SourceMod
General
- SourceMod website: Source Engine scripting and server administration
- Forum: Discussion forum including plugin/extension development
- General documentation: Miscellaneous information about SourceMod
- Stable builds: The latest stable SourceMod releases
- Dev builds: Builds of recent development versions
Development
- Issue tracker: Issues that require back and forth communication
- Building SourceMod: Instructions on how to build SourceMod itself using AMBuild
- SourcePawn scripting: SourcePawn examples and introduction to the language
- SourceMod plugin API: Online SourceMod plugin API reference generated from the include files
- SourceMod extension development: C++ examples and introduction to various extension interfaces
- Translation project: Help translate SourceMod into your language
Contact
License
SourceMod is licensed under the GNU General Public License version 3. Special exceptions are outlined in the LICENSE.txt file inside of the licenses folder.