|
Libprimis
Imprimis' 3D destroyable world engine
|
#include <ents.h>
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 } |
An extension of dynent with mobile/animated model handling
| bool dynent::k_down |
whether keyboard down movement is enabled
| bool dynent::k_left |
whether keyboard left movement is enabled
| bool dynent::k_right |
whether keyboard right movement is enabled
| bool dynent::k_up |
whether keyboard up movement is enabled