Fix an off-by-one on the pawn 2D array indexes.
[Project_algorithmic_C.git] / lib / debug.h
diff --git a/lib/debug.h b/lib/debug.h
new file mode 100644 (file)
index 0000000..eb6c64e
--- /dev/null
@@ -0,0 +1,21 @@
+/*
+ * =====================================================================================
+ *
+ *       Filename:  debug.h
+ *
+ *    Description:  Header for debugging functions
+ *
+ *        Version:  1.0
+ *        Created:  27/04/2017 13:01:31
+ *       Revision:  none
+ *       Compiler:  gcc
+ *
+ *         Author:  Jerome Benoit (fraggle), jerome.benoit@piment-noir.org
+ *   Organization:  Piment Noir
+ *
+ * =====================================================================================
+ */
+
+#include <ncurses.h>
+
+void dbg_mvprintw(int base_y, int base_x, const char* fmt, va_list varglist);