9e957d466f
Server listens correctly with threads and stdin reader thread. Client does nothing currently gutting UDP_Write for a UDPbase class introduced in this commit.
26 lines
468 B
C++
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&);
|