#ifndef MAIN_H_INCLUDED #define MAIN_H_INCLUDED #include #include #include #include typedef struct { caca_display_t *dp; caca_canvas_t *cv; caca_dither_t *d; int w, h; // caca terminal size in characters SDL_Window* sdl_win; SDL_Renderer *sdl_rndr; SDL_Texture *sdl_target; void *raw_target; SDL_GLContext gl_ctx; Uint32 sdl_ticks; Uint32 framecount; Uint32 sc_framecount; } graphical_env_t; #endif