mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 15:02:01 +00:00
- added A_SetMugshotState.
This commit is contained in:
parent
5fe04dfd20
commit
fb3d4bd42a
2 changed files with 11 additions and 0 deletions
|
@ -80,6 +80,7 @@
|
||||||
#include "math/cmath.h"
|
#include "math/cmath.h"
|
||||||
#include "g_levellocals.h"
|
#include "g_levellocals.h"
|
||||||
#include "r_utility.h"
|
#include "r_utility.h"
|
||||||
|
#include "sbar.h"
|
||||||
|
|
||||||
AActor *SingleActorFromTID(int tid, AActor *defactor);
|
AActor *SingleActorFromTID(int tid, AActor *defactor);
|
||||||
|
|
||||||
|
@ -6940,3 +6941,12 @@ DEFINE_ACTION_FUNCTION(AActor, A_SprayDecal)
|
||||||
SprayDecal(self, name);
|
SprayDecal(self, name);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DEFINE_ACTION_FUNCTION(AActor, A_SetMugshotState)
|
||||||
|
{
|
||||||
|
PARAM_SELF_PROLOGUE(AActor);
|
||||||
|
PARAM_STRING(name);
|
||||||
|
if (self->CheckLocalView(consoleplayer))
|
||||||
|
StatusBar->SetMugShotState(name);
|
||||||
|
return 0;
|
||||||
|
}
|
|
@ -869,6 +869,7 @@ class Actor : Thinker native
|
||||||
native void A_SetTranslation(name transname);
|
native void A_SetTranslation(name transname);
|
||||||
native bool A_SetSize(double newradius, double newheight = -1, bool testpos = false);
|
native bool A_SetSize(double newradius, double newheight = -1, bool testpos = false);
|
||||||
native void A_SprayDecal(String name);
|
native void A_SprayDecal(String name);
|
||||||
|
native void A_SetMugshotState(String name);
|
||||||
|
|
||||||
native void A_RearrangePointers(int newtarget, int newmaster = AAPTR_DEFAULT, int newtracer = AAPTR_DEFAULT, int flags=0);
|
native void A_RearrangePointers(int newtarget, int newmaster = AAPTR_DEFAULT, int newtracer = AAPTR_DEFAULT, int flags=0);
|
||||||
native void A_TransferPointer(int ptr_source, int ptr_recepient, int sourcefield, int recepientfield=AAPTR_DEFAULT, int flags=0);
|
native void A_TransferPointer(int ptr_source, int ptr_recepient, int sourcefield, int recepientfield=AAPTR_DEFAULT, int flags=0);
|
||||||
|
|
Loading…
Reference in a new issue