Inexor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions | Variables
hmap Namespace Reference

Functions

cubegetcube (ivec t, int f)
 
uint getface (cube *c, int d)
 
void pushside (cube &c, int d, int x, int y, int z)
 
void addpoint (int x, int y, int z, int v)
 
void select (int x, int y, int z)
 
void ripple (int x, int y, int z, bool force)
 
void paint ()
 
void smooth ()
 
void rippleandset ()
 
void run (int dir, int mode)
 

Variables

uchar flags [MAXBRUSH][MAXBRUSH]
 
cubecmap [MAXBRUSHC][MAXBRUSHC][4]
 
int mapz [MAXBRUSHC][MAXBRUSHC]
 
int map [MAXBRUSH][MAXBRUSH]
 
selinfo changes
 
bool selecting
 
int d
 
int dc
 
int dr
 
int dcr
 
int biasup
 
int br
 
int hws
 
int fg
 
int gx
 
int gy
 
int gz
 
int mx
 
int my
 
int mz
 
int nx
 
int ny
 
int nz
 
int bmx
 
int bmy
 
int bnx
 
int bny
 
uint fs
 
selinfo hundo
 

Function Documentation

void hmap::addpoint ( int  x,
int  y,
int  z,
int  v 
)

References flags, map, and MAPPED.

Referenced by select().

cube* hmap::getcube ( ivec  t,
int  f 
)
uint hmap::getface ( cube c,
int  d 
)

References d, dc, and fs.

Referenced by select().

void hmap::paint ( )

References brush, dr, loopbrush, and map.

Referenced by run().

void hmap::pushside ( cube c,
int  d,
int  x,
int  y,
int  z 
)

References d, getcubevector(), R, and setcubevector().

Referenced by ripple().

void hmap::ripple ( int  x,
int  y,
int  z,
bool  force 
)
void hmap::rippleandset ( )

References gz, loopbrush, and ripple().

Referenced by run().

void hmap::run ( int  dir,
int  mode 
)
void hmap::select ( int  x,
int  y,
int  z 
)
void hmap::smooth ( )

References flags, loopbrush, loopi(), loopj, map, and MAPPED.

Referenced by run().

Variable Documentation

int hmap::biasup

Referenced by ripple(), and run().

int hmap::bmx

Referenced by run(), and select().

int hmap::bmy

Referenced by run(), and select().

int hmap::bnx

Referenced by run(), and select().

int hmap::bny

Referenced by run(), and select().

int hmap::br
selinfo hmap::changes

Referenced by getcube(), and run().

cube* hmap::cmap[MAXBRUSHC][MAXBRUSHC][4]

Referenced by ripple(), and select().

int hmap::d

Referenced by ecjacobian::add(), adddecal(), decalrenderer::adddecal(), server::adddemo(), adddynlight(), game::addmsg(), addnormals(), listrenderer::addpart(), varenderer< T >::addpart(), skelmodel::skeleton::addpitchdep(), addtris(), gui::adjusthorizontalcolumn(), gui::adjustverticalcolumn(), ai::avoid(), skelmodel::skelmeshgroup::blendbones(), boxs(), boxsgrid(), calcdynlightmask(), shaft::calcshaft(), game::changedplayermodel(), checkdynentcache(), decalrenderer::clearfadeddecals(), game::clientdisconnected(), concatstring(), concformatstring(), ragdolldata::constraindist(), copystring(), cubecollide(), cullmodel(), game::detachcamera(), game::drawhudgun(), dropentity(), droptofloor(), dynlightreaching(), entdrag(), entflip(), entpush(), entrotate(), decalrenderer::fadeindecals(), decalrenderer::fadeoutdecals(), finddynlights(), flipcube(), flipnormalmapy(), fontalias(), forcergbimage(), formatstring(), decalrenderer::freedecal(), game::gameplayhud(), gencubeedges(), gendds(), genpos< PT_TAPE >(), genpos< PT_TRAIL >(), genrotpos(), varenderer< T >::genverts(), game::getclienticon(), game::getclientmodel(), game::getclientname(), game::getclientteam(), getcube(), getface(), game::getfollowingfov(), getmippedtexture(), game::gotoplayer(), game::ignore(), skelmodel::skeleton::initpitchdeps(), skelmodel::skeleton::interpbones(), game::isadmin(), game::isai(), game::ismaster(), game::isspectator(), ai::itemspawned(), ivec::ivec(), game::lighteffects(), linecylinderintersect(), listdir(), loaddds(), loadhistory(), lockpvs_(), matchstring(), mergenormalmaps(), modifyvelocity(), movecamera(), moveplatform(), moveplayer(), game::moveragdolls(), game::collectclientmode::movetoken(), mpeditface(), mprotate(), ecjacobian::mul2(), game::newclient(), decalrenderer::newdecal(), newstring(), game::otherplayers(), overlapsdynent(), game::parsepositions(), game::collectclientmode::parsetokens(), particle_trail(), plane::plane(), platformcollide(), prependstring(), pushsel(), pushside(), rand(), rayboxintersect(), raysphereintersect(), rdlimitdist(), regularshape(), listrenderer::render(), ai::render(), renderbackground(), renderdecals(), rendereditcursor(), game::captureclientmode::rendergame(), game::collectclientmode::rendergame(), game::ctfclientmode::rendergame(), game::rendergame(), renderlightning(), rendermodel(), game::bombclientmode::renderscoreboard(), ImageData::replace(), ripple(), rotatecube(), rotatequad(), run(), scaleimage(), varenderer< T >::seedemitter(), seedpos< PT_TAPE >(), seedpos< PT_TRAIL >(), select(), game::selectcrosshair(), server::senddemo(), game::sendpositions(), setdynlights(), setviewcell(), game::spawnstate(), game::startgame(), subdividecube(), mpr::CubePlanes::supportpoint(), game::swayhudgun(), texblur(), texcolormask(), texflip(), texgrey(), texmix(), texnormal(), texoffset(), texreorient(), threeplaneintersect(), game::unignore(), updatedynlights(), game::updateweapons(), selinfo::us(), vformatstring(), and dynent::~dynent().

int hmap::dc
int hmap::dcr

Referenced by getcube(), run(), and select().

int hmap::dr

Referenced by blurtexture(), ai::drawroute(), paint(), and run().

int hmap::fg

Referenced by run(), and select().

uchar hmap::flags[MAXBRUSH][MAXBRUSH]
uint hmap::fs

Referenced by fastshader(), getface(), and run().

int hmap::gx

Referenced by run(), and select().

int hmap::gy

Referenced by run(), and select().

int hmap::gz

Referenced by opengzfile(), rippleandset(), and run().

selinfo hmap::hundo

Referenced by run(), and select().

int hmap::hws

Referenced by run(), and select().

int hmap::map[MAXBRUSH][MAXBRUSH]
int hmap::mapz[MAXBRUSHC][MAXBRUSHC]

Referenced by ripple(), and select().

int hmap::mx
int hmap::my

Referenced by generatealpha(), mpeditface(), ripple(), and run().

int hmap::mz

Referenced by getcube(), and run().

int hmap::nx

Referenced by ripple(), and run().

int hmap::ny

Referenced by ripple(), and run().

int hmap::nz

Referenced by getcube(), and run().

bool hmap::selecting

Referenced by run(), and select().