mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-25 13:31:37 +00:00
- Actor.GetSpecies() is a non-destructive function
This commit is contained in:
parent
fa467073eb
commit
ee5442c06b
2 changed files with 2 additions and 2 deletions
|
@ -362,7 +362,7 @@ sector_t* RenderView(player_t* player)
|
||||||
// Draw all canvases that changed
|
// Draw all canvases that changed
|
||||||
for (FCanvas* canvas : AllCanvases)
|
for (FCanvas* canvas : AllCanvases)
|
||||||
{
|
{
|
||||||
if (canvas->Tex->CheckNeedsUpdate())
|
if (canvas->Tex && canvas->Tex->CheckNeedsUpdate())
|
||||||
{
|
{
|
||||||
screen->RenderTextureView(canvas->Tex, [=](IntRect& bounds)
|
screen->RenderTextureView(canvas->Tex, [=](IntRect& bounds)
|
||||||
{
|
{
|
||||||
|
|
|
@ -854,7 +854,7 @@ class Actor : Thinker native
|
||||||
native int LookForEnemiesEx(out Array<Actor> targets, double range = -1, bool noPlayers = true, bool allaround = false, LookExParams params = null);
|
native int LookForEnemiesEx(out Array<Actor> targets, double range = -1, bool noPlayers = true, bool allaround = false, LookExParams params = null);
|
||||||
native bool TeleportMove(Vector3 pos, bool telefrag, bool modifyactor = true);
|
native bool TeleportMove(Vector3 pos, bool telefrag, bool modifyactor = true);
|
||||||
native clearscope double DistanceBySpeed(Actor other, double speed) const;
|
native clearscope double DistanceBySpeed(Actor other, double speed) const;
|
||||||
native name GetSpecies();
|
native clearscope name GetSpecies();
|
||||||
native void PlayActiveSound();
|
native void PlayActiveSound();
|
||||||
native void Howl();
|
native void Howl();
|
||||||
native void DrawSplash (int count, double angle, int kind);
|
native void DrawSplash (int count, double angle, int kind);
|
||||||
|
|
Loading…
Reference in a new issue