File: bonus.h

package info (click to toggle)
ketm 0.0.6-7
  • links: PTS
  • area: main
  • in suites: woody
  • size: 9,636 kB
  • ctags: 876
  • sloc: ansic: 7,302; sh: 405; makefile: 167
file content (28 lines) | stat: -rw-r--r-- 492 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef _BONUS_H_
#define _BONUS_H_

#include <SDL/SDL.h>
#include <stdlib.h>
#include <math.h>

#include "sprite.h"
#include "support.h"

typedef struct {
	double speed;
} BONUS_DATA;

typedef struct {
	double distance;
} BIT_DATA;

void bonus_add(int x, int y, int type);
void bonus_move(SPRITE *s);

void bonus_info_add(int x, int y, char *filename);
void bonus_info_move(SPRITE *c);
	
void bonus_info_text(int x, int y, char *text, int font);
void bonus_infotext_move(SPRITE *c);

#endif