mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-29 23:33:00 +00:00
- Added ACS function CheckFont.
SVN r4335 (trunk)
This commit is contained in:
parent
bac66d5b0e
commit
902f6647b6
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue