This repository has been archived on 2022-01-13. You can view files and clone it, but cannot push or open issues or pull requests.
jtmm2-old/include/main.h

12 lines
402 B
C

#include "player.h"
#include "level.h"
#include "camera.h"
#include "input.h"
/* returns true if player died */
int play_level(uint level_id);
/* callback used for UPS control */
int callback(volatile void *arg);
void step_event(Player *player, const Level *level, Camera *camera, Input *input, uint step);
void draw_event(Player *player, const Level *level, Camera *camera, Input *input, uint step);