1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#ifndef inithell #define inithell #include <stdio.h> #include <stdbool.h> #include <SDL2/SDL.h> #include <SDL2/SDL_ttf.h> typedef struct{ int width; int height; bool mousedown; int mx; int my; TTF_Font *font; SDL_Renderer *renderer; OBJECT obj; } STUFFS; #endif