Commit 7aadc4d9 authored by phenigma's avatar phenigma

Fixes #2823 - minor changes to constructor call and add include for missing constant.

parent 1fba0681
Pipeline #696 failed with stage
in 14 seconds
...@@ -103,8 +103,8 @@ static string XMLEntities(const char *input) ...@@ -103,8 +103,8 @@ static string XMLEntities(const char *input)
//----------------------------------------------------------------------------------------------------- //-----------------------------------------------------------------------------------------------------
Proxy_Orbiter::Proxy_Orbiter(int DeviceID, int PK_DeviceTemplate, string ServerAddress) Proxy_Orbiter::Proxy_Orbiter(int DeviceID, int PK_DeviceTemplate, string ServerAddress)
: Orbiter(DeviceID, PK_DeviceTemplate, ServerAddress, "", false, 0, : Orbiter(DeviceID, PK_DeviceTemplate, ServerAddress, (string)"", false, 0,
0, false), SocketListener("Proxy_Orbiter"), m_ActionMutex("action"), m_ResourcesMutex("resources") 0, NULL, false), SocketListener("Proxy_Orbiter"), m_ActionMutex("action"), m_ResourcesMutex("resources")
{ {
m_iImageCounter = 1; m_iImageCounter = 1;
m_iLastImageSent = -1; m_iLastImageSent = -1;
......
...@@ -33,6 +33,7 @@ using namespace DCE; ...@@ -33,6 +33,7 @@ using namespace DCE;
#include "SDL_image.h" #include "SDL_image.h"
#include "SDL_ttf.h" #include "SDL_ttf.h"
#include "png.h" #include "png.h"
#include "zlib.h"
//----------------------------------------------------------------------------------------------------- //-----------------------------------------------------------------------------------------------------
void SaveImageToFile(struct SDL_Surface *pScreenImage, string FileName); void SaveImageToFile(struct SDL_Surface *pScreenImage, string FileName);
//----------------------------------------------------------------------------------------------------- //-----------------------------------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment