* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#ifndef BITMASK_H
-#define BITMASK_H
+#ifndef SUPERTUX_BITMASK_H
+#define SUPERTUX_BITMASK_H
#include <SDL.h>
#define BITW_MASK 31
#define BITN(n) ((BITW)1 << (n))
-typedef struct bitmask
+struct bitmask
{
int w,h;
BITW *bits;
-} bitmask;
+};
/* Creates a bitmask of width w and height h.
* The mask is automatically cleared when created.
/* Create a bitmask from a SDL_Surface */
bitmask* bitmask_create_SDL(SDL_Surface* surf);
-#endif
+#endif /*SUPERTUX_BITMASK_H*/