You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
153 B
13 lines
153 B
#ifndef SDLMAP_H
|
|
#define SDLMAP_H SDLMAP_H
|
|
|
|
#define TILESIZE 256
|
|
|
|
inline int mod(int x, int div){
|
|
x %= div;
|
|
if(x < 0)
|
|
x += div;
|
|
return x;
|
|
}
|
|
|
|
#endif
|