graphics/04-map/server/src/structs.h

20 lines
246 B
C
Raw Normal View History

#ifndef STRUCTS_H
#define STRUCTS_H
#include <SDL2/SDL_net.h>
struct connection {
int id;
TCPsocket socket;
};
struct map {
int width;
int height;
int *blocks;
};
struct map *generate_map(int width, int height);
#endif