Finalize the implementation of the playable shots list displaying
[Project_algorithmic_C.git] / lib / ui.h
index b24b6740ef63e3320b85364365fecabdb9bf58aa..67ec2d6f0718540ff55e9cd0d037a60990742f73 100644 (file)
--- a/lib/ui.h
+++ b/lib/ui.h
@@ -3,7 +3,7 @@
  *
  *       Filename:  ui.h
  *
- *    Description:  Header for user interface routines 
+ *    Description:  Header for user interface routines
  *
  *        Version:  1.0
  *        Created:  15/03/2017 20:07:12
 #include <ncurses.h>
 
 #include "constants.h"
+#include "othello.h"
 
 int prompt_values(WINDOW* windows, int base_y, int base_x, const char* msg, int* y, char* x);
 
-int map_col_letter_to_int(char c);
+int map_col_letter_to_index(char c);
+char map_col_index_to_letter(int index);
 
 /* ncurses printing */
 void print_board(int y, int x);
 void print_pawns(int base_y, int base_x, unsigned int pawn_array[board_size][board_size]);
+void print_shots_list(int base_y, int base_x, struct shots_list_s* shots_list);
 
 /* non ncurses printing */