This repository has been archived on 2026-04-30. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Tortuga/server/server.cpp
T

34 lines
384 B
C++

#include "server.hpp"
#include "SDL/SDL.h"
#include "SDL_net/SDL_net.h"
#include <stdexcept>
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();
}