102 Dalmatians: Puppies to the Rescue
Decompilation Source Reference | GitLab repository
Loading...
Searching...
No Matches
functions.h File Reference

Go to the source code of this file.

Functions

void Checkers_UpdateStateMachine (void)
void Checkers_QueueSelectedCellTargets (void)
BOOL Checkers_ProcessInputAndRender (void)
void Checkers_QueueMoveMidpointTarget (void)
BOOL Checkers_BuildMoveList (struct Checkers_Board *board_state, enum Checkers_Player player, struct Checkers_MoveList *move_list)
enum Checkers_MoveValidation Checkers_ValidateSimpleMove (struct Checkers_Board *board, int32_t from_col, int32_t from_row, int32_t to_col, int32_t to_row)
BOOL Checkers_CheckCapturePossible (struct Checkers_Board *board, uint32_t piece, int32_t col, int32_t row)
void Checkers_AppendCaptureMoveSequences (struct Checkers_Board *board, int32_t from_col, int32_t from_row, struct Checkers_MoveSequence **move_cursor_in_out)
enum Checkers_MoveValidation Checkers_ValidateMove (struct Checkers_Board *board, int32_t from_col, int32_t from_row, int32_t to_col, int32_t to_row)
enum Checkers_MoveExecutionResult Checkers_ExecuteMove (struct Checkers_Board *board, int32_t from_col, int32_t from_row, int32_t to_col, int32_t to_row)
void Checkers_ExpandCaptureSequences (struct Checkers_Board *board, struct Checkers_MoveSequence **move_cursor_in_out, uint32_t pack_shift)
enum Checkers_MoveExecutionResult Checkers_ExecuteMoveSequence (struct Checkers_Board *board, struct Checkers_MoveSequence const *move_sequence)
int32_t Checkers_SearchBestMove (struct Checkers_Board *board, int32_t depth, struct Checkers_MoveSequence *out_best_move, enum Checkers_Player player, int32_t alpha, int32_t beta)
int32_t Checkers_EvaluateBoardScore (struct Checkers_Board *board)
void Checkers_QueueMoveListTargets (struct Checkers_MoveList *move_list)
void Checkers_InitializeBoard (struct Checkers_Board *board)
void Checkers_HighlightPlayerPieces (struct Checkers_Board *board, enum Checkers_Player player)

Function Documentation

◆ Checkers_AppendCaptureMoveSequences()

void Checkers_AppendCaptureMoveSequences ( struct Checkers_Board * board,
int32_t from_col,
int32_t from_row,
struct Checkers_MoveSequence ** move_cursor_in_out )

Definition at line 82 of file search.c.

◆ Checkers_BuildMoveList()

BOOL Checkers_BuildMoveList ( struct Checkers_Board * board_state,
enum Checkers_Player player,
struct Checkers_MoveList * move_list )

Definition at line 17 of file search.c.

◆ Checkers_CheckCapturePossible()

BOOL Checkers_CheckCapturePossible ( struct Checkers_Board * board,
uint32_t piece,
int32_t col,
int32_t row )

Definition at line 53 of file board.c.

◆ Checkers_EvaluateBoardScore()

int32_t Checkers_EvaluateBoardScore ( struct Checkers_Board * board)

Definition at line 255 of file search.c.

◆ Checkers_ExecuteMove()

enum Checkers_MoveExecutionResult Checkers_ExecuteMove ( struct Checkers_Board * board,
int32_t from_col,
int32_t from_row,
int32_t to_col,
int32_t to_row )

Definition at line 118 of file board.c.

◆ Checkers_ExecuteMoveSequence()

enum Checkers_MoveExecutionResult Checkers_ExecuteMoveSequence ( struct Checkers_Board * board,
struct Checkers_MoveSequence const * move_sequence )

Definition at line 150 of file board.c.

◆ Checkers_ExpandCaptureSequences()

void Checkers_ExpandCaptureSequences ( struct Checkers_Board * board,
struct Checkers_MoveSequence ** move_cursor_in_out,
uint32_t pack_shift )

Definition at line 110 of file search.c.

◆ Checkers_HighlightPlayerPieces()

void Checkers_HighlightPlayerPieces ( struct Checkers_Board * board,
enum Checkers_Player player )

Definition at line 501 of file presentation.c.

◆ Checkers_InitializeBoard()

void Checkers_InitializeBoard ( struct Checkers_Board * board)

Definition at line 174 of file board.c.

◆ Checkers_ProcessInputAndRender()

BOOL Checkers_ProcessInputAndRender ( void )

Definition at line 405 of file presentation.c.

◆ Checkers_QueueMoveListTargets()

void Checkers_QueueMoveListTargets ( struct Checkers_MoveList * move_list)

Definition at line 483 of file presentation.c.

◆ Checkers_QueueMoveMidpointTarget()

void Checkers_QueueMoveMidpointTarget ( void )

Definition at line 474 of file presentation.c.

◆ Checkers_QueueSelectedCellTargets()

void Checkers_QueueSelectedCellTargets ( void )

Definition at line 395 of file presentation.c.

◆ Checkers_SearchBestMove()

int32_t Checkers_SearchBestMove ( struct Checkers_Board * board,
int32_t depth,
struct Checkers_MoveSequence * out_best_move,
enum Checkers_Player player,
int32_t alpha,
int32_t beta )

◆ Checkers_UpdateStateMachine()

void Checkers_UpdateStateMachine ( void )

Definition at line 22 of file presentation.c.

◆ Checkers_ValidateMove()

enum Checkers_MoveValidation Checkers_ValidateMove ( struct Checkers_Board * board,
int32_t from_col,
int32_t from_row,
int32_t to_col,
int32_t to_row )

Definition at line 91 of file board.c.

◆ Checkers_ValidateSimpleMove()

enum Checkers_MoveValidation Checkers_ValidateSimpleMove ( struct Checkers_Board * board,
int32_t from_col,
int32_t from_row,
int32_t to_col,
int32_t to_row )

Definition at line 27 of file board.c.