* 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>
This function will resolve the name of a map using FindMap, then (if applicable), will turn a workshop map name into a nicely formatted name.
Currently only TF2 and CS:GO Map Workshops are supported. More can be added at a later date.
This function returns false if a map was not found, but true in any other instance even if FindMap could not resolve the map name.
This patch also updates the following core plugins to use this GetMapDisplayName:
BaseTriggers
BaseVotes
MapChooser
NextMap
Nominations
RandomCycle
RockTheVote
commit 1e5213d43f
Author: David Anderson <dvander@alliedmods.net>
Date: Sat Jun 21 04:09:27 2014 -0700
Quell MSVC C99 bugs.
commit f2e166c592
Author: David Anderson <dvander@alliedmods.net>
Date: Sat Jun 21 03:59:23 2014 -0700
Fix varying levels of stupid memory errors.
commit b0773d7be4
Author: David Anderson <dvander@alliedmods.net>
Date: Sat Jun 21 03:36:39 2014 -0700
Fix memory leak in parsing some control flow structures.
commit 5aca55713c
Author: David Anderson <dvander@alliedmods.net>
Date: Sat Jun 21 03:35:17 2014 -0700
Fix memory leak in struct parsing.
commit b46ec5cd28
Author: David Anderson <dvander@alliedmods.net>
Date: Sat Jun 21 03:32:03 2014 -0700
Fix build.
commit 17bbbb9a46
Merge: c0834092107599
Author: David Anderson <dvander@alliedmods.net>
Date: Sat Jun 21 01:26:27 2014 -0700
Merge branch 'master' into methodmaps
commit c083409b56
Author: David Anderson <dvander@alliedmods.net>
Date: Fri Jun 20 23:49:36 2014 -0700
Add VS2k13 support.
commit b799377849
Author: David Anderson <dvander@alliedmods.net>
Date: Fri Jun 20 01:28:08 2014 -0700
Implement destructors.
commit 1a340dec26
Author: David Anderson <dvander@alliedmods.net>
Date: Fri Jun 20 00:08:04 2014 -0700
Add some tests.
commit 12db52ee64
Author: David Anderson <dvander@alliedmods.net>
Date: Fri Jun 20 00:05:49 2014 -0700
Initial implementation of constructors.
commit 074669a658
Author: David Anderson <dvander@alliedmods.net>
Date: Thu Jun 19 22:42:35 2014 -0700
Add simple test harness.
commit 27c1e3cf14
Author: David Anderson <dvander@alliedmods.net>
Date: Thu Jun 19 22:15:42 2014 -0700
Big refactoring for new syntax.
commit f3c37fdc91
Author: David Anderson <dvander@alliedmods.net>
Date: Thu Jun 19 22:12:54 2014 -0700
Refactor tests for the new syntax.
commit 6211f392f8
Author: David Anderson <dvander@alliedmods.net>
Date: Wed Jun 18 22:25:48 2014 -0700
Make lexer tokens an enum.
commit 5210b01375
Author: David Anderson <dvander@alliedmods.net>
Date: Tue Jun 17 06:48:15 2014 -0700
Add comment.
commit 06688ff4ac
Author: David Anderson <dvander@alliedmods.net>
Date: Tue Jun 17 06:46:10 2014 -0700
Allow |this| to be a base type of the methodmap.
commit 05cf368202
Author: David Anderson <dvander@alliedmods.net>
Date: Mon Jun 16 22:11:58 2014 -0700
Unify duplicate typesymbol checking.
commit 09161bf269
Author: David Anderson <dvander@alliedmods.net>
Date: Mon Jun 16 19:53:36 2014 -0700
Close loophole that allowed methodmaps for enums.
commit 5bb4aeba89
Author: David Anderson <dvander@alliedmods.net>
Date: Mon Jun 16 01:50:42 2014 -0700
Add tests and dbi/handle changes.
commit b9203e2491
Author: David Anderson <dvander@alliedmods.net>
Date: Mon Jun 16 01:38:29 2014 -0700
Ensure methodmap tags are fixed.
commit 878b80fd87
Author: David Anderson <dvander@alliedmods.net>
Date: Mon Jun 16 01:36:04 2014 -0700
Implement inheritance.
commit 6ba9e004fb
Author: David Anderson <dvander@alliedmods.net>
Date: Mon Jun 16 01:31:00 2014 -0700
Refactor matchtag() to not be insane.
commit 4ede6343b0
Author: David Anderson <dvander@alliedmods.net>
Date: Mon Jun 16 01:20:50 2014 -0700
Fix indenting.
commit e3ddef8916
Author: David Anderson <dvander@alliedmods.net>
Date: Mon Jun 16 01:20:27 2014 -0700
Initial prototype.
Fully implemented amb734 - Including console interface and menu for clients to use.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402140