/usr/include/osl/enter_king/enterKingUtil.h is in libosl-dev 0.6.0-3.
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 33 | /* enterKingUtil.h
*/
#ifndef _ENTER_KING_UTIL_H
#define _ENTER_KING_UTIL_H
#include "osl/state/numEffectState.h"
#include "osl/player.h"
namespace osl
{
namespace enter_king
{
int countEffectInRange(const osl::state::NumEffectState& staet, Player Turn,
int x0, int x1, int y0, int y1);
int countEffectInFrontOf(const osl::state::NumEffectState& state, Player attack,
Square target, Player defense);
int countPiecePointsOnStand(const osl::state::NumEffectState& state, Player Turn);
template <Player Turn>
int countPiecePointsInRange(const osl::state::NumEffectState& state, int& num_pieces,
int x0, int x1, int y0, int y1);
int countPiecePointsInRange(const osl::state::NumEffectState& state, Player Turn, int& num_pieces,
int x0, int x1, int y0, int y1);
template <Player Turn>
int countPiecePointsOnRow(const osl::state::NumEffectState& state,
int& num_pieces, int row);
int countPiecePointsOnRow(const osl::state::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:
|