void cleanup(void); int addtext(int x, int y, int size, char *string, SDL_Color *c, int delay); void drawscore(void); void drawtext(void); void movetext(void); void killtext(text_t *t); void removeall(void); void removetext(void); void drawlevel(void); void removesprite(sprite_t *s); void removenetting(sprite_t *s); void drawnetting(sprite_t *s); void dogravity(sprite_t *s); void dotileeffects(sprite_t *s); int movex(sprite_t *s,double amt); void movesprite(sprite_t *s); int isinwater(sprite_t *s); int isroofabove(sprite_t *s); int isroofnabove(sprite_t *s,int howfar); int isonground(sprite_t *s); int isongroundpoint(sprite_t *s, int x, int y); int isonladder(sprite_t *s); int isonbridge(sprite_t *s); int isladderabove(sprite_t *s); int dofruiteffect(sprite_t *s); int ismonster(int id); void checkcollide(sprite_t *s); void die(sprite_t *s); void nextlevel(void); void jump(sprite_t *s, int dir); double getspeed(sprite_t *s ); void adjustheight(sprite_t *s); void tick(void); void usage(void); int canmove(sprite_t *pl); int canturn(sprite_t *pl); int initsound(void); int loadfx(int sid, char *filename); void playfx(int num);