Loading yaht.c +41 −39 Original line number Diff line number Diff line Loading @@ -9,7 +9,8 @@ // Chris Morris // MIT License void do_demo_dice_rolls(game_context *ctx, unsigned int *next_roll); // this is specifically to show 2 demo rolls, with one hold void do_demo_dice_rolls(game_context *ctx, unsigned int *next_roll); // this is specifically to show 2 demo rolls, with one hold int main(void) { game_context ctx; Loading @@ -25,6 +26,7 @@ int main(void) { printf("yaht.c\n"); menu_item items[] = { {.title = "New Game", .command = "start"}, {.title = "Demo", .command = "demo"}, {.title = "Exit", .command = "exit"}, }; Loading Loading
yaht.c +41 −39 Original line number Diff line number Diff line Loading @@ -9,7 +9,8 @@ // Chris Morris // MIT License void do_demo_dice_rolls(game_context *ctx, unsigned int *next_roll); // this is specifically to show 2 demo rolls, with one hold void do_demo_dice_rolls(game_context *ctx, unsigned int *next_roll); // this is specifically to show 2 demo rolls, with one hold int main(void) { game_context ctx; Loading @@ -25,6 +26,7 @@ int main(void) { printf("yaht.c\n"); menu_item items[] = { {.title = "New Game", .command = "start"}, {.title = "Demo", .command = "demo"}, {.title = "Exit", .command = "exit"}, }; Loading