sourcemod/plugins/testsuite
Ross Bemrose 10a95cfdce Add new function: GetMapDisplayName.
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
2015-09-15 16:16:58 -04:00
..
benchmark.sp Update plugins for transitional methods. 2014-12-13 13:29:15 -08:00
bug4059.sp Fixed reentrancy problems with iterators, forwards, and function removals (bug 2010-01-10 16:58:17 -08:00
callfunctest.sp Update plugins for transitional methods. 2014-12-13 13:29:15 -08:00
capstest.sp Added feature testing functionality (bug 4021, r=pred). 2009-10-28 00:37:34 -07:00
clientprefstest.sp Fixed incorrect escaping in clientprefs SQLite queries (bug 3904, r+a12=pred). 2009-08-10 22:16:58 -04:00
cstrike-test.sp Add clan tag and team score commands to cstrike test plugin. 2014-06-01 16:52:03 -05:00
entpropelements.sp Added array element selection with Get/SetEntProp* on arrays (bug 4160, r=fyren). 2011-06-05 21:52:36 -04:00
fakenative1.sp Spring Cleaning, Part Ichi (1) 2008-03-30 07:00:22 +00:00
fakenative2.sp Spring Cleaning, Part Ichi (1) 2008-03-30 07:00:22 +00:00
filetest.sp Port files.inc to transitional syntax. 2014-11-15 13:42:28 -08:00
findmap.sp Expose FindMap/ResolveFuzzyMapName to plugins. 2015-06-27 13:10:47 -04:00
floats.sp Change float comparison operators to return false for NaN (bug 6107, r=ds). 2014-04-22 19:40:45 -07:00
fwdtest1.sp Update plugins for transitional methods. 2014-12-13 13:29:15 -08:00
fwdtest2.sp Spring Cleaning, Part Ichi (1) 2008-03-30 07:00:22 +00:00
gamerules-props.sp Added ability in SDKTools to get/set prop values on gamerules class (bug 4983, r=fyren). 2011-07-06 17:37:35 -04:00
goto_test.sp Spring Cleaning, Part Ichi (1) 2008-03-30 07:00:22 +00:00
keyvalues.sp Port KeyValues to the transitional syntax. 2014-11-08 15:54:40 -08:00
mapdisplayname.sp Add new function: GetMapDisplayName. 2015-09-15 16:16:58 -04:00
outputtest.sp Changed UnHook -> Unhook for entity output natives. 2008-04-02 01:58:45 +00:00
ptstest.sp Added ProcessTargetString simple filter API (bug 4404, r=ds). 2010-05-13 12:28:51 -07:00
sorttest.sp Spring Cleaning, Part Ichi (1) 2008-03-30 07:00:22 +00:00
sqltest.sp Update plugins for transitional methods. 2014-12-13 13:29:15 -08:00
sqltest.sql Spring Cleaning, Part Ichi (1) 2008-03-30 07:00:22 +00:00
stacktest.sp Port adt_stack to transitional syntax. 2014-11-15 12:46:17 -08:00
structtest.sp Update plugins for transitional methods. 2014-12-13 13:29:15 -08:00
tf2-test.sp Added TF2_StunPlayer native and TF2_GetPlayerConditionFlags stock to TF2 ext. (bug 4331, r=pred) 2010-03-31 08:51:25 -04:00
tries.sp Update plugins for new syntax. 2014-11-30 18:57:38 -08:00