/usr/include/osl/enter_king/enterKingUtil.h is in libosl-dev 0.8.0-1.4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | /* enterKingUtil.h
*/
#ifndef _ENTER_KING_UTIL_H
#define _ENTER_KING_UTIL_H
#include "osl/numEffectState.h"
namespace osl
{
namespace enter_king
{
int countEffectInRange(const NumEffectState& staet, Player Turn,
int x0, int x1, int y0, int y1);
int countEffectInFrontOf(const NumEffectState& state, Player attack,
Square target, Player defense);
int countPiecePointsOnStand(const NumEffectState& state, Player Turn);
template <Player Turn>
int countPiecePointsInRange(const NumEffectState& state, int& num_pieces,
int x0, int x1, int y0, int y1);
int countPiecePointsInRange(const NumEffectState& state, Player Turn, int& num_pieces,
int x0, int x1, int y0, int y1);
template <Player Turn>
int countPiecePointsOnRow(const NumEffectState& state,
int& num_pieces, int row);
int countPiecePointsOnRow(const NumEffectState& state, Player Turn,
int& num_pieces, int row);
} //namespace enter_king
} //namespace osl
#endif /* _ENTER_KING_UTIL_H */
// ;;; Local Variables:
// ;;; mode:c++
// ;;; c-basic-offset:2
// ;;; End:
|