#include <ncurses.h>
#include "board.h"
-void boardRenderer_init();
-void boardRenderer_render();
-void boardRenderer_cleanup();
-void boardRenderer_set_board(Board *board);
+void brndr_init();
+void brndr_render();
+void brndr_cleanup();
+void brndr_set_board(Board *board);
#endif//BOARD_RENDERER_H
}
initscr();
- boardRenderer_init();
+ brndr_init();
curs_set(false);
return true;
}
fprintf(stderr, "board null after init!\n");
return -1;
}
- boardRenderer_set_board(board);
+ brndr_set_board(board);
- boardRenderer_render();
+ brndr_render();
getchar();
err_enable_logging("test");
//refresh();
getchar();
err_clear();
- boardRenderer_render();
+ brndr_render();
getchar();
SDL_Quit();
- boardRenderer_cleanup();
+ brndr_cleanup();
endwin();
return 0;