Libprimis
Imprimis' 3D destroyable world engine
Loading...
Searching...
No Matches
dynent Struct Reference

#include <ents.h>

Inheritance diagram for dynent:
physent

Public Member Functions

void stopmoving ()
 
void reset ()
 
vec abovehead () const
 
- Public Member Functions inherited from physent
void resetinterp ()
 
void reset ()
 
vec feetpos (float offset=0) const
 
vec headpos (float offset=0) const
 
bool crouched () const
 

Public Attributes

bool k_left
 
bool k_right
 
bool k_up
 
bool k_down
 
animinterpinfo animinterp [maxanimparts]
 
ragdolldata * ragdoll
 
occludequery * query
 
int lastrendered
 
- Public Attributes inherited from physent
vec o
 
vec vel
 
vec falling
 
vec deltapos
 
vec newpos
 
float yaw
 
float pitch
 
float roll
 
float maxspeed
 
int timeinair
 
float radius
 
float eyeheight
 
float maxheight
 
float aboveeye
 
float xradius
 
float yradius
 
float zmargin
 
vec floor
 
int inwater
 
bool jumping
 
char move
 
char strafe
 
char crouching
 
uchar physstate
 
uchar state
 
uchar editstate
 
uchar type
 
uchar collidetype
 
bool blocked
 

Additional Inherited Members

- Public Types inherited from physent
enum  { PhysEnt_Player = 0 , PhysEnt_Camera , PhysEnt_Bounce }
 

Detailed Description

An extension of dynent with mobile/animated model handling

Member Data Documentation

◆ k_down

bool dynent::k_down

whether keyboard down movement is enabled

◆ k_left

bool dynent::k_left

whether keyboard left movement is enabled

◆ k_right

bool dynent::k_right

whether keyboard right movement is enabled

◆ k_up

bool dynent::k_up

whether keyboard up movement is enabled


The documentation for this struct was generated from the following file: