From 902f6647b6cf4bfb474c5b78fed5091e572dcbb6 Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Thu, 6 Jun 2013 20:48:57 +0000 Subject: [PATCH] - Added ACS function CheckFont. SVN r4335 (trunk) --- src/p_acs.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/p_acs.cpp b/src/p_acs.cpp index ab704e9df9..cd55caefb3 100644 --- a/src/p_acs.cpp +++ b/src/p_acs.cpp @@ -4198,6 +4198,7 @@ enum EACSFunctions ACSF_SoundVolume, ACSF_PlayActorSound, ACSF_SpawnDecal, + ACSF_CheckFont, // ZDaemon ACSF_GetTeamScore = 19620, // (int team) @@ -5193,6 +5194,10 @@ doplaysound: if (funcIndex == ACSF_PlayActorSound) } break; + case ACSF_CheckFont: + // bool CheckFont(str fontname) + return V_GetFont(FBehavior::StaticLookupString(args[0])) != NULL; + default: break; }