mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +00:00
- added ACS strarg function which can convert a string into a string argument for ACS specials.
This commit is contained in:
parent
4bcbd5c011
commit
f82ab889b2
1 changed files with 3 additions and 1 deletions
|
@ -4367,6 +4367,7 @@ enum EACSFunctions
|
||||||
ACSF_SetTranslation,
|
ACSF_SetTranslation,
|
||||||
ACSF_GetActorFloorTexture,
|
ACSF_GetActorFloorTexture,
|
||||||
ACSF_GetActorFloorTerrain,
|
ACSF_GetActorFloorTerrain,
|
||||||
|
ACSF_StrArg,
|
||||||
|
|
||||||
|
|
||||||
// OpenGL stuff
|
// OpenGL stuff
|
||||||
|
@ -6087,7 +6088,8 @@ doplaysound: if (funcIndex == ACSF_PlayActorSound)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
case ACSF_StrArg:
|
||||||
|
return -FName(FBehavior::StaticLookupString(args[0]));
|
||||||
|
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue