handmade/include/lib_SDL_common.h

26 lines
468 B
C
Raw Normal View History

#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>
/*
* Start SDL with everything enabled.
* Also loads plugins.
*/
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&);