Inexor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
game::movable Struct Reference
Inheritance diagram for game::movable:
dynent physent

Public Member Functions

 movable (const entity &e)
 
void hitpush (int damage, const vec &dir, fpsent *actor, int gun)
 
void explode (dynent *at)
 
void damaged (int damage, fpsent *at, int gun=-1)
 
void suicide ()
 
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

int etype
 
int mapmodel
 
int health
 
int weight
 
int exploding
 
int tag
 
int dir
 
physentstacked
 
vec stackpos
 
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

game::movable::movable ( const entity e)
inline

Member Function Documentation

vec physent::abovehead ( )
inlineinherited
void game::movable::damaged ( int  damage,
fpsent at,
int  gun = -1 
)
inline
void game::movable::explode ( dynent at)
inline
vec physent::feetpos ( float  offset = 0) const
inlineinherited
vec physent::headpos ( float  offset = 0) const
inlineinherited
void game::movable::hitpush ( int  damage,
const vec dir,
fpsent actor,
int  gun 
)
inline
bool physent::maymove ( ) const
inlineinherited
void dynent::reset ( )
inlineinherited
void physent::resetinterp ( )
inlineinherited
void dynent::stopmoving ( )
inlineinherited
void game::movable::suicide ( )
inline

Member Data Documentation

float physent::aboveeye
inherited
animinterpinfo dynent::animinterp[MAXANIMPARTS]
inherited
bool physent::blocked
inherited
uchar physent::collidetype
inherited
vec physent::deltapos
inherited
int game::movable::dir

Referenced by movable(), and game::triggerplatform().

uchar physent::editstate
inherited
int game::movable::etype
int game::movable::exploding
float physent::eyeheight
inherited
vec physent::falling
inherited
vec physent::floor
inherited
int game::movable::health

Referenced by damaged().

int physent::inwater
inherited
bool physent::jumping
inherited
bool dynent::k_down
inherited

Referenced by dynent::stopmoving().

bool dynent::k_left
inherited

Referenced by dynent::stopmoving().

bool dynent::k_right
inherited

Referenced by dynent::stopmoving().

bool dynent::k_up
inherited

Referenced by dynent::stopmoving().

int dynent::lastrendered
inherited

Referenced by animmodel::render().

entitylight dynent::light
inherited
int game::movable::mapmodel

Referenced by game::rendermovables().

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(), 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
inherited

Referenced by rendermodel().

uchar physent::physstate
inherited
float physent::pitch
inherited
occludequery* dynent::query
inherited
float physent::radius
inherited
ragdolldata* dynent::ragdoll
inherited
float physent::roll
inherited
physent* game::movable::stacked
vec game::movable::stackpos
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(), 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(), 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(), 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(), 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 game::movable::tag
int physent::timeinair
inherited
uchar physent::type
inherited
vec physent::vel
inherited
int game::movable::weight

Referenced by hitpush().

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: