remove unneeded custom type

This commit is contained in:
Glenn Maynard
2004-09-10 21:51:11 +00:00
parent 30ff50f48a
commit f482a4fbaf
2 changed files with 3 additions and 5 deletions
+2 -2
View File
@@ -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)
+1 -3
View File
@@ -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[],