#ifndef _MESSAGESTRUCTURES_H #define _MESSAGESTRUCTURES_H #define CMD_LENGHT 16 // structure that contains commands typedef struct { char cmd[CMD_LENGHT]; bool bUp; Uint16 x, y; Sint16 xrel, yrel; } Command; #endif