PixelWars/tools.h

19 lines
317 B
C

#ifndef TOOLS_H
#define TOOLS_H
#include <SDL/SDL.h>
#include "main.h"
#include "team.h"
void add_move(t_dude* dude, t_coord dst);
void resolve_moves();
Uint32 getColor(t_pixel pixel);
void putpixel(SDL_Surface *surface, int x, int y, Uint32 pixel);
Uint32 getpixel(SDL_Surface *surface, int x, int y);
#endif