fix WITHOUT_NETWORKING

This commit is contained in:
Glenn Maynard
2004-09-10 23:21:56 +00:00
parent f482a4fbaf
commit b66f2202dd
6 changed files with 31 additions and 5 deletions
+9 -2
View File
@@ -1,10 +1,16 @@
/* NetworkSyncServer.cpp
*/
#include "global.h"
#include "NetworkSyncServer.h"
#include "RageLog.h"
#include <time.h>
#if defined(WITHOUT_NETWORKING)
bool StepManiaLanServer::ServerStart() { return false; }
void StepManiaLanServer::ServerStop() { }
void StepManiaLanServer::ServerUpdate() { }
StepManiaLanServer::StepManiaLanServer() { }
StepManiaLanServer::~StepManiaLanServer() { }
#else
LanPlayer::LanPlayer()
{
score = 0;
@@ -763,6 +769,7 @@ void StepManiaLanServer::ScreenNetMusicSelectStatus(PacketFunctions& Packet, int
}
ServerChat(message);
}
#endif
/*
* (c) 2003-2004 Joshua Allen