Created empty TCPNetworkManager; needs work, I don't even like the name
This commit is contained in:
+29
-4
@@ -1,8 +1,33 @@
|
||||
#include "server.hpp"
|
||||
|
||||
#include "SDL/SDL.h"
|
||||
#include "SDL_net/SDL_net.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <stdexcept>
|
||||
|
||||
int SDL_main(int, char**) {
|
||||
return 0;
|
||||
}
|
||||
using namespace std;
|
||||
|
||||
Server::Server() {
|
||||
//
|
||||
}
|
||||
|
||||
Server::~Server() {
|
||||
//
|
||||
}
|
||||
|
||||
void Server::Init() {
|
||||
if (SDLNet_Init()) {
|
||||
throw(runtime_error("Failed to init SDL_net"));
|
||||
}
|
||||
}
|
||||
|
||||
void Server::Proc() {
|
||||
bool running = true;
|
||||
while(running) {
|
||||
//
|
||||
}
|
||||
}
|
||||
|
||||
void Server::Quit() {
|
||||
SDLNet_Quit();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user