Improve the debug printing function:
[Project_algorithmic_C.git] / lib / debug.h
1 /*
2 * =====================================================================================
3 *
4 * Filename: debug.h
5 *
6 * Description: Header for debugging functions
7 *
8 * Version: 1.0
9 * Created: 27/04/2017 13:01:31
10 * Revision: none
11 * Compiler: gcc
12 *
13 * Author: Jerome Benoit (fraggle), jerome.benoit@piment-noir.org
14 * Organization: Piment Noir
15 *
16 * =====================================================================================
17 */
18
19 #ifndef DEBUG_H
20 #define DEBUG_H
21
22 #include <ncurses.h>
23
24 #include "constants.h"
25
26 void dbg_mvprintw(int y, int x, const char* debug_text, ...);
27 void display_array(int base_y, int base_x, unsigned int pawn_array[board_size][board_size]);
28
29 #endif /* DEBUG_H */