sourcemod/plugins
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
..
admin-flatfile Purge Purge. 2015-03-05 10:56:36 -08:00
adminmenu Convert adminmenu to use newdecls and new classes/methodmaps. 2015-01-27 18:13:10 -08:00
basebans Fix inconsistencies with buffer sizes for player names. 2015-06-03 22:40:43 -04:00
basecomm Update plugins for transitional methods. 2014-12-13 13:29:15 -08:00
basecommands Update plugins for transitional methods. 2014-12-13 13:29:15 -08:00
basevotes Add new function: GetMapDisplayName. 2015-09-15 16:16:58 -04:00
funcommands Fix inconsistencies with buffer sizes for player names. 2015-06-03 22:40:43 -04:00
funvotes Update plugins for transitional methods. 2014-12-13 13:29:15 -08:00
include Add new function: GetMapDisplayName. 2015-09-15 16:16:58 -04:00
playercommands Fix inconsistencies with buffer sizes for player names. 2015-06-03 22:40:43 -04:00
testsuite Add new function: GetMapDisplayName. 2015-09-15 16:16:58 -04:00
admin-sql-prefetch.sp Convert admin SQL plugins to use AdminId/GroupId methodmaps, newdecls. 2015-02-17 09:13:40 -08:00
admin-sql-threaded.sp Fix inconsistencies with buffer sizes for player names. 2015-06-03 22:40:43 -04:00
adminhelp.sp Convert adminhelp to newdecls. 2015-02-17 08:24:11 -08:00
adminmenu.sp Convert adminmenu to use newdecls and new classes/methodmaps. 2015-01-27 18:13:10 -08:00
AMBuilder Treat sp warnings as errors when building 2014-09-05 08:26:23 -07:00
antiflood.sp Port antiflood. 2014-11-09 16:30:41 -08:00
basebans.sp Revert adminmenu API changes. 2014-12-12 10:10:46 -08:00
basechat.sp Update plugins for transitional methods. 2014-12-13 13:29:15 -08:00
basecomm.sp Port events to transitional syntax. 2014-12-13 12:51:16 -08:00
basecommands.sp Update plugins for transitional methods. 2014-12-13 13:29:15 -08:00
basetriggers.sp Add new function: GetMapDisplayName. 2015-09-15 16:16:58 -04:00
basevotes.sp Add new function: GetMapDisplayName. 2015-09-15 16:16:58 -04:00
clientprefs.sp Update plugins for transitional methods. 2014-12-13 13:29:15 -08:00
compile.sh Added spacing to compile.sh 2014-06-14 08:32:24 -04:00
funcommands.sp Update plugins for transitional methods. 2014-12-13 13:29:15 -08:00
funvotes.sp Fix inconsistencies with buffer sizes for player names. 2015-06-03 22:40:43 -04:00
mapchooser.sp Add new function: GetMapDisplayName. 2015-09-15 16:16:58 -04:00
nextmap.sp Add new function: GetMapDisplayName. 2015-09-15 16:16:58 -04:00
nominations.sp Add new function: GetMapDisplayName. 2015-09-15 16:16:58 -04:00
playercommands.sp Change sm_rename to use new SetClientName native. 2015-03-22 12:15:30 -07:00
randomcycle.sp Add new function: GetMapDisplayName. 2015-09-15 16:16:58 -04:00
reservedslots.sp Port reservedslots. 2014-11-09 16:10:13 -08:00
rockthevote.sp Add new function: GetMapDisplayName. 2015-09-15 16:16:58 -04:00
sounds.sp Show errors for methods that are unused. (bug 6183) 2014-07-12 10:28:29 -07:00
sql-admin-manager.sp Update SQL plugins for transitional syntax. 2014-12-14 18:37:32 -08:00