Inexor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
dynent Struct Reference

#include <ents.hpp>

Inheritance diagram for dynent:
physent fpsent game::hudent game::movable

Public Member Functions

 dynent ()
 
 ~dynent ()
 
void stopmoving ()
 
void reset ()
 
void resetinterp ()
 
vec feetpos (float offset=0) const
 
vec headpos (float offset=0) const
 
vec abovehead ()
 
bool maymove () const
 

Public Attributes

bool k_left
 
bool k_right
 
bool k_up
 
bool k_down
 
entitylight light
 
animinterpinfo animinterp [MAXANIMPARTS]
 
ragdolldataragdoll
 
occludequeryquery
 
int occluded
 
int lastrendered
 
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 aboveeye
 
float xradius
 
float yradius
 
float zmargin
 
vec floor
 
int inwater
 
bool jumping
 
char move
 
char strafe
 
uchar physstate
 
uchar state
 
uchar editstate
 
uchar type
 
uchar collidetype
 
bool blocked
 

Constructor & Destructor Documentation

dynent::dynent ( )
inline

References reset().

dynent::~dynent ( )
inline

References cleanragdoll(), hmap::d, and ragdoll.

Member Function Documentation

vec physent::abovehead ( )
inlineinherited
vec physent::feetpos ( float  offset = 0) const
inlineinherited
vec physent::headpos ( float  offset = 0) const
inlineinherited
bool physent::maymove ( ) const
inlineinherited
void dynent::reset ( )
inline
void physent::resetinterp ( )
inlineinherited
void dynent::stopmoving ( )
inline

Member Data Documentation

float physent::aboveeye
inherited
animinterpinfo dynent::animinterp[MAXANIMPARTS]

Referenced by animmodel::part::render(), and reset().

bool physent::blocked
inherited
uchar physent::collidetype
inherited
vec physent::deltapos
inherited
uchar physent::editstate
inherited
float physent::eyeheight
inherited
vec physent::falling
inherited
vec physent::floor
inherited
int physent::inwater
inherited
bool physent::jumping
inherited
bool dynent::k_down

Referenced by stopmoving().

bool dynent::k_left

Referenced by stopmoving().

bool dynent::k_right

Referenced by stopmoving().

bool dynent::k_up

Referenced by stopmoving().

int dynent::lastrendered

Referenced by animmodel::render().

entitylight dynent::light
float physent::maxspeed
inherited
char physent::move
inherited
vec physent::newpos
inherited
vec physent::o
inherited

Referenced by physent::abovehead(), adddecal(), adddynlight(), game::adddynlights(), flarerenderer::addflare(), addvisibleva(), game::collectclientmode::aicheck(), game::ctfclientmode::aifind(), ai::assist(), ai::avoid(), avoidcollision(), game::avoidweapons(), mpr::EntOBB::back(), mpr::EntFuzzy::back(), mpr::EntOBB::bottom(), mpr::EntFuzzy::bottom(), mpr::EntCylinder::bottom(), bounce(), game::bounced(), calcavatarpos(), calcshadowmapbb(), calcwatersubdiv(), ai::canshoot(), mpr::Ent::center(), mpr::EntOBB::center(), mpr::EntCylinder::center(), game::checkattacksound(), checkdynentcache(), game::checkidlesound(), inexor::sound::checkmapsounds(), entities::checkquad(), game::clearmovables(), collide(), cubecollideplanes(), cubecollidesolid(), cullmodel(), damagecompass(), game::damaged(), game::damageeffect(), game::deathstate(), shadowmaptexture::dorender(), game::hideandseekclientmode::drawblip(), game::bombclientmode::drawblip(), game::ctfclientmode::drawblip(), game::collectclientmode::drawblip(), game::captureclientmode::drawblips(), drawcubemap(), game::hideandseekclientmode::drawhud(), game::bombclientmode::drawhud(), game::collectclientmode::drawhud(), game::drawhudmodel(), game::drawminimap(), drawminimap(), drawreflection(), drawreflections(), drawskybox(), game::drawteammate(), game::collectclientmode::droptoken(), game::dynlighttrack(), editmoveplane(), ellipseboxcollide(), ellipsecollide(), gui::end(), endmodelbatches(), entautoview(), entinmap(), entpush(), game::movable::explode(), game::explode(), game::explodeeffects(), physent::feetpos(), fireballrenderer::finddepthfxranges(), finddynlights(), findfloor(), findplayerspawn(), findreflectedvas(), findvisiblemms(), mpr::EntOBB::front(), mpr::EntFuzzy::front(), fuzzycollideplanes(), fuzzycollidesolid(), g3d_addgui(), g3d_key(), g3d_mainmenu(), generategrass(), gengrassquads(), genpos< PT_TAPE >(), ai::getaimpos(), gl_drawframe(), game::gotoplayer(), game::gotosel(), game::gunselect(), physent::headpos(), game::hit(), ragdolldata::init(), game::ctfclientmode::interpflagpos(), interppos(), game::intersect(), ai::itemspawned(), ai::jumpto(), game::bombclientmode::killed(), mpr::EntOBB::left(), mpr::EntFuzzy::left(), ai::lockon(), lockpvs_(), flarerenderer::makelightflares(), menuinfrontofplayer(), mmcollide(), move(), movecamera(), moveplatform(), moveplayer(), moveragdoll(), game::msgsound(), nearestent(), game::newbouncer(), newentity(), flarerenderer::newflare(), overlapsdynent(), game::parsemessages(), game::parsepositions(), particle_text(), particle_textcopy(), game::particletrack(), game::physicstrigger(), game::ctfclientmode::pickholdspawn(), game::bombclientmode::pickspawn(), entities::pickupeffects(), platformcollide(), inexor::sound::playsound(), plcollide(), game::pointatplayer(), flag::pos(), game::predictplayer(), game::projdist(), pushsel(), queryreflection(), game::radialbombeffect(), recomputecamera(), regularshape(), ai::avoidset::remap(), game::ctfclientmode::removeplayer(), animmodel::part::render(), ai::render(), game::renderbouncers(), rendercullmodelquery(), rendereditcursor(), renderentselection(), rendergeom(), renderlightning(), rendermapmodels(), rendermaterials(), rendermodel(), fireballrenderer::renderpart(), game::renderplayer(), game::renderplayerpreview(), game::bombclientmode::renderplayersposindicator(), game::captureclientmode::rendertether(), renderwater(), physent::resetinterp(), mpr::EntOBB::right(), mpr::EntFuzzy::right(), game::selectcrosshair(), game::sendposition(), setcammatrix(), game::setupcamera(), setupgeom(), game::shoot(), game::shoteffects(), texturegui::show(), sortmaterials(), splash(), game::stackmovable(), gui::start(), modelpreview::start(), mpr::EntOBB::supportpoint(), mpr::EntCylinder::supportpoint(), mpr::EntCapsule::supportpoint(), mpr::EntEllipsoid::supportpoint(), game::collectclientmode::taketoken(), entities::teleport(), testpvs(), toggleedit(), mpr::EntOBB::top(), mpr::EntFuzzy::top(), trystepdown(), trystepup(), game::updatebouncers(), inexor::sound::updatechannel(), updatedynentcache(), game::updatemovables(), inexor::sound::updatemumble(), updateparticles(), updatephysstate(), game::updatepos(), game::updateprojectiles(), updateskystats(), and game::weaponcollide().

