![]() |
Conquer Chess
Chess and Starcraft combined
|
#include "draw_board.h"#include "board_layout.h"#include "draw.h"#include "game.h"#include "helper.h"#include "game_controller.h"#include "game_resources.h"#include "screen_coordinate.h"#include "sfml_helper.h"#include "render_window.h"#include <cassert>
Functions | |
| void | draw_pieces (const game_controller &c, const board_layout &layout, const bool indicate_protectedness) |
| Draw the pieces. | |
| void | draw_squares (const board_layout &layout, const bool semi_transparent) |
| Draw the squares of a chessboard at the window target rectangle's location. | |
| void | draw_unit_health_bars (const game &g, const board_layout &bl) |
| Show the pieces' health bars on-screen. | |
| void | draw_unit_paths (const std::vector< piece > &pieces, const board_layout &layout) |
| Show the paths the units are taking on-screen. | |
| void draw_pieces | ( | const game_controller & | c, |
| const board_layout & | layout, | ||
| const bool | indicate_protectedness | ||
| ) |
Draw the pieces.
| void draw_squares | ( | const board_layout & | layout, |
| const bool | semi_transparent | ||
| ) |
Draw the squares of a chessboard at the window target rectangle's location.
| void draw_unit_health_bars | ( | const game & | g, |
| const board_layout & | bl | ||
| ) |
Show the pieces' health bars on-screen.
| void draw_unit_paths | ( | const std::vector< piece > & | pieces, |
| const board_layout & | layout | ||
| ) |
Show the paths the units are taking on-screen.