From 336102c2f3b516d939a99f91007594363481b690 Mon Sep 17 00:00:00 2001 From: withgod Date: Fri, 15 Sep 2017 15:40:19 +0900 Subject: [PATCH] * close #3 * update sourcemod 1.8 --- bin/vim.pl | 2 +- syntax/sourcepawn.vim | 355 ++++++++++-------------------------------- 2 files changed, 86 insertions(+), 271 deletions(-) diff --git a/bin/vim.pl b/bin/vim.pl index 4ef0faa..59bf676 100755 --- a/bin/vim.pl +++ b/bin/vim.pl @@ -33,7 +33,7 @@ endif " A bunch of useful C keywords -syn keyword cStatement goto break return continue assert state sleep exit +syn keyword cStatement goto break return continue assert state sleep exit public normal syn keyword cLabel case default syn keyword cConditional if else switch syn keyword cRepeat while for do diff --git a/syntax/sourcepawn.vim b/syntax/sourcepawn.vim index 1f7949e..078f673 100644 --- a/syntax/sourcepawn.vim +++ b/syntax/sourcepawn.vim @@ -2,7 +2,7 @@ " Language: SourcePawn " URL: https://github.com/withgod/vim-sourcepawn " Generated by vim.pl -" Generated at 2015-02-21 14:26:15 -0500 +" Generated at 2017-09-15 15:39:36 +0900 " Sourcemod Version 1.8.0-manual " Quit when a (custom) syntax file was already loaded @@ -11,7 +11,7 @@ if exists("b:current_syntax") endif " A bunch of useful C keywords -syn keyword cStatement goto break return continue assert state sleep exit +syn keyword cStatement goto break return continue assert state sleep exit public normal syn keyword cLabel case default syn keyword cConditional if else switch syn keyword cRepeat while for do @@ -178,18 +178,6 @@ syn keyword cConstant cellbits cellmax cellmin charbits charmax charmin ucharm syn keyword cConstant true false " admin.inc -syn keyword cFunction DumpAdminCache AddCommandOverride GetCommandOverride UnsetCommandOverride -syn keyword cFunction CreateAdmGroup FindAdmGroup SetAdmGroupAddFlag GetAdmGroupAddFlag -syn keyword cFunction GetAdmGroupAddFlags SetAdmGroupImmunity GetAdmGroupImmunity SetAdmGroupImmuneFrom -syn keyword cFunction GetAdmGroupImmuneCount GetAdmGroupImmuneFrom AddAdmGroupCmdOverride GetAdmGroupCmdOverride -syn keyword cFunction RegisterAuthIdentType CreateAdmin GetAdminUsername BindAdminIdentity -syn keyword cFunction SetAdminFlag GetAdminFlag GetAdminFlags AdminInheritGroup -syn keyword cFunction GetAdminGroupCount GetAdminGroup SetAdminPassword GetAdminPassword -syn keyword cFunction FindAdminByIdentity RemoveAdmin FlagBitsToBitArray FlagBitArrayToBits -syn keyword cFunction FlagArrayToBits FlagBitsToArray FindFlagByName FindFlagByChar -syn keyword cFunction FindFlagChar ReadFlagString CanAdminTarget CreateAuthMethod -syn keyword cFunction SetAdmGroupImmunityLevel GetAdmGroupImmunityLevel SetAdminImmunityLevel GetAdminImmunityLevel -syn keyword cFunction FlagToBit BitToFlag syn keyword cConstant Admin_Reservation Admin_Generic Admin_Kick Admin_Ban syn keyword cConstant Admin_Unban Admin_Slay Admin_Changemap Admin_Convars syn keyword cConstant Admin_Config Admin_Chat Admin_Vote Admin_Password @@ -204,20 +192,23 @@ syn keyword cConstant ADMFLAG_CUSTOM4 ADMFLAG_CUSTOM5 ADMFLAG_CUSTOM6 AUTHMETHOD syn keyword cConstant AUTHMETHOD_IP AUTHMETHOD_NAME Override_Command Override_CommandGroup syn keyword cConstant Command_Deny Command_Allow Immunity_Default Immunity_Global syn keyword cConstant INVALID_GROUP_ID INVALID_ADMIN_ID Access_Real Access_Effective -syn keyword cConstant AdminCache_Overrides AdminCache_Groups AdminCache_Admins +syn keyword cConstant AdminCache_Overrides AdminCache_Groups AdminCache_Admins native +syn keyword cConstant native native native native +syn keyword cConstant native native native native +syn keyword cConstant native native native native +syn keyword cConstant native native native native +syn keyword cConstant native native native native +syn keyword cConstant native native syn keyword cTag AdminFlag OverrideType OverrideRule ImmunityType syn keyword cTag GroupId AdminId AdmAccessMode AdminCachePart -syn keyword cForward OnRebuildAdminCache " adminmenu.inc -syn keyword cFunction AddTargetsToMenu AddTargetsToMenu2 RedisplayAdminMenu -syn keyword cConstant ADMINMENU_PLAYERCOMMANDS ADMINMENU_SERVERCOMMANDS ADMINMENU_VOTINGCOMMANDS -syn keyword cForward OnAdminMenuCreated OnAdminMenuReady +syn keyword cConstant ADMINMENU_PLAYERCOMMANDS ADMINMENU_SERVERCOMMANDS ADMINMENU_VOTINGCOMMANDS SharedPlugin +syn keyword cConstant void " adt.inc " adt_array.inc -syn keyword cFunction ByteCountToCells syn keyword cConstant native native native native syn keyword cConstant native native native native syn keyword cConstant native native native native @@ -229,21 +220,16 @@ syn keyword cConstant native native native native syn keyword cConstant native native native native " adt_trie.inc -syn keyword cFunction CreateTrie RemoveFromTrie ClearTrie GetTrieSize -syn keyword cFunction TrieSnapshotLength TrieSnapshotKeyBufferSize GetTrieSnapshotKey syn keyword cConstant native native native native syn keyword cConstant native native native native syn keyword cConstant native native native native syn keyword cConstant native native " banning.inc -syn keyword cFunction BanClient BanIdentity RemoveBan syn keyword cConstant BANFLAG_AUTO BANFLAG_IP BANFLAG_AUTHID BANFLAG_NOKICK -syn keyword cForward OnBanClient OnBanIdentity OnRemoveBan " basecomm.inc -syn keyword cFunction BaseComm_IsClientGagged BaseComm_IsClientMuted BaseComm_SetClientGag BaseComm_SetClientMute -syn keyword cForward BaseComm_OnClientMute BaseComm_OnClientGag +syn keyword cConstant SharedPlugin void " bitbuffer.inc syn keyword cConstant native native native native @@ -256,70 +242,37 @@ syn keyword cConstant native native native native syn keyword cConstant native " clientprefs.inc -syn keyword cFunction RegClientCookie FindClientCookie SetClientCookie GetClientCookie -syn keyword cFunction SetAuthIdCookie AreClientCookiesCached SetCookiePrefabMenu SetCookieMenuItem -syn keyword cFunction ShowCookieMenu GetCookieIterator ReadCookieIterator GetCookieAccess -syn keyword cFunction GetClientCookieTime syn keyword cConstant CookieAccess_Public CookieAccess_Protected CookieAccess_Private CookieMenu_YesNo syn keyword cConstant CookieMenu_YesNo_Int CookieMenu_OnOff CookieMenu_OnOff_Int CookieMenuAction_DisplayOption -syn keyword cConstant CookieMenuAction_SelectOption +syn keyword cConstant CookieMenuAction_SelectOption Extension void syn keyword cTag CookieAccess CookieMenu CookieMenuAction -syn keyword cForward OnClientCookiesCached " clients.inc -syn keyword cFunction GetMaxClients GetMaxHumanPlayers GetClientCount GetClientName -syn keyword cFunction GetClientIP GetClientAuthString GetClientAuthId GetSteamAccountID -syn keyword cFunction GetClientUserId IsClientConnected IsClientInGame IsClientInKickQueue -syn keyword cFunction IsPlayerInGame IsClientAuthorized IsFakeClient IsClientSourceTV -syn keyword cFunction IsClientReplay IsClientObserver IsPlayerAlive GetClientInfo -syn keyword cFunction GetClientTeam SetUserAdmin GetUserAdmin AddUserFlags -syn keyword cFunction RemoveUserFlags SetUserFlagBits GetUserFlagBits CanUserTarget -syn keyword cFunction RunAdminCacheChecks NotifyPostAdminCheck CreateFakeClient SetFakeClientConVar -syn keyword cFunction GetClientHealth GetClientModel GetClientWeapon GetClientMaxs -syn keyword cFunction GetClientMins GetClientAbsAngles GetClientAbsOrigin GetClientArmor -syn keyword cFunction GetClientDeaths GetClientFrags GetClientDataRate IsClientTimingOut -syn keyword cFunction GetClientTime GetClientLatency GetClientAvgLatency GetClientAvgLoss -syn keyword cFunction GetClientAvgChoke GetClientAvgData GetClientAvgPackets GetClientOfUserId -syn keyword cFunction KickClient KickClientEx ChangeClientTeam GetClientSerial -syn keyword cFunction GetClientFromSerial syn keyword cConstant NetFlow_Outgoing NetFlow_Incoming NetFlow_Both AuthId_Engine syn keyword cConstant AuthId_Steam2 AuthId_Steam3 AuthId_SteamID64 MAXPLAYERS -syn keyword cConstant MAX_NAME_LENGTH MaxClients +syn keyword cConstant MAX_NAME_LENGTH int syn keyword cTag NetFlow AuthIdType -syn keyword cForward OnClientConnect OnClientCommand OnClientPreAdminCheck " commandfilters.inc -syn keyword cFunction ProcessTargetString ReplyToTargetError AddMultiTargetFilter RemoveMultiTargetFilter syn keyword cConstant MAX_TARGET_LENGTH COMMAND_FILTER_ALIVE COMMAND_FILTER_DEAD COMMAND_FILTER_CONNECTED syn keyword cConstant COMMAND_FILTER_NO_IMMUNITY COMMAND_FILTER_NO_MULTI COMMAND_FILTER_NO_BOTS COMMAND_TARGET_NONE syn keyword cConstant COMMAND_TARGET_NOT_ALIVE COMMAND_TARGET_NOT_DEAD COMMAND_TARGET_NOT_IN_GAME COMMAND_TARGET_IMMUNE syn keyword cConstant COMMAND_TARGET_EMPTY_FILTER COMMAND_TARGET_NOT_HUMAN COMMAND_TARGET_AMBIGUOUS " commandline.inc -syn keyword cFunction GetCommandLine GetCommandLineParam GetCommandLineParamInt GetCommandLineParamFloat -syn keyword cFunction FindCommandLineParam " console.inc -syn keyword cFunction ServerCommand ServerCommandEx InsertServerCommand ServerExecute -syn keyword cFunction ClientCommand FakeClientCommand FakeClientCommandEx PrintToServer -syn keyword cFunction PrintToConsole ReplyToCommand GetCmdReplySource SetCmdReplySource -syn keyword cFunction IsChatTrigger ShowActivity2 ShowActivity ShowActivityEx -syn keyword cFunction FormatActivitySource RegServerCmd RegConsoleCmd RegAdminCmd -syn keyword cFunction GetCmdArgs GetCmdArg GetCmdArgString GetCommandIterator -syn keyword cFunction ReadCommandIterator CheckCommandAccess CheckAccess GetCommandFlags -syn keyword cFunction SetCommandFlags FindFirstConCommand FindNextConCommand AddServerTag -syn keyword cFunction RemoveServerTag AddCommandListener RemoveCommandListener CommandExists syn keyword cConstant INVALID_FCVAR_FLAGS QUERYCOOKIE_FAILED SM_REPLY_TO_CONSOLE SM_REPLY_TO_CHAT -syn keyword cConstant FCVAR_NONE FCVAR_UNREGISTERED FCVAR_LAUNCHER FCVAR_GAMEDLL -syn keyword cConstant FCVAR_CLIENTDLL FCVAR_MATERIAL_SYSTEM FCVAR_PROTECTED FCVAR_SPONLY -syn keyword cConstant FCVAR_ARCHIVE FCVAR_NOTIFY FCVAR_USERINFO FCVAR_PRINTABLEONLY -syn keyword cConstant FCVAR_UNLOGGED FCVAR_NEVER_AS_STRING FCVAR_REPLICATED FCVAR_CHEAT -syn keyword cConstant FCVAR_STUDIORENDER FCVAR_DEMO FCVAR_DONTRECORD FCVAR_PLUGIN -syn keyword cConstant FCVAR_DATACACHE FCVAR_TOOLSYSTEM FCVAR_FILESYSTEM FCVAR_NOT_CONNECTED -syn keyword cConstant FCVAR_SOUNDSYSTEM FCVAR_ARCHIVE_XBOX FCVAR_INPUTSYSTEM FCVAR_NETWORKSYSTEM -syn keyword cConstant FCVAR_VPHYSICS FEATURECAP_COMMANDLISTENER +syn keyword cConstant FCVAR_PLUGIN FCVAR_LAUNCHER FCVAR_NONE FCVAR_UNREGISTERED +syn keyword cConstant FCVAR_DEVELOPMENTONLY FCVAR_GAMEDLL FCVAR_CLIENTDLL FCVAR_MATERIAL_SYSTEM +syn keyword cConstant FCVAR_HIDDEN FCVAR_PROTECTED FCVAR_SPONLY FCVAR_ARCHIVE +syn keyword cConstant FCVAR_NOTIFY FCVAR_USERINFO FCVAR_PRINTABLEONLY FCVAR_UNLOGGED +syn keyword cConstant FCVAR_NEVER_AS_STRING FCVAR_REPLICATED FCVAR_CHEAT FCVAR_SS +syn keyword cConstant FCVAR_DEMO FCVAR_DONTRECORD FCVAR_SS_ADDED FCVAR_RELEASE +syn keyword cConstant FCVAR_RELOAD_MATERIALS FCVAR_RELOAD_TEXTURES FCVAR_NOT_CONNECTED FCVAR_MATERIAL_SYSTEM_THREAD +syn keyword cConstant FCVAR_ARCHIVE_XBOX FCVAR_ARCHIVE_GAMECONSOLE FCVAR_ACCESSIBLE_FROM_THREADS FCVAR_SERVER_CAN_EXECUTE +syn keyword cConstant FCVAR_SERVER_CANNOT_QUERY FCVAR_CLIENTCMD_CAN_EXECUTE FEATURECAP_COMMANDLISTENER syn keyword cTag QueryCookie ReplySource -syn keyword cForward OnClientSayCommand " convars.inc syn keyword cConstant ConVarBound_Upper ConVarBound_Lower ConVarQuery_Okay ConVarQuery_NotFound @@ -332,25 +285,20 @@ syn keyword cConstant native native native syn keyword cTag ConVarBounds ConVarQueryResult " core.inc -syn keyword cFunction VerifyCoreVersion MarkNativeAsOptional syn keyword cConstant SOURCEMOD_PLUGINAPI_VERSION int char char syn keyword cConstant char Plugin_Continue Plugin_Changed Plugin_Handled syn keyword cConstant Plugin_Stop Identity_Core Identity_Extension Identity_Plugin -syn keyword cConstant Plugin_Running Plugin_Paused Plugin_Error Plugin_Loaded -syn keyword cConstant Plugin_Failed Plugin_Created Plugin_Uncompiled Plugin_BadLoad -syn keyword cConstant PlInfo_Name PlInfo_Author PlInfo_Description PlInfo_Version -syn keyword cConstant PlInfo_URL char char bool -syn keyword cConstant bool char char bool -syn keyword cConstant NULL_VECTOR NULL_STRING +syn keyword cConstant PlVers Plugin_Running Plugin_Paused Plugin_Error +syn keyword cConstant Plugin_Loaded Plugin_Failed Plugin_Created Plugin_Uncompiled +syn keyword cConstant Plugin_BadLoad Plugin_Evicted PlInfo_Name PlInfo_Author +syn keyword cConstant PlInfo_Description PlInfo_Version PlInfo_URL char +syn keyword cConstant char bool bool char +syn keyword cConstant char bool float char +syn keyword cConstant Extension void syn keyword cTag PlVers Action Identity PluginStatus syn keyword cTag PluginInfo Extension SharedPlugin " cstrike.inc -syn keyword cFunction CS_RespawnPlayer CS_SwitchTeam CS_DropWeapon CS_TerminateRound -syn keyword cFunction CS_GetTranslatedWeaponAlias CS_GetWeaponPrice CS_GetClientClanTag CS_SetClientClanTag -syn keyword cFunction CS_GetTeamScore CS_SetTeamScore CS_GetMVPCount CS_SetMVPCount -syn keyword cFunction CS_GetClientContributionScore CS_SetClientContributionScore CS_GetClientAssists CS_SetClientAssists -syn keyword cFunction CS_AliasToWeaponID CS_WeaponIDToAlias CS_IsValidWeaponID CS_UpdateClientModel syn keyword cConstant CS_TEAM_NONE CS_TEAM_SPECTATOR CS_TEAM_T CS_TEAM_CT syn keyword cConstant CS_SLOT_PRIMARY CS_SLOT_SECONDARY CS_SLOT_KNIFE CS_SLOT_GRENADE syn keyword cConstant CS_SLOT_C4 CS_DMG_HEADSHOT CSRoundEnd_TargetBombed CSRoundEnd_VIPEscaped @@ -358,31 +306,31 @@ syn keyword cConstant CSRoundEnd_VIPKilled CSRoundEnd_TerroristsEscaped CSRoundE syn keyword cConstant CSRoundEnd_BombDefused CSRoundEnd_CTWin CSRoundEnd_TerroristWin CSRoundEnd_Draw syn keyword cConstant CSRoundEnd_HostagesRescued CSRoundEnd_TargetSaved CSRoundEnd_HostagesNotRescued CSRoundEnd_TerroristsNotEscaped syn keyword cConstant CSRoundEnd_VIPNotEscaped CSRoundEnd_GameStart CSRoundEnd_TerroristsSurrender CSRoundEnd_CTSurrender -syn keyword cConstant CSWeapon_NONE CSWeapon_P228 CSWeapon_GLOCK CSWeapon_SCOUT -syn keyword cConstant CSWeapon_HEGRENADE CSWeapon_XM1014 CSWeapon_C4 CSWeapon_MAC10 -syn keyword cConstant CSWeapon_AUG CSWeapon_SMOKEGRENADE CSWeapon_ELITE CSWeapon_FIVESEVEN -syn keyword cConstant CSWeapon_UMP45 CSWeapon_SG550 CSWeapon_GALIL CSWeapon_FAMAS -syn keyword cConstant CSWeapon_USP CSWeapon_AWP CSWeapon_MP5NAVY CSWeapon_M249 -syn keyword cConstant CSWeapon_M3 CSWeapon_M4A1 CSWeapon_TMP CSWeapon_G3SG1 -syn keyword cConstant CSWeapon_FLASHBANG CSWeapon_DEAGLE CSWeapon_SG552 CSWeapon_AK47 -syn keyword cConstant CSWeapon_KNIFE CSWeapon_P90 CSWeapon_SHIELD CSWeapon_KEVLAR -syn keyword cConstant CSWeapon_ASSAULTSUIT CSWeapon_NIGHTVISION CSWeapon_GALILAR CSWeapon_BIZON -syn keyword cConstant CSWeapon_MAG7 CSWeapon_NEGEV CSWeapon_SAWEDOFF CSWeapon_TEC9 -syn keyword cConstant CSWeapon_TASER CSWeapon_HKP2000 CSWeapon_MP7 CSWeapon_MP9 -syn keyword cConstant CSWeapon_NOVA CSWeapon_P250 CSWeapon_SCAR17 CSWeapon_SCAR20 -syn keyword cConstant CSWeapon_SG556 CSWeapon_SSG08 CSWeapon_KNIFE_GG CSWeapon_MOLOTOV -syn keyword cConstant CSWeapon_DECOY CSWeapon_INCGRENADE CSWeapon_DEFUSER +syn keyword cConstant CSRoundEnd_TerroristsPlanted CSRoundEnd_CTsReachedHostage CSWeapon_NONE CSWeapon_P228 +syn keyword cConstant CSWeapon_GLOCK CSWeapon_SCOUT CSWeapon_HEGRENADE CSWeapon_XM1014 +syn keyword cConstant CSWeapon_C4 CSWeapon_MAC10 CSWeapon_AUG CSWeapon_SMOKEGRENADE +syn keyword cConstant CSWeapon_ELITE CSWeapon_FIVESEVEN CSWeapon_UMP45 CSWeapon_SG550 +syn keyword cConstant CSWeapon_GALIL CSWeapon_FAMAS CSWeapon_USP CSWeapon_AWP +syn keyword cConstant CSWeapon_MP5NAVY CSWeapon_M249 CSWeapon_M3 CSWeapon_M4A1 +syn keyword cConstant CSWeapon_TMP CSWeapon_G3SG1 CSWeapon_FLASHBANG CSWeapon_DEAGLE +syn keyword cConstant CSWeapon_SG552 CSWeapon_AK47 CSWeapon_KNIFE CSWeapon_P90 +syn keyword cConstant CSWeapon_SHIELD CSWeapon_KEVLAR CSWeapon_ASSAULTSUIT CSWeapon_NIGHTVISION +syn keyword cConstant CSWeapon_GALILAR CSWeapon_BIZON CSWeapon_MAG7 CSWeapon_NEGEV +syn keyword cConstant CSWeapon_SAWEDOFF CSWeapon_TEC9 CSWeapon_TASER CSWeapon_HKP2000 +syn keyword cConstant CSWeapon_MP7 CSWeapon_MP9 CSWeapon_NOVA CSWeapon_P250 +syn keyword cConstant CSWeapon_SCAR17 CSWeapon_SCAR20 CSWeapon_SG556 CSWeapon_SSG08 +syn keyword cConstant CSWeapon_KNIFE_GG CSWeapon_MOLOTOV CSWeapon_DECOY CSWeapon_INCGRENADE +syn keyword cConstant CSWeapon_DEFUSER Extension void syn keyword cTag CSRoundEndReason CSWeaponID -syn keyword cForward CS_OnBuyCommand CS_OnCSWeaponDrop CS_OnGetWeaponPrice CS_OnTerminateRound " datapack.inc -syn keyword cConstant DataPack WriteCell WriteFloat WriteString -syn keyword cConstant WriteFunction ReadCell ReadFloat ReadString -syn keyword cConstant ReadFunction Reset IsReadable get -syn keyword cConstant set +syn keyword cConstant methodmap public public public +syn keyword cConstant public public public public +syn keyword cConstant public public public public +syn keyword cConstant property +syn keyword cTag DataPackPos " dbi.inc -syn keyword cFunction SQL_ExecuteTransaction syn keyword cConstant DBVal_Error DBVal_TypeMismatch DBVal_Null DBVal_Data syn keyword cConstant DBBind_Int DBBind_Float DBBind_String DBPrio_High syn keyword cConstant DBPrio_Normal DBPrio_Low static native @@ -397,17 +345,6 @@ syn keyword cConstant native syn keyword cTag DBResult DBBindType DBPriority " entity.inc -syn keyword cFunction GetMaxEntities GetEntityCount IsValidEntity IsValidEdict -syn keyword cFunction IsEntNetworkable CreateEdict RemoveEdict GetEdictFlags -syn keyword cFunction SetEdictFlags GetEdictClassname GetEntityNetClass ChangeEdictState -syn keyword cFunction GetEntData SetEntData GetEntDataFloat SetEntDataFloat -syn keyword cFunction GetEntDataEnt SetEntDataEnt GetEntDataEnt2 SetEntDataEnt2 -syn keyword cFunction GetEntDataVector SetEntDataVector GetEntDataString SetEntDataString -syn keyword cFunction FindSendPropOffs FindSendPropInfo FindDataMapOffs FindDataMapInfo -syn keyword cFunction GetEntSendPropOffs GetEntProp SetEntProp GetEntPropFloat -syn keyword cFunction SetEntPropFloat GetEntPropEnt SetEntPropEnt GetEntPropVector -syn keyword cFunction SetEntPropVector GetEntPropString SetEntPropString GetEntPropArraySize -syn keyword cFunction SetEntDataArray GetEntityAddress GetEntityClassname syn keyword cConstant Prop_Send Prop_Data FL_EDICT_CHANGED FL_EDICT_FREE syn keyword cConstant FL_EDICT_FULL FL_EDICT_FULLCHECK FL_EDICT_ALWAYS FL_EDICT_DONTSEND syn keyword cConstant FL_EDICT_PVSCHECK FL_EDICT_PENDING_DORMANT_CHECK FL_EDICT_DIRTY_PVS_INFORMATION FL_FULL_EDICT_CHANGED @@ -416,10 +353,6 @@ syn keyword cConstant PropField_Vector PropField_String PropField_String_T syn keyword cTag PropType PropFieldType " entity_prop_stocks.inc -syn keyword cFunction GetEntityFlags SetEntityFlags GetEntityMoveType SetEntityMoveType -syn keyword cFunction GetEntityRenderMode SetEntityRenderMode GetEntityRenderFx SetEntityRenderFx -syn keyword cFunction SetEntityRenderColor GetEntityGravity SetEntityGravity SetEntityHealth -syn keyword cFunction GetClientButtons syn keyword cConstant MOVETYPE_NONE MOVETYPE_ISOMETRIC MOVETYPE_WALK MOVETYPE_STEP syn keyword cConstant MOVETYPE_FLY MOVETYPE_FLYGRAVITY MOVETYPE_VPHYSICS MOVETYPE_PUSH syn keyword cConstant MOVETYPE_NOCLIP MOVETYPE_LADDER MOVETYPE_OBSERVER MOVETYPE_CUSTOM @@ -454,11 +387,10 @@ syn keyword cTag MoveType RenderMode RenderFx syn keyword cConstant EventHookMode_Pre EventHookMode_Post EventHookMode_PostNoCopy native syn keyword cConstant native native native native syn keyword cConstant native native native native -syn keyword cConstant native native native +syn keyword cConstant native native native native syn keyword cTag EventHookMode " files.inc -syn keyword cFunction GetFileTime syn keyword cConstant FileType_Unknown FileType_Directory FileType_File FileTime_LastAccess syn keyword cConstant FileTime_Created FileTime_LastChange PLATFORM_MAX_PATH SEEK_SET syn keyword cConstant SEEK_CUR SEEK_END Path_SM native @@ -472,27 +404,9 @@ syn keyword cConstant FPERM_O_READ FPERM_O_WRITE FPERM_O_EXEC syn keyword cTag FileType FileTimeMode PathType " float.inc -syn keyword cFunction float FloatMul FloatDiv FloatAdd -syn keyword cFunction FloatSub FloatFraction RoundToZero RoundToCeil -syn keyword cFunction RoundToFloor RoundToNearest FloatCompare SquareRoot -syn keyword cFunction Pow Exponential Logarithm Sine -syn keyword cFunction Cosine Tangent FloatAbs ArcTangent -syn keyword cFunction ArcCosine ArcSine ArcTangent2 RoundFloat -syn keyword cFunction __FLOAT_GT__ __FLOAT_GE__ __FLOAT_LT__ __FLOAT_LE__ -syn keyword cFunction __FLOAT_EQ__ __FLOAT_NE__ __FLOAT_NOT__ DegToRad -syn keyword cFunction RadToDeg GetURandomInt GetURandomFloat SetURandomSeed -syn keyword cFunction SetURandomSeedSimple syn keyword cConstant FLOAT_PI " functions.inc -syn keyword cFunction GetFunctionByName CreateGlobalForward CreateForward GetForwardFunctionCount -syn keyword cFunction AddToForward RemoveFromForward RemoveAllFromForward Call_StartForward -syn keyword cFunction Call_StartFunction Call_PushCell Call_PushCellRef Call_PushFloat -syn keyword cFunction Call_PushFloatRef Call_PushArray Call_PushArrayEx Call_PushString -syn keyword cFunction Call_PushStringEx Call_Finish Call_Cancel CreateNative -syn keyword cFunction ThrowNativeError GetNativeStringLength GetNativeString SetNativeString -syn keyword cFunction GetNativeCell GetNativeCellRef SetNativeCellRef GetNativeArray -syn keyword cFunction SetNativeArray FormatNativeString RequestFrame syn keyword cConstant SP_PARAMFLAG_BYREF Param_Any Param_Cell Param_Float syn keyword cConstant Param_String Param_Array Param_VarArgs Param_CellByRef syn keyword cConstant Param_FloatByRef ET_Ignore ET_Single ET_Event @@ -507,20 +421,9 @@ syn keyword cConstant SP_ERROR_NATIVE SP_ERROR_NOT_RUNNABLE SP_ERROR_ABORTED syn keyword cTag ParamType ExecType " geoip.inc -syn keyword cFunction GeoipCode2 GeoipCode3 GeoipCountry +syn keyword cConstant Extension void " halflife.inc -syn keyword cFunction LogToGame SetRandomSeed GetRandomFloat GetRandomInt -syn keyword cFunction IsMapValid IsDedicatedServer GetEngineTime GetGameTime -syn keyword cFunction GetGameTickCount GetGameDescription GetGameFolderName GetCurrentMap -syn keyword cFunction PrecacheModel PrecacheSentenceFile PrecacheDecal PrecacheGeneric -syn keyword cFunction IsModelPrecached IsDecalPrecached IsGenericPrecached PrecacheSound -syn keyword cFunction IsSoundPrecached CreateDialog GuessSDKVersion GetEngineVersion -syn keyword cFunction PrintToChat PrintToChatAll PrintCenterText PrintCenterTextAll -syn keyword cFunction PrintHintText PrintHintTextToAll ShowVGUIPanel CreateHudSynchronizer -syn keyword cFunction SetHudTextParams SetHudTextParamsEx ShowSyncHudText ClearSyncHud -syn keyword cFunction ShowHudText ShowMOTDPanel DisplayAskConnectBox EntIndexToEntRef -syn keyword cFunction EntRefToEntIndex MakeCompatEntRef syn keyword cConstant SOURCE_SDK_UNKNOWN SOURCE_SDK_ORIGINAL SOURCE_SDK_DARKMESSIAH SOURCE_SDK_EPISODE1 syn keyword cConstant SOURCE_SDK_EPISODE2 SOURCE_SDK_BLOODYGOODTIME SOURCE_SDK_EYE SOURCE_SDK_CSS syn keyword cConstant SOURCE_SDK_EPISODE2VALVE SOURCE_SDK_LEFT4DEAD SOURCE_SDK_LEFT4DEAD2 SOURCE_SDK_ALIENSWARM @@ -532,16 +435,16 @@ syn keyword cConstant Engine_DarkMessiah Engine_Left4Dead2 Engine_AlienSwarm Eng syn keyword cConstant Engine_EYE Engine_Portal2 Engine_CSGO Engine_CSS syn keyword cConstant Engine_DOTA Engine_HL2DM Engine_DODS Engine_TF2 syn keyword cConstant Engine_NuclearDawn Engine_SDK2013 Engine_Blade Engine_Insurgency -syn keyword cConstant Engine_Contagion INVALID_ENT_REFERENCE RangeType_Visibility RangeType_Audibility -syn keyword cTag DialogType EngineVersion ClientRangeType +syn keyword cConstant Engine_Contagion Engine_BlackMesa FindMap_Found FindMap_NotFound +syn keyword cConstant FindMap_FuzzyMatch FindMap_NonCanonical FindMap_PossiblyAvailable INVALID_ENT_REFERENCE +syn keyword cConstant RangeType_Visibility RangeType_Audibility +syn keyword cTag DialogType EngineVersion FindMapResult ClientRangeType " handles.inc -syn keyword cFunction CloseHandle CloneHandle IsValidHandle -syn keyword cConstant INVALID_HANDLE Close ~Handle +syn keyword cConstant INVALID_HANDLE syn keyword cTag Handle " helpers.inc -syn keyword cFunction FormatUserLogText FindPluginByFile FindTarget LoadMaps " keyvalues.inc syn keyword cConstant KvData_None KvData_String KvData_Int KvData_Float @@ -559,22 +462,14 @@ syn keyword cConstant native syn keyword cTag KvDataTypes " lang.inc -syn keyword cFunction LoadTranslations SetGlobalTransTarget GetClientLanguage GetServerLanguage -syn keyword cFunction GetLanguageCount GetLanguageInfo SetClientLanguage GetLanguageByCode -syn keyword cFunction GetLanguageByName syn keyword cConstant LANG_SERVER " logging.inc -syn keyword cFunction LogMessage LogToFile LogToFileEx LogAction -syn keyword cFunction LogError AddGameLogHook RemoveGameLogHook -syn keyword cForward OnLogAction " mapchooser.inc -syn keyword cFunction NominateMap RemoveNominationByMap RemoveNominationByOwner GetExcludeMapList -syn keyword cFunction GetNominatedMapList CanMapChooserStartVote InitiateMapChooserVote HasEndOfMapVoteFinished -syn keyword cFunction EndOfMapVoteEnabled syn keyword cConstant Nominate_Added Nominate_Replaced Nominate_AlreadyInVote Nominate_InvalidMap syn keyword cConstant Nominate_VoteFull MapChange_Instant MapChange_RoundEnd MapChange_MapEnd +syn keyword cConstant SharedPlugin void syn keyword cTag NominateResult MapChange " menus.inc @@ -600,12 +495,8 @@ syn keyword cConstant native native native syn keyword cTag MenuStyle MenuAction MenuSource " nextmap.inc -syn keyword cFunction SetNextMap GetNextMap ForceChangeLevel GetMapHistorySize -syn keyword cFunction GetMapHistory " profiler.inc -syn keyword cFunction CreateProfiler StartProfiling StopProfiling GetProfilerTime -syn keyword cFunction EnterProfilingEvent LeaveProfilingEvent IsProfilingActive " protobuf.inc syn keyword cConstant PB_FIELD_NOT_REPEATED native native native @@ -629,7 +520,7 @@ syn keyword cConstant REGEX_ERROR_DFA_UCOND REGEX_ERROR_DFA_UMLIMIT REGEX_ERROR_ syn keyword cConstant REGEX_ERROR_RECURSIONLIMIT REGEX_ERROR_NULLWSLIMIT REGEX_ERROR_BADNEWLINE REGEX_ERROR_BADOFFSET syn keyword cConstant REGEX_ERROR_SHORTUTF8 REGEX_ERROR_RECURSELOOP REGEX_ERROR_JIT_STACKLIMIT REGEX_ERROR_BADMODE syn keyword cConstant REGEX_ERROR_BADENDIANNESS REGEX_ERROR_DFA_BADRESTART REGEX_ERROR_JIT_BADOPTION REGEX_ERROR_BADLENGTH -syn keyword cConstant Regex Match GetSubString +syn keyword cConstant native native native Extension syn keyword cTag RegexError " sdkhooks.inc @@ -651,14 +542,12 @@ syn keyword cConstant SDKHook_SpawnPost SDKHook_StartTouchPost SDKHook_TouchPost syn keyword cConstant SDKHook_VPhysicsUpdatePost SDKHook_WeaponCanSwitchToPost SDKHook_WeaponCanUsePost SDKHook_WeaponDropPost syn keyword cConstant SDKHook_WeaponEquipPost SDKHook_WeaponSwitchPost SDKHook_Use SDKHook_UsePost syn keyword cConstant SDKHook_Reload SDKHook_ReloadPost SDKHook_GetMaxHealth SDKHook_Blocked -syn keyword cConstant SDKHook_BlockedPost SDKHook_OnTakeDamageAlive SDKHook_OnTakeDamageAlivePost Use_Off -syn keyword cConstant Use_On Use_Set Use_Toggle Extension +syn keyword cConstant SDKHook_BlockedPost SDKHook_OnTakeDamageAlive SDKHook_OnTakeDamageAlivePost SDKHook_CanBeAutobalanced +syn keyword cConstant Use_Off Use_On Use_Set Use_Toggle +syn keyword cConstant Extension syn keyword cTag SDKHookType UseType " sdktools.inc -syn keyword cFunction StartPrepSDKCall PrepSDKCall_SetVirtual PrepSDKCall_SetSignature PrepSDKCall_SetAddress -syn keyword cFunction PrepSDKCall_SetFromConf PrepSDKCall_SetReturnInfo PrepSDKCall_AddParameter EndPrepSDKCall -syn keyword cFunction SDKCall GetPlayerResourceEntity syn keyword cConstant SDKCall_Static SDKCall_Entity SDKCall_Player SDKCall_GameRules syn keyword cConstant SDKCall_EntityList SDKCall_Raw SDKLibrary_Server SDKLibrary_Engine syn keyword cConstant SDKConf_Virtual SDKConf_Signature SDKConf_Address SDKType_CBaseEntity @@ -666,39 +555,22 @@ syn keyword cConstant SDKType_CBasePlayer SDKType_Vector SDKType_QAngle SDKType_ syn keyword cConstant SDKType_Float SDKType_Edict SDKType_String SDKType_Bool syn keyword cConstant SDKPass_Pointer SDKPass_Plain SDKPass_ByValue SDKPass_ByRef syn keyword cConstant VDECODE_FLAG_ALLOWNULL VDECODE_FLAG_ALLOWNOTINGAME VDECODE_FLAG_ALLOWWORLD VDECODE_FLAG_BYREF -syn keyword cConstant VENCODE_FLAG_COPYBACK +syn keyword cConstant VENCODE_FLAG_COPYBACK Extension syn keyword cTag SDKCallType SDKLibrary SDKFuncConfSource SDKType syn keyword cTag SDKPassMethod " sdktools_client.inc -syn keyword cFunction InactivateClient ReconnectClient " sdktools_engine.inc -syn keyword cFunction SetClientViewEntity SetLightStyle GetClientEyePosition syn keyword cConstant MAX_LIGHTSTYLES " sdktools_entinput.inc -syn keyword cFunction AcceptEntityInput SetVariantBool SetVariantString SetVariantInt -syn keyword cFunction SetVariantFloat SetVariantVector3D SetVariantPosVector3D SetVariantColor -syn keyword cFunction SetVariantEntity " sdktools_entoutput.inc -syn keyword cFunction HookEntityOutput UnhookEntityOutput HookSingleEntityOutput UnhookSingleEntityOutput " sdktools_functions.inc -syn keyword cFunction RemovePlayerItem GivePlayerItem GetPlayerWeaponSlot IgniteEntity -syn keyword cFunction ExtinguishEntity TeleportEntity ForcePlayerSuicide SlapPlayer -syn keyword cFunction FindEntityByClassname GetClientEyeAngles CreateEntityByName DispatchSpawn -syn keyword cFunction DispatchKeyValue DispatchKeyValueFloat DispatchKeyValueVector GetClientAimTarget -syn keyword cFunction GetTeamCount GetTeamName GetTeamScore SetTeamScore -syn keyword cFunction GetTeamClientCount SetEntityModel GetPlayerDecalFile GetPlayerJingleFile -syn keyword cFunction GetServerNetStats EquipPlayerWeapon ActivateEntity SetClientInfo -syn keyword cFunction GivePlayerAmmo " sdktools_gamerules.inc -syn keyword cFunction GameRules_GetProp GameRules_SetProp GameRules_GetPropFloat GameRules_SetPropFloat -syn keyword cFunction GameRules_GetPropEnt GameRules_SetPropEnt GameRules_GetPropVector GameRules_SetPropVector -syn keyword cFunction GameRules_GetPropString GameRules_SetPropString GameRules_GetRoundState syn keyword cConstant RoundState_Init RoundState_Pregame RoundState_StartGame RoundState_Preround syn keyword cConstant RoundState_RoundRunning RoundState_TeamWin RoundState_Restart RoundState_Stalemate syn keyword cConstant RoundState_GameOver RoundState_Bonus RoundState_BetweenRounds @@ -706,40 +578,20 @@ syn keyword cTag RoundState " sdktools_hooks.inc syn keyword cConstant FEATURECAP_PLAYERRUNCMD_11PARAMS -syn keyword cForward OnPlayerRunCmd " sdktools_sound.inc -syn keyword cFunction PrefetchSound GetSoundDuration EmitAmbientSound FadeClientVolume -syn keyword cFunction StopSound EmitSound EmitSoundEntry EmitSentence -syn keyword cFunction GetDistGainFromSoundLevel AddAmbientSoundHook AddNormalSoundHook RemoveAmbientSoundHook -syn keyword cFunction RemoveNormalSoundHook EmitSoundToClient EmitSoundToAll ATTN_TO_SNDLEVEL -syn keyword cFunction GetGameSoundParams EmitGameSound EmitAmbientGameSound EmitGameSoundToClient -syn keyword cFunction EmitGameSoundToAll PrecacheScriptSound syn keyword cConstant SOUND_FROM_PLAYER SOUND_FROM_LOCAL_PLAYER SOUND_FROM_WORLD SNDVOL_NORMAL syn keyword cConstant SNDPITCH_NORMAL SNDPITCH_LOW SNDPITCH_HIGH SNDATTN_NONE syn keyword cConstant SNDATTN_NORMAL SNDATTN_STATIC SNDATTN_RICOCHET SNDATTN_IDLE " sdktools_stocks.inc -syn keyword cFunction FindTeamByName " sdktools_stringtables.inc -syn keyword cFunction FindStringTable GetNumStringTables GetStringTableNumStrings GetStringTableMaxStrings -syn keyword cFunction GetStringTableName FindStringIndex ReadStringTable GetStringTableDataLength -syn keyword cFunction GetStringTableData SetStringTableData AddToStringTable LockStringTables -syn keyword cFunction AddFileToDownloadsTable syn keyword cConstant INVALID_STRING_TABLE INVALID_STRING_INDEX " sdktools_tempents.inc -syn keyword cFunction AddTempEntHook RemoveTempEntHook TE_Start TE_IsValidProp -syn keyword cFunction TE_WriteNum TE_ReadNum TE_WriteFloat TE_ReadFloat -syn keyword cFunction TE_WriteVector TE_ReadVector TE_WriteAngles TE_WriteFloatArray -syn keyword cFunction TE_Send TE_WriteEncodedEnt TE_SendToAll TE_SendToClient " sdktools_tempents_stocks.inc -syn keyword cFunction TE_SetupSparks TE_SetupSmoke TE_SetupDust TE_SetupMuzzleFlash -syn keyword cFunction TE_SetupMetalSparks TE_SetupEnergySplash TE_SetupArmorRicochet TE_SetupGlowSprite -syn keyword cFunction TE_SetupExplosion TE_SetupBloodSprite TE_SetupBeamRingPoint TE_SetupBeamPoints -syn keyword cFunction TE_SetupBeamLaser TE_SetupBeamRing TE_SetupBeamFollow syn keyword cConstant TE_EXPLFLAG_NONE TE_EXPLFLAG_NOADDITIVE TE_EXPLFLAG_NODLIGHTS TE_EXPLFLAG_NOSOUND syn keyword cConstant TE_EXPLFLAG_NOPARTICLES TE_EXPLFLAG_DRAWALPHA TE_EXPLFLAG_ROTATE TE_EXPLFLAG_NOFIREBALL syn keyword cConstant TE_EXPLFLAG_NOFIREBALLSMOKE FBEAM_STARTENTITY FBEAM_ENDENTITY FBEAM_FADEIN @@ -749,11 +601,6 @@ syn keyword cConstant FBEAM_STARTVISIBLE FBEAM_ENDVISIBLE FBEAM_ISACTIVE FBEAM_F syn keyword cConstant FBEAM_HALOBEAM " sdktools_trace.inc -syn keyword cFunction TR_GetPointContents TR_GetPointContentsEnt TR_TraceRay TR_TraceHull -syn keyword cFunction TR_TraceRayFilter TR_TraceHullFilter TR_TraceRayEx TR_TraceHullEx -syn keyword cFunction TR_TraceRayFilterEx TR_TraceHullFilterEx TR_GetFraction TR_GetEndPosition -syn keyword cFunction TR_GetEntityIndex TR_DidHit TR_GetHitGroup TR_GetPlaneNormal -syn keyword cFunction TR_PointOutsideWorld syn keyword cConstant CONTENTS_EMPTY CONTENTS_SOLID CONTENTS_WINDOW CONTENTS_AUX syn keyword cConstant CONTENTS_GRATE CONTENTS_SLIME CONTENTS_WATER CONTENTS_MIST syn keyword cConstant CONTENTS_OPAQUE LAST_VISIBLE_CONTENTS ALL_VISIBLE_CONTENTS CONTENTS_TESTFOGVOLUME @@ -771,51 +618,28 @@ syn keyword cConstant RayType_Infinite syn keyword cTag RayType " sdktools_voice.inc -syn keyword cFunction SetClientListeningFlags GetClientListeningFlags SetClientListening GetClientListening -syn keyword cFunction SetListenOverride GetListenOverride IsClientMuted syn keyword cConstant VOICE_NORMAL VOICE_MUTED VOICE_SPEAKALL VOICE_LISTENALL syn keyword cConstant VOICE_TEAM VOICE_LISTENTEAM Listen_Default Listen_No syn keyword cConstant Listen_Yes syn keyword cTag ListenOverride " sorting.inc -syn keyword cFunction SortIntegers SortFloats SortStrings SortCustom1D -syn keyword cFunction SortCustom2D SortADTArray SortADTArrayCustom syn keyword cConstant Sort_Ascending Sort_Descending Sort_Random syn keyword cTag SortOrder SortType " sourcemod.inc -syn keyword cFunction GetMyHandle GetPluginIterator MorePlugins ReadPlugin -syn keyword cFunction GetPluginStatus GetPluginFilename IsPluginDebugging GetPluginInfo -syn keyword cFunction FindPluginByNumber SetFailState ThrowError GetTime -syn keyword cFunction FormatTime LoadGameConfigFile GameConfGetOffset GameConfGetKeyValue -syn keyword cFunction GameConfGetAddress GetSysTickCount AutoExecConfig RegPluginLibrary -syn keyword cFunction LibraryExists GetExtensionFileStatus ReadMapList SetMapListCompatBind -syn keyword cFunction CanTestFeatures GetFeatureStatus RequireFeature LoadFromAddress -syn keyword cFunction StoreToAddress syn keyword cConstant char char char char syn keyword cConstant char APLRes_Success APLRes_Failure APLRes_SilentFailure syn keyword cConstant MAPLIST_FLAG_MAPSFOLDER MAPLIST_FLAG_CLEARARRAY MAPLIST_FLAG_NO_DEFAULT FeatureType_Native syn keyword cConstant FeatureType_Capability FeatureStatus_Available FeatureStatus_Unavailable FeatureStatus_Unknown syn keyword cTag Plugin APLRes FeatureType FeatureStatus syn keyword cTag NumberType Address -syn keyword cForward AskPluginLoad AskPluginLoad2 OnClientFloodCheck " string.inc -syn keyword cFunction strlen StrContains strcmp strncmp -syn keyword cFunction StrCompare StrEqual strcopy StrCopy -syn keyword cFunction Format FormatEx VFormat StringToInt -syn keyword cFunction StringToIntEx IntToString StringToFloat StringToFloatEx -syn keyword cFunction FloatToString BreakString StrBreak TrimString -syn keyword cFunction SplitString ReplaceString ReplaceStringEx GetCharBytes -syn keyword cFunction IsCharAlpha IsCharNumeric IsCharSpace IsCharMB -syn keyword cFunction IsCharUpper IsCharLower StripQuotes CharToUpper -syn keyword cFunction CharToLower StrCat ExplodeString ImplodeStrings " testing.inc " textparse.inc -syn keyword cFunction SMC_SetParseStart SMC_SetParseEnd syn keyword cConstant SMCParse_Continue SMCParse_Halt SMCParse_HaltFail SMCError_Okay syn keyword cConstant SMCError_StreamOpen SMCError_StreamError SMCError_Custom SMCError_InvalidSection1 syn keyword cConstant SMCError_InvalidSection2 SMCError_InvalidSection3 SMCError_InvalidSection4 SMCError_InvalidSection5 @@ -825,10 +649,6 @@ syn keyword cConstant native native native native syn keyword cTag SMCResult SMCError " tf2.inc -syn keyword cFunction TF2_IgnitePlayer TF2_RespawnPlayer TF2_RegeneratePlayer TF2_AddCondition -syn keyword cFunction TF2_RemoveCondition TF2_SetPlayerPowerPlay TF2_DisguisePlayer TF2_RemovePlayerDisguise -syn keyword cFunction TF2_StunPlayer TF2_MakeBleed TF2_GetResourceEntity TF2_GetClass -syn keyword cFunction TF2_IsHolidayActive TF2_IsPlayerInDuel TF2_RemoveWearable syn keyword cConstant TF_STUNFLAG_SLOWDOWN TF_STUNFLAG_BONKSTUCK TF_STUNFLAG_LIMITMOVEMENT TF_STUNFLAG_CHEERSOUND syn keyword cConstant TF_STUNFLAG_NOSOUNDOREFFECT TF_STUNFLAG_THIRDPERSON TF_STUNFLAG_GHOSTEFFECT TF_STUNFLAGS_LOSERSTATE syn keyword cConstant TF_STUNFLAGS_GHOSTSCARE TF_STUNFLAGS_SMALLBONK TF_STUNFLAGS_NORMALBONK TF_STUNFLAGS_BIGBONK @@ -855,26 +675,27 @@ syn keyword cConstant TFCond_UberFireResist TFCond_SmallBulletResist TFCond_Smal syn keyword cConstant TFCond_Stealthed TFCond_MedigunDebuff TFCond_StealthedUserBuffFade TFCond_BulletImmune syn keyword cConstant TFCond_BlastImmune TFCond_FireImmune TFCond_PreventDeath TFCond_MVMBotRadiowave syn keyword cConstant TFCond_HalloweenSpeedBoost TFCond_HalloweenQuickHeal TFCond_HalloweenGiant TFCond_HalloweenTiny -syn keyword cConstant TFCond_HalloweenInHell TFCond_HalloweenGhostMode TFCond_DodgeChance TFCond_Parachute -syn keyword cConstant TFCond_BlastJumping TFCond_HalloweenKart TFCond_HalloweenKartDash TFCond_BalloonHead -syn keyword cConstant TFCond_MeleeOnly TFCond_SwimmingCurse TFCond_HalloweenKartNoTurn TFCond_HalloweenKartCage -syn keyword cConstant TFCond_HasRune TFCond_RuneStrength TFCond_RuneHaste TFCond_RuneRegen -syn keyword cConstant TFCond_RuneResist TFCond_RuneVampire TFCond_RuneWarlock TFCond_RunePrecision -syn keyword cConstant TFCond_RuneAgility TFHoliday_Invalid TFHoliday_Birthday TFHoliday_Halloween -syn keyword cConstant TFHoliday_Christmas TFHoliday_EndOfTheLine TFHoliday_ValentinesDay TFHoliday_MeetThePyro -syn keyword cConstant TFHoliday_SpyVsEngyWar TFHoliday_FullMoon TFHoliday_HalloweenOrFullMoon TFHoliday_HalloweenOrFullMoonOrValentines -syn keyword cConstant TFHoliday_AprilFools TFObject_CartDispenser TFObject_Dispenser TFObject_Teleporter -syn keyword cConstant TFObject_Sentry TFObject_Sapper TFObjectMode_None TFObjectMode_Entrance -syn keyword cConstant TFObjectMode_Exit +syn keyword cConstant TFCond_HalloweenInHell TFCond_HalloweenGhostMode TFCond_MiniCritOnKill TFCond_DodgeChance +syn keyword cConstant TFCond_ObscuredSmoke TFCond_Parachute TFCond_BlastJumping TFCond_HalloweenKart +syn keyword cConstant TFCond_HalloweenKartDash TFCond_BalloonHead TFCond_MeleeOnly TFCond_SwimmingCurse +syn keyword cConstant TFCond_HalloweenKartNoTurn TFCond_FreezeInput TFCond_HalloweenKartCage TFCond_HasRune +syn keyword cConstant TFCond_RuneStrength TFCond_RuneHaste TFCond_RuneRegen TFCond_RuneResist +syn keyword cConstant TFCond_RuneVampire TFCond_RuneWarlock TFCond_RunePrecision TFCond_RuneAgility +syn keyword cConstant TFCond_GrapplingHook TFCond_GrapplingHookSafeFall TFCond_GrapplingHookLatched TFCond_GrapplingHookBleeding +syn keyword cConstant TFCond_AfterburnImmune TFCond_RuneKnockout TFCond_RuneImbalance TFCond_CritRuneTemp +syn keyword cConstant TFCond_PasstimeInterception TFCond_SwimmingNoEffects TFCond_EyeaductUnderworld TFCond_KingRune +syn keyword cConstant TFCond_PlagueRune TFCond_SupernovaRune TFCond_Plague TFCond_KingAura +syn keyword cConstant TFCond_SpawnOutline TFCond_KnockedIntoAir TFCond_CompetitiveWinner TFCond_CompetitiveLoser +syn keyword cConstant TFCond_NoTaunting TFHoliday_Invalid TFHoliday TFHoliday +syn keyword cConstant TFHoliday TFHoliday TFHoliday TFHoliday +syn keyword cConstant TFHoliday TFHoliday TFHoliday TFHoliday +syn keyword cConstant TFHoliday TFHoliday TFObject_CartDispenser TFObject_Dispenser +syn keyword cConstant TFObject_Teleporter TFObject_Sentry TFObject_Sapper TFObjectMode_None +syn keyword cConstant TFObjectMode_Entrance TFObjectMode_Exit Extension void syn keyword cTag TFClassType TFTeam TFCond TFHoliday syn keyword cTag TFObjectType TFObjectMode -syn keyword cForward TF2_CalcIsAttackCritical TF2_OnGetHoliday TF2_OnIsHolidayActive TF2_OnConditionAdded -syn keyword cForward TF2_OnConditionRemoved TF2_OnWaitingForPlayersStart TF2_OnWaitingForPlayersEnd TF2_OnPlayerTeleport " tf2_stocks.inc -syn keyword cFunction TF2_GetClientTeam TF2_GetPlayerClass TF2_SetPlayerClass TF2_GetPlayerResourceData -syn keyword cFunction TF2_SetPlayerResourceData TF2_RemoveWeaponSlot TF2_RemoveAllWeapons TF2_GetPlayerConditionFlags -syn keyword cFunction TF2_IsPlayerInCondition TF2_GetObjectType TF2_GetObjectMode syn keyword cConstant TF_CONDFLAG_NONE TF_CONDFLAG_SLOWED TF_CONDFLAG_ZOOMED TF_CONDFLAG_DISGUISING syn keyword cConstant TF_CONDFLAG_DISGUISED TF_CONDFLAG_CLOAKED TF_CONDFLAG_UBERCHARGED TF_CONDFLAG_TELEPORTGLOW syn keyword cConstant TF_CONDFLAG_TAUNTING TF_CONDFLAG_UBERCHARGEFADE TF_CONDFLAG_CLOAKFLICKER TF_CONDFLAG_TELEPORTING @@ -893,9 +714,6 @@ syn keyword cConstant TFResource_MaxHealth TFResource_PlayerClass syn keyword cTag TFResourceType " timers.inc -syn keyword cFunction CreateTimer KillTimer TriggerTimer GetTickedTime -syn keyword cFunction GetMapTimeLeft GetMapTimeLimit ExtendMapTimeLimit GetTickInterval -syn keyword cFunction IsServerProcessing CreateDataTimer syn keyword cConstant TIMER_REPEAT TIMER_FLAG_NO_MAPCHANGE TIMER_HNDL_CLOSE TIMER_DATA_HNDL_CLOSE " topmenus.inc @@ -904,26 +722,23 @@ syn keyword cConstant TopMenuObject_Item TopMenuPosition_Start TopMenuPosition_L syn keyword cConstant INVALID_TOPMENUOBJECT native static native syn keyword cConstant native native native native syn keyword cConstant native native native native -syn keyword cConstant native Extension +syn keyword cConstant native Extension void syn keyword cTag TopMenuAction TopMenuObjectType TopMenuPosition TopMenuObject " usermessages.inc -syn keyword cFunction GetUserMessageType GetUserMessageId GetUserMessageName StartMessage -syn keyword cFunction StartMessageEx EndMessage HookUserMessage UnhookUserMessage -syn keyword cFunction StartMessageAll StartMessageOne syn keyword cConstant INVALID_MESSAGE_ID UM_BitBuf UM_Protobuf USERMSG_RELIABLE syn keyword cConstant USERMSG_INITMSG USERMSG_BLOCKHOOKS syn keyword cTag UserMsg UserMessageType " vector.inc -syn keyword cFunction GetVectorLength GetVectorDistance GetVectorDotProduct GetVectorCrossProduct -syn keyword cFunction NormalizeVector GetAngleVectors GetVectorAngles GetVectorVectors -syn keyword cFunction AddVectors SubtractVectors ScaleVector NegateVector -syn keyword cFunction MakeVectorFromPoints " version.inc syn keyword cConstant SOURCEMOD_V_TAG SOURCEMOD_V_REV SOURCEMOD_V_CSET SOURCEMOD_V_MAJOR syn keyword cConstant SOURCEMOD_V_MINOR SOURCEMOD_V_RELEASE SOURCEMOD_VERSION + +" version_auto.inc +syn keyword cConstant SOURCEMOD_V_TAG SOURCEMOD_V_CSET SOURCEMOD_V_MAJOR SOURCEMOD_V_MINOR +syn keyword cConstant SOURCEMOD_V_RELEASE SOURCEMOD_V_REV SOURCEMOD_VERSION " Accept %: for # (C99) syn region cPreCondit start="^\s*\(%:\|#\)\s*\(if\|ifdef\|ifndef\|elif\)\>" skip="\\$" end="$" keepend contains=cComment,cCommentL,cCppString,cCharacter,cCppParen,cParenError,cNumbers,cCommentError,cSpaceError syn match cPreCondit display "^\s*\(%:\|#\)\s*\(else\|endif\)\>"