int dynent::occluded

Referenced by rendermodel().

uchar physent::physstate
inherited
float physent::pitch
inherited
occludequery* dynent::query
float physent::radius
inherited
ragdolldata* dynent::ragdoll
float physent::roll
inherited
uchar physent::state
inherited

Referenced by aiman::addai(), game::captureclientmode::aidefend(), game::ctfclientmode::aidefend(), game::captureclientmode::aifind(), game::ctfclientmode::aifind(), ai::avoid(), game::canjump(), ai::canmove(), game::checkattacksound(), checkdynentcache(), game::checkidlesound(), game::captureclientmode::checkitems(), game::collectclientmode::checkitems(), game::ctfclientmode::checkitems(), entities::checkitems(), ai::checkothers(), entities::checktriggers(), game::collidecamera(), game::movable::damaged(), game::damaged(), game::deathstate(), game::detachcamera(), ai::dodefend(), ai::dointerest(), ai::dopursue(), game::hideandseekclientmode::drawhud(), game::bombclientmode::drawhud(), game::ctfclientmode::drawhud(), game::collectclientmode::drawhud(), game::captureclientmode::drawhud(), game::drawhudgun(), game::drawhudicons(), game::drawhudmodel(), game::drawteammates(), game::edittoggled(), execbind(), game::movable::explode(), game::follow(), game::followingplayer(), game::bombclientmode::gameconnect(), game::gamedisconnect(), game::gameplayhud(), game::getbestplayers(), game::getbestteams(), game::getclienticon(), game::gotoplayer(), game::gotosel(), game::groupplayers(), game::intersectclosest(), game::isobstaclealive(), game::isspectator(), game::bombclientmode::killed(), game::killed(), game::lighteffects(), ai::logic(), game::movable::movable(), moveplayer(), ai::navigate(), game::nextfollow(), game::nextweapon(), game::otherplayers(), game::parsemessages(), game::parsepositions(), game::parsestate(), game::playersort(), plcollide(), game::projdamage(), game::radialeffect(), game::collectclientmode::rendergame(), game::rendergame(), game::rendermovables(), game::renderplayer(), game::bombclientmode::renderplayersposindicator(), game::renderscoreboard(), game::captureclientmode::rendertether(), game::respawn(), game::selectcrosshair(), game::sendmap(), game::sendmapinfo(), game::sendposition(), game::sendpositions(), game::setupcamera(), game::setweapon(), game::spawnplayer(), game::movable::suicide(), game::suicide(), game::swayhudgun(), ai::targetable(), game::taunt(), ai::think(), toggleedit(), game::triggerplatform(), game::updatemovables(), game::updatepos(), game::updateweapons(), and game::updateworld().

char physent::strafe
inherited
int physent::timeinair
inherited
uchar physent::type
inherited
vec physent::vel
inherited
float physent::xradius
inherited
float physent::yaw
inherited
float physent::yradius
inherited
float physent::zmargin
inherited

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