handmade/include/lib_SDL_common.h
Bubblegumdrop 9e957d466f Client and Server tweaks. This commit breaks the Client.
Server listens correctly with threads and stdin reader thread.

Client does nothing currently gutting UDP_Write for a UDPbase class
introduced in this commit.
2022-01-08 18:59:40 -05:00

26 lines
468 B
C++

#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&);