2022-01-02 19:28:16 -05:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
#include <GL/glew.h>
|
|
|
|
|
|
|
|
#include <SDL.h>
|
|
|
|
#include <SDL_image.h>
|
|
|
|
#include <SDL_mixer.h>
|
|
|
|
#include <SDL_net.h>
|
|
|
|
#include <SDL_ttf.h>
|
|
|
|
#include <SDL_opengl.h>
|
|
|
|
|
2022-01-08 18:59:40 -05:00
|
|
|
/*
|
|
|
|
* Start SDL with everything enabled.
|
|
|
|
* Also loads plugins.
|
|
|
|
*/
|
2022-01-02 19:28:16 -05:00
|
|
|
void common_SDL_Init (void);
|
|
|
|
void common_SDL_Quit (void);
|
|
|
|
|
|
|
|
void common_SDL_CreateWindow (SDL_Window**);
|
|
|
|
|
|
|
|
int common_SDL_ToggleFullscreen (SDL_Window*);
|
|
|
|
|
|
|
|
SDL_Surface* common_SDL_LoadSurfacePath (const std::string&);
|