Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
BaseDebrisSmallEntity.c File Reference

Go to the source code of this file.

Classes

class  SCR_BaseDebrisSmallEntityClass

Macros

#define DEBUG
#define ENABLE_BASE_DESTRUCTION

Functions

bool IsGamePlaying ()
override void EOnFrame (IEntity owner, float timeSlice)
void DeleteDebris ()
 Delete debris - unregisters it from the list and makes it scale down and delete.
void SCR_BaseDebrisSmallEntity (IEntitySource src, IEntity parent)

Variables

SCR_BaseDebrisSmallEntityClass m_bDelete = false
 Whether this debris has reached end of its lifetime and should be deleted.
float m_fLifeTime
 The lifetime in seconds.
float m_fAgeTime
 Entity age in seconds. After this time is bigger thatn m_fLifeTime, debris will despawn.

Macro Definition Documentation

◆ DEBUG

DEBUG

Definition at line 1 of file BaseDebrisSmallEntity.c.

◆ ENABLE_BASE_DESTRUCTION

#define ENABLE_BASE_DESTRUCTION

Definition at line 2 of file BaseDebrisSmallEntity.c.

Function Documentation

◆ DeleteDebris()

void DeleteDebris ( )
protected

Delete debris - unregisters it from the list and makes it scale down and delete.

Definition at line 120 of file BaseDebrisSmallEntity.c.

◆ EOnFrame()

override void EOnFrame ( IEntity owner,
float timeSlice )
protected

Definition at line 65 of file BaseDebrisSmallEntity.c.

◆ IsGamePlaying()

bool IsGamePlaying ( )
protected

Get whether game is in play state or not.

Returns
true if play mode, false otherwise

Definition at line 51 of file BaseDebrisSmallEntity.c.

◆ SCR_BaseDebrisSmallEntity()

void SCR_BaseDebrisSmallEntity ( IEntitySource src,
IEntity parent )
protected

Definition at line 127 of file BaseDebrisSmallEntity.c.

Variable Documentation

◆ m_bDelete

SCR_BaseDebrisSmallEntityClass m_bDelete = false

Whether this debris has reached end of its lifetime and should be deleted.

Entity used to represent small debris in the world. Is managed automatically and will never allow the user to exceed the specified maximum amount. If new spawn is requested, priority is evaluated. If the new debris has higher priority than any of the debris spawned before, it will be replaced by the new one.

◆ m_fAgeTime

float m_fAgeTime

Entity age in seconds. After this time is bigger thatn m_fLifeTime, debris will despawn.

Definition at line 23 of file BaseDebrisSmallEntity.c.

◆ m_fLifeTime

float m_fLifeTime

The lifetime in seconds.

Definition at line 20 of file BaseDebrisSmallEntity.c.