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

#include <ents.hpp>

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

Public Member Functions

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

Public Attributes

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

physent::physent ( )
inline

References reset().

Member Function Documentation

vec physent::abovehead ( )
inline
vec physent::feetpos ( float  offset = 0) const
inline
vec physent::headpos ( float  offset = 0) const
inline

References vec::add(), and o.

Referenced by ai::enemy(), ai::hasrange(), ai::process(), ai::setup(), and ai::target().

bool physent::maymove ( ) const
inline
void physent::reset ( )
inline
void physent::resetinterp ( )
inline

Member Data Documentation

float physent::aboveeye
bool physent::blocked
uchar physent::collidetype
vec physent::deltapos
uchar physent::editstate
float physent::eyeheight
vec physent::falling
vec physent::floor
int physent::inwater
bool physent::jumping
float physent::maxspeed
char physent::move
vec physent::newpos
vec physent::o

Referenced by 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(), 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(), 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(), 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().

uchar physent::physstate
float physent::pitch
float physent::radius
float physent::roll
uchar physent::state

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
int physent::timeinair
uchar physent::type
vec physent::vel
float physent::xradius
float physent::yaw
float physent::yradius
float physent::zmargin

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