Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
vor.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
deleted old collision-detection code.
[vor.git]
/
shape.h
1
#include <SDL/SDL.h>
2
#include <stdint.h>
3
4
struct shape {
5
int w, h;
6
int mw;
7
uint32_t *mask;
8
};
9
10
void get_shape(SDL_Surface *img, struct shape *s);
11
int collide(int xdiff, int ydiff, struct shape *r, struct shape *s);