sourcemod/plugins/include
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.inc Fix spacing. 2015-03-05 10:56:54 -08:00
adminmenu.inc Add explicit return types to forwards missing them. 2015-03-06 10:18:09 -08:00
adt_array.inc Merge pull request #213 from splewis/find-array-nonzero-blocks 2015-02-24 22:37:49 +00:00
adt_stack.inc Port adt_stack to transitional syntax. 2014-11-15 12:46:17 -08:00
adt_trie.inc Port string maps to transitional syntax. 2014-11-08 17:43:28 -08:00
adt.inc added amb1538 - adt_stack 2008-04-13 06:06:27 +00:00
banning.inc Fixed typo in banning.inc 2008-06-09 22:17:09 +00:00
basecomm.inc Add explicit return types to forwards missing them. 2015-03-06 10:18:09 -08:00
bitbuffer.inc Port BitBuffers to transitional syntax. 2014-11-09 16:56:50 -08:00
clientprefs.inc Add explicit return types to forwards missing them. 2015-03-06 10:18:09 -08:00
clients.inc Clarify doc regarding KV handle. 2015-07-12 19:21:28 -04:00
commandfilters.inc Introduce a typedef keyword. 2014-08-03 21:51:34 -07:00
commandline.inc Whoops, forgot my hat. 2014-10-09 18:19:40 -05:00
console.inc Add support for listening to, blocking, changing, and faking ClientCommandKeyValues. 2015-07-12 13:14:46 -04:00
convars.inc Add define included 2015-08-19 20:27:33 +02:00
core.inc Port BitBuffers to transitional syntax. 2014-11-09 16:56:50 -08:00
cstrike.inc Fix not being able to block CS_OnCSWeaponDrop and clarify include file. 2015-03-27 19:54:42 -04:00
datapack.inc Update regex and datapack includes to not use binding syntax. 2015-08-12 11:52:57 -07:00
dbi.inc Fix tag mismatch warning when using SQLite_UseDatabase. (bug 6310) 2015-02-15 21:53:31 -06:00
entity_prop_stocks.inc Added GetEntityRenderColor 2015-04-04 01:38:30 +02:00
entity.inc Add support for setting string_t values with SetEntPropString. 2015-07-02 14:47:31 -04:00
events.inc Port events to transitional syntax. 2014-12-13 12:51:16 -08:00
files.inc Fix warning in files.inc 2014-12-02 03:35:56 +01:00
float.inc Introduce a typedef keyword. 2014-08-03 21:51:34 -07:00
functions.inc Update functions.inc 2015-03-05 21:03:46 +01:00
geoip.inc Numerous code documentation fixups (bug 5720, r=psychonic). 2013-08-01 09:26:34 -04:00
halflife.inc Add new function: GetMapDisplayName. 2015-09-15 16:16:58 -04:00
handles.inc Update SourcePawn and AMTL. 2015-08-13 22:08:47 -07:00
helpers.inc Fix inconsistencies with buffer sizes for player names. 2015-06-03 22:40:43 -04:00
keyvalues.inc Port KeyValues to the transitional syntax. 2014-11-08 15:54:40 -08:00
lang.inc Remove inaccurate note on GetClientLanguage function doc. 2014-08-05 10:40:14 -04:00
logging.inc Introduce a typedef keyword. 2014-08-03 21:51:34 -07:00
mapchooser.inc Fixes to make mapchooser.inc transitional compliant. Also updated comments in mapchooser.sp to match the new mapchooser.inc signature. 2014-12-26 12:36:12 -05:00
menus.inc Merge pull request #229 from powerlord/menuactions_all_warning_fix 2015-04-01 19:39:52 -07:00
nextmap.inc Updated nextmap.inc. Also fixed copyright years and added missing copyright header to mapchooser.inc (all .inc files use the same copyright header, so...) 2014-12-17 11:53:02 -05:00
profiler.inc Add a general profiling abstraction layer. 2014-06-24 01:04:13 -07:00
protobuf.inc Add transitional syntax support for Protobuf natives. 2014-11-09 14:19:16 -08:00
regex.inc Update regex and datapack includes to not use binding syntax. 2015-08-12 11:52:57 -07:00
sdkhooks.inc Convert remainder of sdkhooks.inc to newdecls. 2015-01-27 18:06:14 -08:00
sdktools_client.inc Added InactivateClient and ReconnectClient natives to SDKTools (bug 4931, r=fyren). 2011-07-06 18:11:02 -04:00
sdktools_engine.inc Spring Cleaning, Part Ichi (1) 2008-03-30 07:00:22 +00:00
sdktools_entinput.inc Numerous code documentation fixups (bug 5720, r=psychonic). 2013-08-01 09:26:34 -04:00
sdktools_entoutput.inc Introduce a typedef keyword. 2014-08-03 21:51:34 -07:00
sdktools_functions.inc Merge pull request #301 from alliedmodders/get-team-entity 2015-04-01 22:30:18 -04:00
sdktools_gamerules.inc Numerous code documentation fixups (bug 5720, r=psychonic). 2013-08-01 09:26:34 -04:00
sdktools_hooks.inc Added more parameters to PlayerRunCommand forward (bug 5346, r=asherkin). 2012-08-21 00:42:46 -04:00
sdktools_sound.inc Adding EmitSoundEntry() for engines >= portal 2 2015-01-21 10:33:29 -08:00
sdktools_stocks.inc Fixed FindTeamByName using wrong case sensitivity (bug 3446, r=pred). 2008-11-29 23:28:28 -06:00
sdktools_stringtables.inc Numerous code documentation fixups (bug 5720, r=psychonic). 2013-08-01 09:26:34 -04:00
sdktools_tempents_stocks.inc Numerous code documentation fixups (bug 5720, r=psychonic). 2013-08-01 09:26:34 -04:00
sdktools_tempents.inc Add TE_SendToAllInRange 2015-03-03 17:22:01 +01:00
sdktools_trace.inc Rename "union" semantics to "typeset". 2014-12-09 22:36:42 -08:00
sdktools_voice.inc Numerous code documentation fixups (bug 5720, r=psychonic). 2013-08-01 09:26:34 -04:00
sdktools.inc Add PrepSDKCall_SetAddress and Address support to PrepSDKCall_SetFromConf (bug 5261, r=asherkin). 2014-05-07 12:58:16 -04:00
sorting.inc Rename "union" semantics to "typeset". 2014-12-09 22:36:42 -08:00
sourcemod.inc Remove Address_MinimumValid entry from sp incs 2015-05-12 06:35:48 -04:00
string.inc Fix some syntax errors in include files. 2014-11-09 02:03:09 -08:00
testing.inc Add a new testing API for the testsuite. 2014-06-05 01:00:17 -07:00
textparse.inc Port SMC parsing API to transitional syntax. 2014-11-09 12:33:07 -08:00
tf2_stocks.inc 🎨 Change to TF2_ChangeClientTeam 2015-02-22 20:20:45 -05:00
tf2.inc Add explicit return types to forwards missing them. 2015-03-06 10:18:09 -08:00
timers.inc Updated KillTimer documentation.. 2015-03-05 17:15:54 +01:00
topmenus.inc Convert remainder of topmenus.inc to newdecls. 2015-01-27 18:03:59 -08:00
usermessages.inc Use BfRead or Protobuf tags in umsg hook callbacks, rather than a generic Handle. 2015-01-15 13:40:21 -06:00
vector.inc Spring Cleaning, Part Ichi (1) 2008-03-30 07:00:22 +00:00
version.inc Bump version to 1.8.0-dev. 2014-12-18 04:55:58 -08:00
version.tpl Mirrored buildbot/version template changes from branch. 2008-09-14 06:13:25 +00:00