projects
/
retrocrawl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
starting up on the sprite system
[retrocrawl]
/
src
/
sprite.h
1
#ifndef SPRITE_H_
2
#define SPRITE_H_
3
4
struct sprite {
5
int width, height;
6
int origx, origy;
7
8
/* img/mask used for blitter sprites */
9
void *img, *mask;
10
11
/* hardware sprite data */
12
int hwslices;
13
uint16_t *hwspr[8];
14
};
15
16
void begin_sprites();
17
void end_sprites();
18
void draw_sprite(struct sprite *s, int x, int y);
19
20
#endif /* SPRITE_H_ */