* Add public vars for plugin data and small refactoring get_xvar_id native
* Add new command to display info about the plugin and add url to amxx plugins command
* Add optional args to register_plugin native (url, description)
* Add enum of args for register_plugin native
* Creating a variable inside an if statement (C++17)
* Displaying the URL of the plugin if it is present
* Getting an ID only with more than three arguments
* Creating a variable inside an if statement (C++17)
* Fix typo
* Revert "Creating a variable inside an if statement (C++17)"
This reverts commit 835e0bc6c413f11b1bbf964daea87b57f653f5d7.
* Revert "Creating a variable inside an if statement (C++17)"
This reverts commit b2c1e7c77576c02a00c8c3f103457000d3298ceb.
* Revert "Displaying the URL of the plugin if it is present"
This reverts commit 9e31230368449966d16635c696d97c04adadeaa9.
* Binary compatibility for previously compiled plugins
* Displaying the URL of the plugin if it is present
* Quotation marks replaced by square brackets and change arg name to id
* Fix getting url
* The 'atoi' function replaced to 'stoi'
* Add likely/unlikely defines for using built-in function provided by GCC
* Small fixes with auto and inconsistent var name
* Replace stoi to strtol function
* Removed explicit buffer id
* Revert "Add likely/unlikely defines for using built-in function provided by GCC"
This reverts commit 94cee479ed245b98195501466850d01a3f08fd13.
* Add url and description params to get_plugin function
* Fix newlines for TextMsg
* Fix newlines for SayText
* Adjust comments
* Replace hardcoded detination value with HUD_* constants
* Make sure only official mods can use format string
* Fix typos
* Split condition for readability
* CS only: Fix newlines in TextMsg and with print_center
* Fixes to read_args and read_argv* natives
* Fixed crash with read_argv* natives and commands sent with amxclient_cmd native
* Fixed read_args returning argv[0] instead of empty string when both amxclient_cmd's arguments were not specified
* Fix spaces
* Add new public var with current map name
* Add a constant to define max map's name length
* Reducing the maximum buffer size to store a map's name
* The PLATFORM_MAX_PATH constant replaced to MAX_MAPNAME_LENGTH
* Replace atoi by strtol in the config parser
* Move hamdata.ini data to gamedata files
* Reference the new files in master file
* Remove all the parsing code and use config manager to get the offsets
* Remove any hamdata.ini references
* Clean up menu_create() internal code
No code changes. Just modernizing code a little and tidying up things.
* Implement menu_create() "ml" param
* Include newmenu.inc to VS project files
* Adjust documentation
* Put back the quote in the log error message.
* Add a saner version of load_amxscript and use SafeStrcpy/Sprintf
* Reflect the change in core
* Add LoadAmxScriptEx API function
* Reflect the change in CSX
* Reflect the change in DodX
* Reflect the change in TFCX
* Reflect the change in TSX
* Add few comments
* Remove prebuilt nasm-generated object files from the tree, and use AMBuild to compile them.
* Add commands in VS project to build the object files
* Rename elf to elf32 for consistency
Modules are loaded before plugins, and can hook OnPluginsLoaded. Therefore, they should be unloaded AFTER plugins, and be able to hook OnPluginsUnloaded. This was not the case for reloadable modules.
This affects nvault module, whose OnPluginsUnloaded function wasn't being called.
* Add JSON module
* Merge upstream changes
Fix memory leaks
* Add json include to PackageScript
* Merge upstream changes
Fix memory leaks and increase max nesting
* Fix documentation
* Use AutoPtr in managing JSON handles
* Merge upstream changes
Order of items in an array is preserved after removing an item.
* Merge upstream
* Fix crash
* Add VS projects files and fix mixed tab/spaces
* Remove erroring on "json_free"
* Add comments to "json.inc" file
* Remove overloaded operators
* Use of "override" keyword where needed
* Fix parameter's name