SourceMod - Source Engine Scripting and Administration
Go to file
Kit o' Rifty 34e9605519
Add IntMap methodmap (#2018)
* Add new IntHashMap and IntMap natives

This is a continuation of #579.

[HashMap] Adds new IntHashMap and IntMap natives.

This patch makes the following changes
  * Refactors StringHashMap to a generic HashMap template
  * Adds the IntHashMap class
  * Adds new IntMap natives
  * Adds IntMap tests to the tries test suite

[HashMap] Reverted rename of CharsAndLength

[HashMap] Use more descriptive template names

[HashMap] Removed old-style natives

[HashMap] Removed IntHash class

[HashMap] Reverted some search & replace errors

Co-authored-by: Geoffrey McRae <geoff@hostfission.com>

* Fix spelling mistake + include

* Fix tries test

* Update tests with clone + ContainsKey

---------

Co-authored-by: Geoffrey McRae <geoff@hostfission.com>
Co-authored-by: Nicholas Hastings <nshastings@gmail.com>
2024-10-31 23:35:41 +00:00
.github Remove macOS from SP scripting CI 2024-10-19 13:25:14 -04:00
bridge/include Implement File.Size (#2131) 2024-04-13 18:14:52 +00:00
configs fix: sorted alphabetically, remove duplicate 'ko' (#2121) 2024-03-05 01:20:40 +00:00
core Add IntMap methodmap (#2018) 2024-10-31 23:35:41 +00:00
editor Updated sourcepawn.php to latest array syntax 2023-11-30 21:58:49 -08:00
extensions Add IntMap methodmap (#2018) 2024-10-31 23:35:41 +00:00
gamedata Update engine.ep2v.txt (#2203) 2024-08-31 11:42:19 +00:00
hl2sdk-manifests@a57b3095a6 Update HL2SDK Manifests Submodule (#2150) 2024-05-05 17:14:15 +00:00
licenses Fix quote mismatch (#1092) 2019-09-30 22:43:18 -07:00
loader Add support for Military Conflict: Vietnam (#1887) 2022-12-20 21:46:18 +00:00
plugins Add IntMap methodmap (#2018) 2024-10-31 23:35:41 +00:00
public Add IntMap methodmap (#2018) 2024-10-31 23:35:41 +00:00
sourcepawn@91397a3ff3 Bump SourcePawn to latest 2024-10-28 00:51:34 -04:00
tools checkout-deps: Fix AMBuild install for fresh installs on Windows with newer Python versions 2024-07-07 11:16:01 -04:00
translations fix(i18n): Vietnamese translations (#2187) 2024-07-28 17:56:28 +00:00
versionlib Update to AMBuild 2.2. 2020-08-18 23:09:43 -07:00
.arcconfig Add a .arcconfig file so that arc works 2013-10-15 22:57:59 +01:00
.gitattributes NPOTB: Correct GitHub's Linguist inaccuracies (#1096) 2019-10-07 19:14:09 +01:00
.gitignore Convert AMBuild scripts to use hl2sdk-manifests (#2096) 2023-12-18 23:15:44 +00:00
.gitmodules Move Safetyhook mess into a mirror repo (#2163) 2024-06-08 20:05:29 +00:00
.travis.yml Prefer python3 over python(2) in checkout-deps (#1424) 2021-03-07 13:50:15 +01:00
AMBuildScript Modernize Sample Extensions's AMBuildScript (#2107) 2024-10-25 18:58:31 +02:00
appveyor.yml Add support for hl2sdk-mock. 2021-09-22 12:36:44 -07:00
changelog.txt Triggering a build. 2011-04-13 19:05:41 -05:00
configure.py Add support for ASAN. 2021-11-11 23:41:42 -08:00
product.version Bump version 2024-10-20 12:57:26 -04:00
pushbuild.txt Update pushbuild.txt (#2209) 2024-10-18 19:47:03 -04:00
README.md Bring languages into the tree (#1625) 2023-03-29 16:23:05 +02:00

SourceMod

General

Development

Contact

  • Connect with us on GameSurge IRC in #sourcemod
  • Alternatively feel free to join our Discord server

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.