/dports/games/zdoom/zdoom-2.8.1/src/ |
H A D | dthinker.h | 66 DThinker (int statnum = STAT_DEFAULT) throw(); 73 void ChangeStatNum (int statnum); 76 static void RunThinkers (int statnum); 82 static DThinker *FirstThinker (int statnum); 115 FThinkerIterator (const PClass *type, int statnum=MAX_STATNUM+1); 124 TThinkerIterator (int statnum=MAX_STATNUM+1) : FThinkerIterator (RUNTIME_CLASS(T), statnum) in FThinkerIterator() argument 127 TThinkerIterator (int statnum, DThinker *prev) : FThinkerIterator (RUNTIME_CLASS(T), statnum, prev) in TThinkerIterator() argument 130 …TThinkerIterator (const PClass *subclass, int statnum=MAX_STATNUM+1) : FThinkerIterator(subclass, … in FThinkerIterator() argument 133 …ThinkerIterator (FName subclass, int statnum=MAX_STATNUM+1) : FThinkerIterator(PClass::FindClass(s… in FThinkerIterator() argument 136 …erIterator (ENamedName subclass, int statnum=MAX_STATNUM+1) : FThinkerIterator(PClass::FindClass(s… in FThinkerIterator() argument [all …]
|
H A D | dthinker.cpp | 215 if ((unsigned)statnum > MAX_STATNUM) in DThinker() 217 statnum = MAX_STATNUM; in DThinker() 271 if ((unsigned)statnum > MAX_STATNUM) in FirstThinker() 273 statnum = MAX_STATNUM; in FirstThinker() 275 node = Thinkers[statnum].GetHead(); in FirstThinker() 294 if ((unsigned)statnum > MAX_STATNUM) in ChangeStatNum() 296 statnum = MAX_STATNUM; in ChangeStatNum() 301 list = &FreshThinkers[statnum]; in ChangeStatNum() 305 list = &Thinkers[statnum]; in ChangeStatNum() 494 m_Stat = statnum; in FThinkerIterator() [all …]
|
/dports/games/NBlood/NBlood-a1689a4/extras/rrsrc/ |
H A D | game5.c | 116 if (shadedsector[s->sectnum] == 1 && s->statnum != 1) in animatesprites() 184 if( t->statnum == 99 ) continue; in animatesprites() 194 …e if( ( s->statnum == 0 && s->picnum != CRANEPOLE) || s->statnum == 10 || s->statnum == 6 || s->st… in animatesprites() 243 if(t->statnum == 5) in animatesprites() 262 if( sprite[s->owner].statnum == 10 ) in animatesprites() 415 tsprite[spritesortcnt].statnum = 99; in animatesprites() 716 if (bg && s->statnum == 2 && s->extra > 0) in animatesprites() 754 if( (s->cstat&48) == 0 && t->statnum != 99 ) in animatesprites() 774 … if( (sector[sect].lotag&0xff) > 2 || s->statnum == 4 || s->statnum == 5 || s->picnum == DRONE ) in animatesprites() 784 tsprite[spritesortcnt].statnum = 99; in animatesprites() [all …]
|
H A D | gamedef1.c | 241 … if( s->statnum == 10 || s->statnum == 6 || s->statnum == 2 || s->statnum == 1 || s->statnum == 4) in getglobalz() 243 if(s->statnum == 4) in getglobalz() 254 if( s->statnum != 4 ) in getglobalz() 267 else if(s->statnum == 4 && sprite[lz].picnum == APLAYER) in getglobalz() 304 if( ( s->statnum == 1 || s->statnum == 10 || s->statnum == 2 || s->statnum == 6 ) ) in makeitfall()
|
H A D | actors6.c | 184 if(sprite[p].statnum != 3 && sprite[p].statnum != 4) in moveeffectors() 1438 if(sprite[j].statnum == 10 && sprite[j].owner >= 0) in moveeffectors() 1449 if( sprite[j].statnum != 3 ) in moveeffectors() 1497 if(sprite[k].statnum == 10 && sprite[k].owner >= 0) in moveeffectors() 1519 else if( sprite[k].statnum != 3 ) in moveeffectors() 1721 if( sprite[j].statnum != 3 && sprite[j].zvel == 0) in moveeffectors() 1727 if(sprite[j].statnum == 2) in moveeffectors() 1813 switch(sprite[j].statnum) in moveeffectors() 1854 if(sprite[j].statnum == 2) in moveeffectors() 1979 if(sprite[j].statnum != 3 && sprite[j].statnum != 10) in moveeffectors() [all …]
|
/dports/games/NBlood/NBlood-a1689a4/source/build/src/ |
H A D | engine_oldmap.h | 39 int16_t sectnum, statnum; member 77 int16_t sectnum, statnum; member 174 to->statnum = from->statnum; in convertv5sprv6() 252 to->statnum = from->statnum; in convertv6sprv7()
|
/dports/games/NBlood/NBlood-a1689a4/source/sw/src/ |
H A D | vator.cpp | 156 if (fsp->statnum == STAT_VATOR && SP_TAG1(fsp) == SECT_VATOR && SP_TAG3(fsp) == 0) in DoVatorOperate() 326 if (TEST(User[i]->Flags, SPR_SKIP4) && sp->statnum <= STAT_SKIP4_INTERP_END) in InterpSectorSprites() 329 if (TEST(User[i]->Flags, SPR_SKIP2) && sp->statnum <= STAT_SKIP2_INTERP_END) in InterpSectorSprites() 355 switch (sp->statnum) in MoveSpritesWithSector() 370 switch (sp->statnum) in MoveSpritesWithSector() 545 if (bsp->statnum == STAT_ENEMY) in DoVator() 595 if (bsp->statnum == STAT_ENEMY) in DoVator()
|
H A D | draw.cpp | 394 New->statnum = MAXSTATUS; in DoShadows() 619 New->statnum = 0; in WarpCopySprite() 640 New->statnum = 0; in WarpCopySprite() 720 if (tsp->statnum >= STAT_DONT_DRAW) in analyzesprites() 935 switch (tsp->statnum) in analyzesprites() 1051 atsp->statnum = 1; in post_analyzesprites() 1052 tsp->statnum = 0; in post_analyzesprites() 1547 if (sprite[i].statnum < MAXSTATUS) in SpriteSortList2D() 2061 short statnum = sp->statnum; in PostDraw() local 2064 sp->statnum = statnum; in PostDraw() [all …]
|
H A D | interpso.cpp | 139 if (sprite[i].statnum == STAT_VATOR && SP_TAG1(sprite+i) == SECT_VATOR) in so_addinterpolation() 298 if (u && (sprite[sprnum].statnum != STAT_DEFAULT) && in so_dointerpolations() 299 … ((TEST(u->Flags, SPR_SKIP4) && (sprite[sprnum].statnum <= STAT_SKIP4_INTERP_END)) || in so_dointerpolations() 300 … (TEST(u->Flags, SPR_SKIP2) && (sprite[sprnum].statnum <= STAT_SKIP2_INTERP_END)))) in so_dointerpolations()
|
/dports/games/jfsw/jfsw-c434002/src/ |
H A D | vator.c | 160 if (fsp->statnum == STAT_VATOR && SP_TAG1(fsp) == SECT_VATOR && SP_TAG3(fsp) == 0) in DoVatorOperate() 333 if (TEST(User[i]->Flags, SPR_SKIP4) && sp->statnum <= STAT_SKIP4_INTERP_END) in InterpSectorSprites() 336 if (TEST(User[i]->Flags, SPR_SKIP2) && sp->statnum <= STAT_SKIP2_INTERP_END) in InterpSectorSprites() 363 switch (sp->statnum) in MoveSpritesWithSector() 378 switch (sp->statnum) in MoveSpritesWithSector() 555 if (bsp->statnum == STAT_ENEMY) in DoVator() 608 if (bsp->statnum == STAT_ENEMY) in DoVator()
|
H A D | draw.c | 402 new->statnum = MAXSTATUS; in DoShadows() 609 new->statnum = 0; in WarpCopySprite() 633 new->statnum = 0; in WarpCopySprite() 714 if (tsp->statnum >= STAT_DONT_DRAW) in analyzesprites() 911 switch (tsp->statnum) in analyzesprites() 1031 atsp->statnum = 1; in post_analyzesprites() 1032 tsp->statnum = 0; in post_analyzesprites() 2049 short sectnum,statnum; in PostDraw() local 2067 statnum = sp->statnum; in PostDraw() 2070 sp->statnum = statnum; in PostDraw() [all …]
|
/dports/games/NBlood/NBlood-a1689a4/source/exhumed/src/ |
H A D | move.cpp | 374 if (pSprite->statnum <= 107) { in movespritez() 411 …if (pSprite->statnum == 100 && sprite[nFloorSprite].statnum != 0 && sprite[nFloorSprite].statnum <… in movespritez() 423 if (sprite[nFloorSprite].statnum == 0 || sprite[nFloorSprite].statnum > 199) in movespritez() 488 if (pSprite->statnum == 100) in movespritez() 532 if (pSprite->statnum == 100) in movesprite() 588 if (sprite[nSprite].statnum != 100) in Gravity() 1002 if (sprite[i].statnum < 99) in MoveSector() 1028 if (sprite[i].statnum >= 99) in MoveSector() 1079 if (sprite[i].statnum >= 99 && nZVal == sprite[i].z && !(sprite[i].cstat & 0x8000)) in MoveSector() 1161 int nClipType = sprite[nSprite].statnum != 107; in AngleChase() [all …]
|
H A D | bullet.cpp | 161 short nStat = sprite[nHitSprite].statnum; in BulletHitsSprite() 431 if (pSprite->pal == 5 && sprite[hitsprite].statnum == 100) in MoveBullet() 579 if (sprite[nSprite].statnum == 100) in BuildBullet() 707 if (sprite[nTargetSprite].statnum == 100) in BuildBullet() 720 if (nSprite != -1 && sprite[nSprite].statnum != 100) in BuildBullet() 725 if (sprite[nTargetSprite].statnum != 100) in BuildBullet() 834 tsprite[nSprite2].statnum = 1000; in FuncBullet()
|
H A D | rex.cpp | 172 if (nTarget >= 0 && sprite[nTarget].statnum == 100) in FuncRex() 383 if (sprite[nSprite2].statnum && sprite[nSprite2].statnum < 107) in FuncRex() 392 if (sprite[nSprite2].statnum == 100) in FuncRex()
|
H A D | snake.cpp | 183 if (hitsprite >= 0 && sprite[hitsprite].statnum >= 90 && sprite[hitsprite].statnum <= 199) { in BuildSnake() 285 if (sprite[i].statnum >= 90 && sprite[i].statnum < 150 && (sprite[i].cstat & 0x101)) in FindSnakeEnemy()
|
H A D | anims.cpp | 119 if (sprite[nSprite].statnum < 900) { in BuildAnim() 169 if (sprite[nSprite].statnum == kStatIgnited) in FuncAnim() 307 if (sprite[nSprite].statnum != 200) in BuildSplash()
|
H A D | items.cpp | 124 int nItem = sprite[nSprite].statnum - 906; in BuildItemAnim() 135 changespritestat(nAnimSprite, sprite[nSprite].statnum); in BuildItemAnim() 493 if (sprite[nSprite].statnum == kStatExplodeTrigger) { in DoRegenerates()
|
H A D | object.cpp | 543 if (sprite[nSprite].statnum != 200) { in MoveSectorSprites() 1836 if (sprite[nSprite].statnum == kStatDestructibleSprite) { in BuildObject() 1870 if (sprite[nSprite].statnum == kStatDestructibleSprite) { in BuildObject() 1899 short nStat = sprite[nSprite].statnum; in FuncObject() 1957 || sprite[nRadialSpr].statnum == 201 in FuncObject() 1966 if (sprite[nSprite].statnum != kStatAnubisDrum) { in FuncObject() 1970 if (sprite[nSprite].statnum == kStatExplodeTarget) in FuncObject() 1976 else if (sprite[nSprite].statnum != kStatAnubisDrum) in FuncObject() 1987 if (sprite[nSprite].statnum == kStatExplodeTarget) in FuncObject() 2047 if (sprite[nSprite].statnum == kStatExplodeTrigger) { in FuncObject() [all …]
|
/dports/games/NBlood/NBlood-a1689a4/source/blood/src/ |
H A D | triggers.cpp | 546 if (pSprite->statnum != kStatRespawn) { in OperateSprite() 911 switch (pSprite->statnum) { in TranslateSector() 973 if (pSprite->statnum == kStatMarker || pSprite->statnum == kStatPathMarker) in ZTranslateSector() 1000 if (pSprite->statnum == kStatMarker || pSprite->statnum == kStatPathMarker) in ZTranslateSector() 1042 if (pSprite->statnum == kStatDude || pSprite->statnum == kStatThing) in GetCrushedSpriteExtents() 1430 if (pSprite->statnum == kStatDude) in TeleFrag() 1443 dassert(pDest->statnum == kStatMarker); in OperateTeleport() 1449 if (pSprite->statnum == kStatDude) in OperateTeleport() 1996 if (sprite[i].statnum < kStatFree) in trInit() 2176 dassert(pSprite->statnum != kMaxStatus); in InitGenerator() [all …]
|
H A D | m32common.cpp | 488 if (sprite[j].statnum != MAXSTATUS) in create_map_snapshot() 559 && (unsigned)sprite[i].statnum < MAXSTATUS); in map_undoredo() 560 insertsprite(sprite[i].sectnum, sprite[i].statnum); in map_undoredo() 749 const int32_t sectnum=sprite[i].sectnum, statnum=sprite[i].statnum; in check_spritelist_consistency() local 753 if ((statnum==MAXSTATUS) != (sectnum==-1)) in check_spritelist_consistency() 756 … if ((unsigned)statnum > MAXSTATUS || (sectnum!=-1 && (unsigned)sectnum > (unsigned)numsectors)) in check_spritelist_consistency() 759 if (statnum != MAXSTATUS) in check_spritelist_consistency() 803 if (sprite[i].statnum!=MAXSTATUS && !(havesprite[i>>3]&pow2char[i&7])) in check_spritelist_consistency() 829 if (sprite[i].statnum != s) in check_spritelist_consistency() 1302 if (sprite[i].statnum==MAXSTATUS) in CheckMapCorruption() [all …]
|
H A D | endgame.cpp | 138 …if (pSprite->statnum == kStatDude && pSprite->type != kDudeBat && pSprite->type != kDudeRat && pSp… in AddKill() 150 …if (pSprite->statnum == kStatDude && pSprite->type != kDudeBat && pSprite->type != kDudeRat && pSp… in sub_2641C()
|
H A D | db.cpp | 241 sprite[nSprite].statnum = nStat; in InsertSpriteStat() 248 int nStat = sprite[nSprite].statnum; in RemoveSpriteStat() 264 sprite[nSprite].statnum = kStatNothing; in RemoveSpriteStat() 334 dassert(sprite[nSprite].statnum >= 0 && sprite[nSprite].statnum < kMaxStatus); in DeleteSprite() 369 dassert(sprite[nSprite].statnum >= 0 && sprite[nSprite].statnum < kMaxStatus); in ChangeSpriteStat() 478 if (sprite[i].statnum < kMaxStatus && nXSprite > 0) in dbXSpriteClean() 495 if (sprite[nSprite].statnum >= kMaxStatus || sprite[nSprite].extra != i) in dbXSpriteClean() 1113 pSprite->statnum = B_LITTLE16(pSprite->statnum); in dbLoadMap() 1124 InsertSpriteStat(i, sprite[i].statnum); in dbLoadMap() 1370 if (sprite[i].statnum < kMaxStatus) in dbSaveMap() [all …]
|
/dports/games/NBlood/NBlood-a1689a4/source/duke3d/src/ |
H A D | m32common.cpp | 478 if (sprite[j].statnum != MAXSTATUS) in create_map_snapshot() 549 && (unsigned)sprite[i].statnum < MAXSTATUS); in map_undoredo() 550 insertsprite(sprite[i].sectnum, sprite[i].statnum); in map_undoredo() 739 const int32_t sectnum=sprite[i].sectnum, statnum=sprite[i].statnum; in check_spritelist_consistency() local 743 if ((statnum==MAXSTATUS) != (sectnum==MAXSECTORS)) in check_spritelist_consistency() 746 …if ((unsigned)statnum > MAXSTATUS || (sectnum!=MAXSECTORS && (unsigned)sectnum > (unsigned)numsect… in check_spritelist_consistency() 749 if (statnum != MAXSTATUS) in check_spritelist_consistency() 793 if (sprite[i].statnum!=MAXSTATUS && !(havesprite[i>>3]&pow2char[i&7])) in check_spritelist_consistency() 819 if (sprite[i].statnum != s) in check_spritelist_consistency() 1292 if (sprite[i].statnum==MAXSTATUS) in CheckMapCorruption() [all …]
|
/dports/games/NBlood/NBlood-a1689a4/source/rr/src/ |
H A D | m32common.cpp | 484 if (sprite[j].statnum != MAXSTATUS) in create_map_snapshot() 560 && (unsigned)sprite[i].statnum < MAXSTATUS); in map_undoredo() 561 insertsprite(sprite[i].sectnum, sprite[i].statnum); in map_undoredo() 750 const int32_t sectnum=sprite[i].sectnum, statnum=sprite[i].statnum; in check_spritelist_consistency() local 754 if ((statnum==MAXSTATUS) != (sectnum==MAXSECTORS)) in check_spritelist_consistency() 757 …if ((unsigned)statnum > MAXSTATUS || (sectnum!=MAXSECTORS && (unsigned)sectnum > (unsigned)numsect… in check_spritelist_consistency() 760 if (statnum != MAXSTATUS) in check_spritelist_consistency() 804 if (sprite[i].statnum!=MAXSTATUS && !(havesprite[i>>3]&(1<<(i&7)))) in check_spritelist_consistency() 830 if (sprite[i].statnum != s) in check_spritelist_consistency() 1303 if (sprite[i].statnum==MAXSTATUS) in CheckMapCorruption() [all …]
|
/dports/games/NBlood/NBlood-a1689a4/source/rr/src/lunatic/ |
H A D | defs_common.lua | 1046 if (ffiC.sprite[i].statnum ~= ffiC.MAXSTATUS) then 1088 function static_members.sprite.changestat(spritenum, statnum, noerr) 1091 if (not (statnum >= 0 and statnum < ffiC.MAXSTATUS)) then 1092 error("invalid status number "..statnum, 2) 1094 if (ffiC.changespritestat(spritenum, statnum)==-1 and not noerr) then 1126 if (ffiC.sprite[key].statnum == ffiC.MAXSTATUS) then
|