Searched refs:hasent (Results 1 – 6 of 6) sorted by relevance
/dports/games/bloodfrontier/bloodfrontier/src/game/ |
H A D | entities.cpp | 2236 bool hasent = false, edit = m_edit(game::gamemode) && cansee(e); in drawparticle() local 2241 …hasent = game::player1->state == CS_EDITING && idx >= 0 && (entgroup.find(idx) >= 0 || enthover ==… in drawparticle() 2242 …part_create(hasent ? PART_EDIT_ONTOP : PART_EDIT, 1, o, hasent ? 0xAA22FF : 0x441188, hasent ? 2.f… in drawparticle() 2245 …defformatstring(s)("<super>%s%s (%d)", hasent ? "\fp" : "\fv", enttype[e.type].name, idx >= 0 ? id… in drawparticle() 2246 part_textcopy(pos.add(off), s, hasent ? PART_TEXT_ONTOP : PART_TEXT); in drawparticle() 2247 if(showentinfo >= 3 || hasent) loopk(enttype[e.type].numattrs) in drawparticle() 2265 formatstring(s)("%s%s:%d", hasent ? "\fw" : "\fd", attrname, e.attrs[k]); in drawparticle() 2266 part_textcopy(pos.add(off), s, hasent ? PART_TEXT_ONTOP : PART_TEXT); in drawparticle() 2271 bool notitem = (edit && (showentinfo >= 4 || hasent)), in drawparticle() 2283 const char *itxt = entinfo(e.type, e.attrs, showentinfo >= 5 || hasent); in drawparticle() [all …]
|
/dports/games/redeclipse/base-2.0.0/src/game/ |
H A D | entities.cpp | 2102 hasent = isedit && (enthover == idx || entgroup.find(idx) >= 0), in drawparticle() local 2103 hastop = hasent && e.o.squaredist(camera1->o) <= showentdist*showentdist; in drawparticle() 2148 if(showentinfo&(hasent ? 4 : 8)) in drawparticle() 2154 …if(isedit ? (showentinfo&(hasent ? 1 : 2)) : (enttype[e.type].usetype == EU_ITEM && active && show… in drawparticle() 2163 if(edit && showentinfo&(hasent ? 16 : 32)) loopk(numattrs(e.type)) in drawparticle()
|
H A D | server.cpp | 2302 bool hasent = sents.inrange(ci->spawnpoint) && sents[ci->spawnpoint].type == ACTOR; in sendspawn() local 2304 …else weap = hasent && sents[ci->spawnpoint].attrs[6] > 0 ? sents[ci->spawnpoint].attrs[6]-1 : m_we… in sendspawn() 2305 …if(!m_insta(gamemode, mutators) && hasent && sents[ci->spawnpoint].attrs[7] > 0) health = max(sent… in sendspawn()
|
/dports/games/redeclipse16/base-1.6.0/src/game/ |
H A D | entities.cpp | 2380 hasent = isedit && idx >= 0 && (enthover == idx || entgroup.find(idx) >= 0), in drawparticle() local 2381 hastop = hasent && e.o.squaredist(camera1->o) <= showentdist*showentdist; in drawparticle() 2404 …if(isedit ? (showentinfo&(hasent ? 1 : 2)) : (enttype[e.type].usetype == EU_ITEM && active && show… in drawparticle() 2416 if(showentinfo&(hasent ? 4 : 8)) in drawparticle() 2421 if(showentinfo&(hasent ? 16 : 32)) loopk(enttype[e.type].numattrs) in drawparticle()
|
H A D | game.cpp | 972 …bool hasent = entities::ents.inrange(d->spawnpoint) && entities::ents[d->spawnpoint]->type == ACTO… in rescale() local 973 …if(hasent && entities::ents[d->spawnpoint]->attrs[9] > 0) total *= (entities::ents[d->spawnpoint]-… in rescale() 1044 …bool hasent = d->actortype >= A_ENEMY && entities::ents.inrange(d->spawnpoint) && entities::ents[d… in checkoften() local 1045 …if(hasent && entities::ents[d->spawnpoint]->attrs[8] > 0) d->speedscale *= entities::ents[d->spawn… in checkoften()
|
H A D | server.cpp | 2222 bool hasent = sents.inrange(ci->spawnpoint) && sents[ci->spawnpoint].type == ACTOR; in sendspawn() local 2224 …else weap = hasent && sents[ci->spawnpoint].attrs[6] > 0 ? sents[ci->spawnpoint].attrs[6]-1 : m_we… in sendspawn() 2225 …if(!m_insta(gamemode, mutators) && hasent && sents[ci->spawnpoint].attrs[7] > 0) health = max(sent… in sendspawn()
|