Home
last modified time | relevance | path

Searched refs:Pawn (Results 1 – 25 of 615) sorted by relevance

12345678910>>...25

/dports/graphics/gource/gource-0.51/src/
H A Dpawn.cpp22 Pawn::Pawn(const std::string& name, vec2 pos, int tagid) { in Pawn() function in Pawn
47 float Pawn::getSize() { in getSize()
51 void Pawn::setPos(vec2 pos) { in setPos()
55 int Pawn::getTagID() { in getTagID()
59 void Pawn::showName() { in showName()
63 void Pawn::updateQuadItemBounds() { in updateQuadItemBounds()
73 void Pawn::logic(float dt) { in logic()
111 bool Pawn::nameVisible() const { in nameVisible()
115 void Pawn::drawName() { in drawName()
129 void Pawn::drawShadow(float dt) { in drawShadow()
[all …]
H A Dfile.cpp27 RFile::RFile(const std::string & name, const vec3 & colour, const vec2 & pos, int tagid) : Pawn(nam… in RFile()
165 float alpha = Pawn::getAlpha(); in getAlpha()
176 Pawn::logic(dt); in logic()
259 Pawn::setHidden(hidden); in setHidden()
295 Pawn::draw(dt); in draw()
H A Duser.cpp24 RUser::RUser(const std::string& name, vec2 pos, int tagid) : Pawn(name,pos,tagid) { in RUser()
234 Pawn::logic(dt); in logic()
327 Pawn::setSelected(selected); in setSelected()
346 float alpha = Pawn::getAlpha(); in getAlpha()
368 … return (Pawn::nameVisible() || gGourceSettings.highlight_all_users || highlighted) ? true : false; in nameVisible()
417 Pawn::draw(dt); in draw()
H A Dpawn.h30 class Pawn : public QuadItem {
70 Pawn(const std::string& name, vec2 pos, int tagid);
/dports/devel/cppurses/CPPurses-0.3-5-g342a389/demos/chess/src/
H A Dstate.cpp12 {{2, 1}, {Figure::Pawn, Side::White}},
13 {{2, 2}, {Figure::Pawn, Side::White}},
14 {{2, 3}, {Figure::Pawn, Side::White}},
15 {{2, 4}, {Figure::Pawn, Side::White}},
16 {{2, 5}, {Figure::Pawn, Side::White}},
17 {{2, 6}, {Figure::Pawn, Side::White}},
18 {{2, 7}, {Figure::Pawn, Side::White}},
19 {{2, 8}, {Figure::Pawn, Side::White}},
28 {{7, 1}, {Figure::Pawn, Side::Black}},
29 {{7, 2}, {Figure::Pawn, Side::Black}},
[all …]
/dports/x11/eaglemode/eaglemode-0.95.0/src/SilChess/graphics/
H A Dpieces.pov51 #declare Pawn = union {
158 object { Pawn texture { TWhite } translate <-150, 0,-50> }
170 object { Pawn texture { TBlack } translate < 150, 0, 50> }
180 object { Pawn texture { TWhite } translate <-350, 0,-250> }
181 object { Pawn texture { TWhite } translate <-250, 0,-250> }
182 object { Pawn texture { TWhite } translate <-150, 0,-250> }
183 object { Pawn texture { TWhite } translate < -50, 0,-250> }
184 object { Pawn texture { TWhite } translate < 50, 0,-250> }
185 object { Pawn texture { TWhite } translate < 150, 0,-250> }
186 object { Pawn texture { TWhite } translate < 250, 0,-250> }
[all …]
/dports/games/biloba/biloba-0.9.3/src/
H A Dpawn.c94 Pawn *pawn = (Pawn *)cur->data; in pawn_find()
108 Pawn *pawn = (Pawn *)cur->data; in pawn_count()
123 Pawn *pawn = (Pawn *)cur->data; in pawn_get_all()
177 Pawn *new_pawn = NULL; in pawn_get()
219 Pawn *pawn = (Pawn *)pawns->data; in pawn_free_all()
312 void pawn_eat(Pawn *pawn) in pawn_eat()
317 int pawn_try_and_eat(Pawn *start, Pawn *to_eat) in pawn_try_and_eat()
322 Pawn *third = NULL; in pawn_try_and_eat()
378 Pawn *pawn = (Pawn *)cur->data; in pawn_get_replacement_pending_pawns()
417 Pawn *pawn = (Pawn *)cur->data; in pawn_remove_just_eaten()
[all …]
H A Dpawn.h31 typedef struct _Pawn Pawn; typedef
50 Pawn *pawn_get(int num, PawnColor color, int reinit);
51 void pawn_draw (Pawn *pawn);
55 Tile *pawn_get_tile(Pawn *pawn);
59 void pawn_eat(Pawn *pawn);
60 void pawn_eat_fast(Pawn *pawn, int fast);
61 int pawn_try_and_eat(Pawn *start, Pawn *to_eat);
65 void pawn_move_to(Pawn *pawn, Tile *tile);
H A Dplayer.c89 Pawn *cur_pawn = (Pawn *)cur->data; in player_can_eat_soon()
99 Pawn *surr_pawn = (Pawn *)surr_cur->data; in player_can_eat_soon()
140 (Pawn *)cur_near_center->data); in player_can_eat_soon()
149 Pawn *third_pawn = (Pawn *)cur_third->data; in player_can_eat_soon()
180 Pawn *cur_pawn = (Pawn *)cur->data; in player_can_be_eaten()
190 Pawn *surr_pawn = (Pawn *)surr_cur->data; in player_can_be_eaten()
228 (Pawn *)cur_near_center->data); in player_can_be_eaten()
237 Pawn *third_pawn = (Pawn *)cur_third->data; in player_can_be_eaten()
267 Pawn *pawn = (Pawn *)pawns->data; in player_kill()
H A Dcomputer.c45 static Pawn *selected_pawn = NULL;
78 Pawn *pawn = (Pawn *)cur->data; in computer_defend()
137 Pawn *allowed_pawn = (Pawn *)allowed->data; in finish_move()
191 Pawn *best = NULL; in prepare_move()
204 Pawn *pawn = (Pawn *)pawns->data; in prepare_move()
227 Pawn *pawn = (Pawn *)cur->data; in prepare_move()
348 best = (Pawn *)cur->data; in prepare_move()
H A Dlogic.c76 Pawn *opawn = (Pawn *)cur->data; in compute_eats()
88 Pawn *to_eat = (Pawn *)cur->data; in compute_eats()
176 Pawn *moved_pawn = NULL; in ask_replacements()
231 Pawn *pawn = (Pawn *)cur->data; in ask_replacements()
436 Pawn *pawn = (Pawn *)cur->data; in end_game()
H A Darrow.c134 Pawn *pawn = (Pawn *)cur->data; in arrow_draw_all()
/dports/games/gnuchess/gnuchess-6.2.9/src/engine/
H A Dpawn.cpp104 static pawn_t Pawn[1]; variable
199 Pawn->size = 0; in pawn_init()
200 Pawn->mask = 0; in pawn_init()
201 Pawn->table = NULL; in pawn_init()
214 Pawn->table = (entry_t *) my_malloc(Pawn->size*sizeof(entry_t)); in pawn_alloc()
225 memset(Pawn->table,0,Pawn->size*sizeof(entry_t)); in pawn_clear()
228 Pawn->used = 0; in pawn_clear()
229 Pawn->read_nb = 0; in pawn_clear()
230 Pawn->read_hit = 0; in pawn_clear()
231 Pawn->write_nb = 0; in pawn_clear()
[all …]
/dports/games/scid/scid/engines/togaII1.2.1a/src/
H A Dpawn.cpp82 static pawn_t Pawn[1]; variable
188 Pawn->size = 0; in pawn_init()
189 Pawn->mask = 0; in pawn_init()
190 Pawn->table = NULL; in pawn_init()
203 Pawn->table = (entry_t *) my_malloc(Pawn->size*sizeof(entry_t)); in pawn_alloc()
214 memset(Pawn->table,0,Pawn->size*sizeof(entry_t)); in pawn_clear()
217 Pawn->used = 0; in pawn_clear()
218 Pawn->read_nb = 0; in pawn_clear()
219 Pawn->read_hit = 0; in pawn_clear()
220 Pawn->write_nb = 0; in pawn_clear()
[all …]
/dports/games/knights/knights-21.12.3/src/core/
H A Dpiece.cpp41 case Pawn: in spriteKey()
67 case Pawn: in charFromType()
94 pType = Pawn; in typeFromChar()
132 case Pawn: in pieceTypeName()
/dports/games/zdoom/zdoom-2.8.1/src/
H A Dm_cheat.cpp1064 TObjPtr<APlayerPawn> Pawn; member in DSuicider
1068 Pawn->flags |= MF_SHOOTABLE; in Tick()
1069 Pawn->flags2 &= ~MF2_INVULNERABLE; in Tick()
1072 Pawn->DamageFactor = 65536; in Tick()
1073 P_DamageMobj (Pawn, Pawn, Pawn, TELEFRAG_DAMAGE, NAME_Suicide); in Tick()
1074 Pawn->DamageFactor = plyrdmgfact; in Tick()
1075 if (Pawn->health <= 0) in Tick()
1077 Pawn->flags &= ~MF_SHOOTABLE; in Tick()
1086 arc << Pawn; in Serialize()
1091 DECLARE_POINTER(Pawn) in DECLARE_POINTER() argument
[all …]
/dports/games/chessx/chessx-1.5.6/src/database/
H A Dmove.h473 m = from | (to << 6) | (Pawn << 12); in genOneForward()
478 m = from | (to << 6) | (Pawn << 12) | (1 << 16); in genTwoForward()
483 m = from | (to << 6) | (Pawn << 12) | (type << 22) | (1 << 17); in genPromote()
488 m = from | (to << 6) | (Pawn << 12) | (captured << 18) | (type << 22) | (1 << 17); in genCapturePromote()
493 m = from | (to << 6) | (Pawn << 12) | (Pawn << 18) | (1 << 21); in genEnPassant()
498 m = from | (to << 6) | (Pawn << 12) | (captured << 18); in genPawnMove()
613 setCaptureType(Pawn); in setEnPassant()
/dports/devel/z88dk/z88dk/examples/graphics/
H A Dti_chessboard.h148 defb @00000000, @00000000 ; Pawn
160 defb @00000000, @00000000 ; Pawn mask
295 defb @00000000, @00000000 ; Pawn
307 defb @00000000, @00000000 ; Pawn mask
/dports/games/pear-Games_Chess/Games_Chess-1.0.1/tests/Games_Chess/addPiece/
H A Dtest_invalid_dupepiece.phpt11 …array('package' => 'PEAR_Error', 'message' => 'Pawn already occupies square a4, cannot be replaced…
/dports/games/pear-Games_Chess/Games_Chess-1.0.1/tests/Games_Chess_Crazyhouse/addPiece/
H A Dtest_invalid_dupepiece.phpt11 …array('package' => 'PEAR_Error', 'message' => 'Pawn already occupies square a4, cannot be replaced…
/dports/games/py-pychess/pychess-1.0.2/learn/puzzles/
H A Dlichess_study_lichess-practice-key-squares_by_arex_2017.01.21.pgn2 [Event "Lichess Practice: Key Squares: Pawn on the 2nd rank"]
18 [Event "Lichess Practice: Key Squares: Pawn on the 3rd rank"]
34 [Event "Lichess Practice: Key Squares: Pawn on the 4th rank"]
50 [Event "Lichess Practice: Key Squares: Pawn on the 5th rank"]
66 [Event "Lichess Practice: Key Squares: Pawn on the 6th rank"]
113 [Event "Lichess Practice: Key Squares: Pawn on the 7th rank"]
/dports/games/knights/knights-21.12.3/src/rules/
H A Dchessrules.cpp103 pieces.insert ( Pos ( i, pawnLine ), PieceData ( White, Pawn ) ); in startingPieces()
117 pieces.insert ( Pos ( i, pawnLine ), PieceData ( Black, Pawn ) ); in startingPieces()
160 case Pawn: in legalMoves()
211 case Pawn: in legalAttackMoves()
235 case Pawn: in legalDirections()
322 if ( move->pieceData().second != Pawn ) in checkSpecialFlags()
350 if ( p->pieceType() == Pawn ) { in checkSpecialFlags()
449 case Pawn: in moveMade()
621 const QString typeLetter = (type != Pawn) ? Piece::charFromType ( type ) : QString(); in changeNotation()
/dports/games/gnushogi/gnushogi-1.4.2/doc/
H A Dshogi.rules35 Pawn: one step forward
40 + Promoted Silver, promoted kNight, promoted Lance and promoted Pawn all
60 still can make a legal move in case it is not promoted: if a Pawn or a Lance
82 2) Attacking the King by dropping a Pawn on the square in front of him is not
84 To use the Chess expression: checkmating the King with a Pawn drop is
/dports/games/py-pychess/pychess-1.0.2/learn/lessons/
H A Dlichess_study_beta-lichess-practice-queen-vs-7th-rank-pawn_by_arex_2018.04.02.pgn1 [Event "(BETA) Lichess Practice: Queen vs 7th-Rank Pawn: Exercise: Queen in front = Win"]
27 [Event "(BETA) Lichess Practice: Queen vs 7th-Rank Pawn: Not a Bishop or Rook pawn = Win"]
46 [Event "(BETA) Lichess Practice: Queen vs 7th-Rank Pawn: Exercise: d-pawn = Win"]
65 [Event "(BETA) Lichess Practice: Queen vs 7th-Rank Pawn: Exercise: b-pawn = Win"]
84 [Event "(BETA) Lichess Practice: Queen vs 7th-Rank Pawn: Rook pawn, no King assistance = Draw"]
105 [Event "(BETA) Lichess Practice: Queen vs 7th-Rank Pawn: Exercise: Rook pawn, no King assistance"]
123 [Event "(BETA) Lichess Practice: Queen vs 7th-Rank Pawn: Bishop pawn, no King assistance = Draw"]
144 [Event "(BETA) Lichess Practice: Queen vs 7th-Rank Pawn: Exercise: Bishop pawn, no King assistance"]
162 [Event "(BETA) Lichess Practice: Queen vs 7th-Rank Pawn: Rook pawn, King assistance on short side =…
201 [Event "(BETA) Lichess Practice: Queen vs 7th-Rank Pawn: Rook pawn, King assistance on long side = …
[all …]
/dports/graphics/povray36/povray-3.6.1/scenes/objects/
H A Dpawns.pov307 // Pawn
364 // Pawn 1
375 // Pawn 2
386 // Pawn 3

12345678910>>...25