remove unneeded custom type
This commit is contained in:
@@ -506,9 +506,9 @@ void StepManiaLanServer::NewClientCheck()
|
||||
|
||||
}
|
||||
|
||||
void StepManiaLanServer::SendValue(Uint8 value, int clientNum)
|
||||
void StepManiaLanServer::SendValue(uint8_t value, int clientNum)
|
||||
{
|
||||
Client[clientNum].clientSocket.SendPack((char*)&value, sizeof(Uint8));
|
||||
Client[clientNum].clientSocket.SendPack((char*)&value, sizeof(uint8_t));
|
||||
}
|
||||
|
||||
void StepManiaLanServer::RelayChat(PacketFunctions& Packet, int clientNum)
|
||||
|
||||
@@ -4,8 +4,6 @@
|
||||
#include "ezsockets.h"
|
||||
#include "NetworkSyncManager.h"
|
||||
|
||||
typedef unsigned char Uint8;
|
||||
|
||||
#define NETMAXBUFFERSIZE 1020
|
||||
#define NUMBERCLIENTS 16
|
||||
|
||||
@@ -99,7 +97,7 @@ private:
|
||||
int FindEmptyClient();
|
||||
void NewClientCheck();
|
||||
void ParseData(PacketFunctions& Packet, int clientNum);
|
||||
void SendValue(Uint8 value, int clientNum);
|
||||
void SendValue(uint8_t value, int clientNum);
|
||||
void CheckReady();
|
||||
void MoveClientToHost();
|
||||
void StatsComboColumn(PacketFunctions &data, LanPlayer *playersPtr[],
|
||||
|
||||
Reference in New Issue
Block a user