|
102 Dalmatians: Puppies to the Rescue
Decompilation Source Reference | GitLab repository
|
#include "pcdogs/checkers/constants.h"#include "pcdogs/checkers/functions.h"#include "pcdogs/image/values.h"Go to the source code of this file.
Functions | |
| static bool | on_board (int32_t col, int32_t row) |
| static bool | allows_row_delta (uint32_t piece, int32_t delta, int32_t distance, bool unknown_piece_result) |
| 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) |
| static bool | can_jump (const struct Checkers_Board *board, int32_t col, int32_t row, int32_t dx, int32_t dy, uint32_t opponent) |
| static bool | can_jump_in_row_direction (const struct Checkers_Board *board, int32_t col, int32_t row, int32_t dy, uint32_t opponent) |
| BOOL | Checkers_CheckCapturePossible (struct Checkers_Board *board, uint32_t piece, int32_t col, int32_t row) |
| static bool | side_has_capture (struct Checkers_Board *board, uint32_t player) |
| 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) |
| enum Checkers_MoveExecutionResult | Checkers_ExecuteMoveSequence (struct Checkers_Board *board, struct Checkers_MoveSequence const *move_sequence) |
| void | Checkers_InitializeBoard (struct Checkers_Board *board) |
|
static |
|
static |
|
static |
| BOOL Checkers_CheckCapturePossible | ( | struct Checkers_Board * | board, |
| uint32_t | piece, | ||
| int32_t | col, | ||
| int32_t | 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 ) |
| enum Checkers_MoveExecutionResult Checkers_ExecuteMoveSequence | ( | struct Checkers_Board * | board, |
| struct Checkers_MoveSequence const * | move_sequence ) |
| void Checkers_InitializeBoard | ( | struct Checkers_Board * | board | ) |
| 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_MoveValidation Checkers_ValidateSimpleMove | ( | struct Checkers_Board * | board, |
| int32_t | from_col, | ||
| int32_t | from_row, | ||
| int32_t | to_col, | ||
| int32_t | to_row ) |
|
static |