Improve the debug printing function:
[Project_algorithmic_C.git] / lib / debug.h
index eb6c64eb9aa38a308ef8ec33e83d70ade74d4dbe..b8327fff6ae50fd36c4fd983ffbd8344177419d2 100644 (file)
  * =====================================================================================
  */
 
+#ifndef DEBUG_H
+#define DEBUG_H
+
 #include <ncurses.h>
 
-void dbg_mvprintw(int base_y, int base_x, const char* fmt, va_list varglist);
+#include "constants.h"
+
+void dbg_mvprintw(int y, int x, const char* debug_text, ...);
+void display_array(int base_y, int base_x, unsigned int pawn_array[board_size][board_size]);
+
+#endif /* DEBUG_H */