Skip to content

Commit 8c1b8a5

Browse files
committed
Load main menu in main.cpp and call print_frame for testing purposes.
1 parent 07c1168 commit 8c1b8a5

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/main.cpp

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,15 @@ int main()
2222
print_splash_screen(assets_dir);
2323
clear_screen();
2424

25-
std::cout << "TODO: load main menu" << '\n';
25+
auto pkmns = load_main_menu(manifest);
26+
sleep(1000);
27+
clear_screen();
2628

2729
std::cout << "TODO: init game loop" << '\n';
30+
sleep(1000);
31+
clear_screen();
32+
33+
print_frame(pkmns[0], pkmns[1]);
2834

2935
return EXIT_SUCCESS;
3036
}

0 commit comments

Comments
 (0)