Update to the new SourcePawn compiler.

This imports the brand new SourcePawn compiler. The new compiler is much
faster to compile and generates significantly improved code around
array generation and array access.

There are a number of compatibility changes in the new compiler. Most of
these are due to improved type checking and error detection. The full
list of notes can be found here:

https://github.com/alliedmodders/sourcepawn/blob/master/docs/upgrading-1.11.md

Additionally, .smx files generated by the new compiler will NOT load on
earlier versions of SourceMod, including earlier versions of 1.11. Old
plugins will continue to load as normal.
This commit is contained in:
David Anderson
2021-10-26 17:45:48 -10:00
parent 38a069b97a
commit 2a06680252
4 changed files with 131 additions and 18 deletions
+1 -1
View File
@@ -1286,7 +1286,7 @@ void WritePreviousMapsToText()
file.Close();
}
char GetTextFilePath()
char[] GetTextFilePath()
{
static char path[PLATFORM_MAX_PATH];
if (path[0] == '\0')