//
int initMedalService(void *data)
{
+ (void)data;
+
SDL_mutexP(medalServer.lock);
char connectMessage[1024];
}
// Increase the size of the window if we have large desktop resolutions
- SDL_DisplayMode displayMode{0};
+ SDL_DisplayMode displayMode = {};
SDL_GetDesktopDisplayMode(0, &displayMode);
int w = graphics.screen->w;
int h = graphics.screen->h;
}
SDL_ShowCursor(SDL_DISABLE);
- SDL_EventState(SDL_MOUSEMOTION, SDL_DISABLE);
graphics.registerEngine(&engine);
graphics.mapColors();
graphics.license[1] = graphics.loadImage("gfx/main/cc-by-sa.png", true);
SDL_Surface *device = graphics.loadImage("gfx/main/alienDevice.png");
-
+ SDL_SetWindowIcon(graphics.window, device);
SDL_FreeSurface(device);
if (strstr(engine.userHomeDirectory, "/root"))