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

#include <projectile.hpp>

Inheritance diagram for game::bouncer:
physent

Public Member Functions

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

Public Attributes

int lifetime
 
int bounces
 
float lastyaw
 
float roll
 
bool local
 
fpsentowner
 
int bouncetype
 
int variant
 
vec offset
 
int offsetmillis
 
int id
 
entitylight light
 
int generation
 
vec o
 
vec vel
 
vec falling
 
vec deltapos
 
vec newpos
 
float yaw
 
float pitch
 
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::bouncer::bouncer ( )
inline

References ENT_BOUNCE, and physent::type.

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 physent::reset ( )
inlineinherited
void physent::resetinterp ( )
inlineinherited

Member Data Documentation

float physent::aboveeye
inherited
bool physent::blocked
inherited
int game::bouncer::bounces

Referenced by game::bounced().

int game::bouncer::bouncetype
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 game::bouncer::generation
int game::bouncer::id
int physent::inwater
inherited
bool physent::jumping
inherited
float game::bouncer::lastyaw

Referenced by game::renderbouncers().

int game::bouncer::lifetime
entitylight game::bouncer::light

Referenced by game::newbouncer().

bool game::bouncer::local
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().

vec game::bouncer::offset
int game::bouncer::offsetmillis
fpsent* game::bouncer::owner
uchar physent::physstate
inherited
float physent::pitch
inherited
float physent::radius
inherited
float game::bouncer::roll

Referenced by game::updatebouncers().

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
int game::bouncer::variant

Referenced by game::newbouncer().

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: