Home
last modified time | relevance | path

Searched refs:IsValidPos (Results 1 – 25 of 27) sorted by relevance

12

/dports/games/ivan/ivan-059/Main/Include/
H A Darea.h44 …truth IsValidPos(v2 Pos) const { return Pos.X >= 0 && Pos.Y >= 0 && Pos.X < XSize && Pos.Y < YSize… in IsValidPos() function
45 truth IsValidPos(int X, int Y) const { return X >= 0 && Y >= 0 && X < XSize && Y < YSize; } in IsValidPos() function
/dports/games/blockout/BL_SRC/BlockOut/
H A DBotPlayer.cpp364 validMove = IsValidPos(); \
382 validMove = IsValidPos();
503 validMove = IsValidPos(); in AnalysePlane()
529 BOOL BotPlayer::IsValidPos() { in IsValidPos() function in BotPlayer
743 } while( IsValidPos() ); in DropBlock()
874 if( !IsValidPos() ) { in Move()
H A DBotPlayer.h76 BOOL IsValidPos();
/dports/games/ivan/ivan-059/Main/Source/
H A Dworldmap.cpp318 if(IsValidPos(Pos) && AltitudeBuffer[Pos.X][Pos.Y] <= 0) in Generate()
328 if(!IsValidPos(TunnelEntry) in Generate()
348 && (!IsValidPos(x, y) in Generate()
834 if(IsValidPos(X, Y)) in SafeSmooth()
846 if(IsValidPos(X, Y)) in SafeSmooth()
883 if(IsValidPos(Pos) && AltitudeBuffer[Pos.X][Pos.Y] <= 0) in GenerateClimate()
965 if(IsValidPos(X, Y)) in WhatTerrainIsMostCommonAroundCurrentTerritorySquareIncludingTheSquareItself()
974 if(IsValidPos(X, Y)) in WhatTerrainIsMostCommonAroundCurrentTerritorySquareIncludingTheSquareItself()
1008 if(IsValidPos(Pos)) in CalculateContinents()
H A Dlevel.cpp576 if(!IsValidPos(CharPos) || !IsValidPos(CharPos + CharSize - v2(1, 1))) in MakeRoom()
616 if(!IsValidPos(ItemPos) || !IsValidPos(ItemPos + ItemSize - v2(1, 1))) in MakeRoom()
661 if(!IsValidPos(GTerrainPos) || !IsValidPos(GTerrainPos + GTerrainSize - v2(1, 1))) in MakeRoom()
702 if(!IsValidPos(OTerrainPos) || !IsValidPos(OTerrainPos + OTerrainSize - v2(1, 1))) in MakeRoom()
764 if(IsValidPos(x, y) && FlagMap[x][y] & EXPANSIVE) in CheckExpansiveArea()
1610 if(!IsValidPos(CurrentPos)) in ParticleBeam()
1672 if(!IsValidPos(CurrentPos)) in LightningBeam()
1835 if(IsValidPos(Beam.StartPos + Pos[c])) in ShieldBeam()
1885 if(IsValidPos(Pos)) in FreeSquareSeeker()
1923 if(IsValidPos(Pos) && Char->CanMoveOn(GetLSquare(Pos))) in GetNearestFreeSquare()
[all …]
H A Dcommand.cpp416 if(DirVect != ERROR_V2 && Char->GetArea()->IsValidPos(Char->GetPos() + DirVect)){ in Open()
475 … if(Dir != DIR_ERROR && Char->GetArea()->IsValidPos(Char->GetPos() + game::GetMoveVector(Dir))) in Close()
483 if(Dir != DIR_ERROR && Char->GetArea()->IsValidPos(Char->GetPos() + game::GetMoveVector(Dir))) in Close()
808 if(Dir == DIR_ERROR || !Char->GetArea()->IsValidPos(Char->GetPos() + game::GetMoveVector(Dir))) in Talk()
919 …if(Dir == DIR_ERROR || !Char->GetArea()->IsValidPos(Pos) || !Char->GetNearLSquare(Pos)->IsDipDesti… in Dip()
1282 if(Dir == DIR_ERROR || !Char->GetArea()->IsValidPos(Char->GetPos() + game::GetMoveVector(Dir))) in Kick()
1465 if(Char->GetArea()->IsValidPos(VomitPos)) in ForceVomit()
1659 if(Char->GetLevel()->IsValidPos((*pv2ChoseLocation))) in ShowMapWork()
1665 if(!game::GetCurrentArea()->IsValidPos(start)){ in ShowMapWork()
2307 if(Dir == DIR_ERROR || !Char->GetArea()->IsValidPos(Char->GetPos() + game::GetMoveVector(Dir))) in Possess()
H A Dstack.cpp315 if(GetArea()->IsValidPos(GetPos() + v2(0, 1))) in GetLSquareTrulyUnder()
320 if(GetArea()->IsValidPos(GetPos() + v2(-1, 0))) in GetLSquareTrulyUnder()
325 if(GetArea()->IsValidPos(GetPos() + v2(0, -1))) in GetLSquareTrulyUnder()
330 if(GetArea()->IsValidPos(GetPos() + v2(1, 0))) in GetLSquareTrulyUnder()
H A Dnonhuman.cpp1592 return Area->IsValidPos(Pos) ? SquareUnder->GetArea()->GetSquare(Pos) : 0; in GetNeighbourSquare()
1603 if(Level->IsValidPos(SquarePos)) in CalculateNewSquaresUnder()
1621 if(!Area->IsValidPos(SquarePos) in IsFreeForMe()
1639 …if(!Level->IsValidPos(SquarePos) || !(GetMoveType() & Level->GetLSquare(SquarePos)->GetTheoretical… in CanTheoreticallyMoveOn()
1655 if(!Level->IsValidPos(SquarePos) || !PartCanMoveOn(Level->GetLSquare(SquarePos))) in CanMoveOn()
1670 …if(!Area->IsValidPos(SquarePos) || !(GetMoveType() & Area->GetSquare(SquarePos)->GetSquareWalkabil… in CanMoveOn()
H A Dgod.cpp234 if(game::GetCurrentArea()->IsValidPos(TryToCreate)) in CreateAngel()
H A Dmiscitem.cpp315 …if(Dir == DIR_ERROR || !Reader->GetArea()->IsValidPos(Reader->GetPos() + game::GetMoveVector(Dir))) in FinishReading()
812 if(GetArea()->IsValidPos(TryToCreate) in Apply()
962 if(GetArea()->IsValidPos(Test)) in FinishReading()
1174 if(DirVect != ERROR_V2 && User->GetArea()->IsValidPos(User->GetPos() + DirVect)) in Apply()
1919 if(Remains->GetLevel()->IsValidPos(Pos)) in Break()
H A Digraph.cpp674 if(CacheBitmap->IsValidPos(EndPos) && CacheBitmap->GetPixel(EndPos) != 0) in GenerateScarBitmap()
H A Dchar.cpp1371 if(GetLevel()->IsValidPos(Pos)) in CalculateNewSquaresUnder()
1621 && GetArea()->IsValidPos(MoveTo) in TryMove()
2532 if(GetLevel()->IsValidPos(GetPos() + ToTry)) in MoveRandomly()
3023 if(game::GetCurrentLevel()->IsValidPos(v2Chk)){ in AutoPlayAIDropThings()
4548 if(GetLevel()->IsValidPos(GetPos() + ToTry)) in MoveRandomlyInRoom()
4959 if(IsGoingSomeWhere() && GetLevel()->IsValidPos(GoingTo)) in TeleportRandomly()
9230 if(SquareUnder[0] && Pummeled && GetArea()->IsValidPos(SpillPos)) in GetHitByExplosion()
10033 if(Level->IsValidPos(Pos)) in CheckForFoodInSquare()
13134 if(Level->IsValidPos(TestPos)) in CheckAIZapOpportunity()
H A Dgear.cpp178 if(!GetArea()->IsValidPos(ToBeDug)) in Apply()
H A Ditem.cpp187 if(!GetLevel()->IsValidPos(Pos + DirVector)) in Fly()
H A Dcmdcraft.cpp742 if(rpd.rc.H()->GetArea()->IsValidPos(v2W)){ in whereRaw()
1358 if(game::GetCurrentLevel()->IsValidPos(v2Pos)){ in findOLT()
H A Dhuman.cpp6152 if(GetArea()->IsValidPos(TryToCreate) in CallForMonsters()
6214 if(GetArea()->IsValidPos(TryToCreate) in CallForMonsters()
H A Dgame.cpp3265 if(GetCurrentLevel()->IsValidPos(v2Chk)){ in UpdateShowItemsAtPos()
3419 if(GetCurrentArea()->IsValidPos(v2SqrPosIni)){ in UpdateShowItemsAtPos()
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/inc/
H A Danchoreddrawobject.hxx112 bool IsValidPos() const in IsValidPos() function in SwAnchoredDrawObject
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/inc/
H A Danchoreddrawobject.hxx111 bool IsValidPos() const in IsValidPos() function in SwAnchoredDrawObject
/dports/games/ivan/ivan-059/FeLib/Include/
H A Dbitmap.h114 …truth IsValidPos(v2 What) const { return What.X >= 0 && What.Y >= 0 && What.X < Size.X && What.Y <… in IsValidPos() function
115 truth IsValidPos(int X, int Y) const { return X >= 0 && Y >= 0 && X < Size.X && Y < Size.Y; } in IsValidPos() function
/dports/editors/libreoffice/libreoffice-7.2.6.2/svx/source/dialog/
H A Dframelinkarray.cxx204 bool IsValidPos( size_t nCol, size_t nRow ) const in IsValidPos() function
257 return IsValidPos( nCol, nRow ) ? maCells[ GetIndex( nCol, nRow ) ] : OBJ_CELL_NONE; in GetCell()
263 return IsValidPos( nCol, nRow ) ? maCells[ GetIndex( nCol, nRow ) ] : aDummy; in GetCellAcc()
708 if( mxImpl->IsValidPos( nFirstCol, nFirstRow ) && mxImpl->IsValidPos( nLastCol, nLastRow ) ) in SetMergedRange()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/svx/source/dialog/
H A Dframelinkarray.cxx202 bool IsValidPos( size_t nCol, size_t nRow ) const in IsValidPos() function
255 return IsValidPos( nCol, nRow ) ? maCells[ GetIndex( nCol, nRow ) ] : OBJ_CELL_NONE; in GetCell()
261 return IsValidPos( nCol, nRow ) ? maCells[ GetIndex( nCol, nRow ) ] : aDummy; in GetCellAcc()
703 if( mxImpl->IsValidPos( nFirstCol, nFirstRow ) && mxImpl->IsValidPos( nLastCol, nLastRow ) ) in SetMergedRange()
/dports/games/ivan/ivan-059/FeLib/Source/
H A Dfelist.cpp836 return Buffer->IsValidPos(pos.X+v2DefaultEntryImageSize.X, pos.Y+v2DefaultEntryImageSize.Y); in IsEntryDrawingAtValidPos()
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/source/core/layout/
H A Dlayact.cxx920 if ( !pDrawObject->IsValidPos() ) in lcl_FindFirstInvaObj()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/source/core/layout/
H A Dlayact.cxx942 if ( !pDrawObject->IsValidPos() ) in lcl_FindFirstInvaObj()

12