From: matthew Date: Sat, 4 Aug 2018 14:02:48 +0000 (+0100) Subject: removed why param for board_get_size, changed board size to 4x3 X-Git-Url: https://git.owens.tech///git?a=commitdiff_plain;h=daa577064e40a8a4962e8dd4af40bcb932908b06;p=csrpg.git removed why param for board_get_size, changed board size to 4x3 --- diff --git a/nogl/main.c b/nogl/main.c index e5fc78a..4d6e839 100644 --- a/nogl/main.c +++ b/nogl/main.c @@ -42,7 +42,7 @@ int main() if(!init()) return -1; - board = board_init(point2i(3,3)); + board = board_init(point2i(4,3)); if(board == NULL){ fprintf(stderr, "board null after init!\n"); return -1; @@ -51,7 +51,7 @@ int main() Uint32 itime = SDL_GetTicks(); Uint32 ctime = 0; Point2i loc; - Point2i bsize = board_get_size(board, "storing size"); + Point2i bsize = board_get_size(board); Uint32 cclock = 0; Uint32 pclock = SDL_GetTicks(); Point2i rpos = point2i(10,10); // where to draw the arr