Home
last modified time | relevance | path

Searched refs:hasShip (Results 1 – 11 of 11) sorted by relevance

/dports/games/lordsawar/lordsawar-0.3.2/src/
H A Dnetwork_player.cpp369 if (stack->hasShip() != action->getHadShip()) in decodeActionMove()
371 printf("expected %d for hadship, but got %d\n", action->getHadShip(), stack->hasShip()); in decodeActionMove()
373 assert (stack->hasShip() == action->getHadShip()); in decodeActionMove()
393 bool on_ship = stack->hasShip(); in decodeActionMove()
405 if (stack->hasShip() != action->getHasShip()) in decodeActionMove()
407 printf("expected %d for ship, but we got %d\n", action->getHasShip(), stack->hasShip()); in decodeActionMove()
409 assert (stack->hasShip() == action->getHasShip()); in decodeActionMove()
H A DPathCalculator.cpp107 …boat_reset_moves(s->getMaxBoatMoves()), zigzag(zig), on_ship(stack->hasShip()), enemy_city_avoidan… in PathCalculator()
137 on_ship = stack->hasShip(); in PathCalculator()
152 on_ship = stack->hasShip(); in PathCalculator()
H A Dstack.h374 bool hasShip () const;
H A Dbigmap.cpp327 if (s->hasShip()) in draw_stack()
505 else if (stack->hasShip() == true) in draw_buffer_tile()
H A Dstack.cpp169 bool on_ship = hasShip(); in moveToDest()
676 bool Stack::hasShip () const in hasShip() function in Stack
H A DAI_Allocation.cpp327 if (s->hasShip() != enemy->hasShip()) in attackNearbyEnemies()
H A Dstacklist.cpp618 if ((*it)->hasShip()) in killArmyUnitsInBoats()
H A Daction.cpp355 d_has_ship(s->hasShip()), d_had_ship (s->hasShip()) in Action_Move()
H A Dplayer.cpp1100 a->setHasShip(s->hasShip()); in stackMoveOneStepOverTooLargeFriendlyStacks()
1202 a->setHasShip(s->hasShip()); in stackMoveOneStep()
/dports/games/lordsawar/lordsawar-0.3.2/src/gui/
H A Dstack-tile-box.cpp227 gc->getMoveBonusPic(bonus, s->hasShip(), in fill_in_group_info()
/dports/games/lordsawar/lordsawar-0.3.2/src/editor/
H A Dstack-editor-dialog.cpp170 bool ship = stack->hasShip(); in update_armies()