Server runs, but it's far off from being stable again
This commit is contained in:
@@ -58,9 +58,9 @@ World::World(int* const argClientIndex, int* const argAccountIndex):
|
|||||||
|
|
||||||
//set the button positions
|
//set the button positions
|
||||||
disconnectButton.SetX(50);
|
disconnectButton.SetX(50);
|
||||||
disconnectButton.SetY(50 + buttonImage.GetClipH() * 0);
|
disconnectButton.SetY(50);
|
||||||
shutdownButton.SetX(50);
|
shutdownButton.SetX(50);
|
||||||
shutdownButton.SetY(50 + buttonImage.GetClipH() * 1);
|
shutdownButton.SetY(70);
|
||||||
|
|
||||||
//load the tilesheet
|
//load the tilesheet
|
||||||
//TODO: (2) Tile size and tile sheet should be loaded elsewhere
|
//TODO: (2) Tile size and tile sheet should be loaded elsewhere
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ OUTDIR=out
|
|||||||
|
|
||||||
all: $(OUTDIR)
|
all: $(OUTDIR)
|
||||||
$(MAKE) -C common
|
$(MAKE) -C common
|
||||||
# $(MAKE) -C server
|
$(MAKE) -C server
|
||||||
$(MAKE) -C client
|
$(MAKE) -C client
|
||||||
|
|
||||||
debug: export CXXFLAGS+=-g
|
debug: export CXXFLAGS+=-g
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "SDL_net.h"
|
#include "SDL2/SDL_net.h"
|
||||||
|
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
|
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
#include "server_packet.hpp"
|
#include "server_packet.hpp"
|
||||||
#include "singleton.hpp"
|
#include "singleton.hpp"
|
||||||
|
|
||||||
#include "SDL_net.h"
|
#include "SDL2/SDL_net.h"
|
||||||
|
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#include <list>
|
#include <list>
|
||||||
|
|||||||
Reference in New Issue
Block a user