1 #include "badge_main_loop.h"
3 #include "jumpnrun/jumpnrun.h"
4 #include "ui/display.h"
13 void badge_main_loop(void) {
16 FILE *fd
= fopen("../badge/jumpnrun/levels.txt", "r");
19 while(fgets(buf
, sizeof(buf
), fd
)) {
20 buf
[strlen(buf
) - 1] = '\0';
22 sprintf(lvname
, "../badge/jumpnrun/%s.lvl", buf
);
23 while(jumpnrun_play(lvname
) != JUMPNRUN_WON
)
This page took 0.041875 seconds and 5 git commands to generate.