aboutsummaryrefslogtreecommitdiff
path: root/src/communication.hh
diff options
context:
space:
mode:
authorfusion32 <marcopuzziello@gmail.com>2025-07-19 16:44:58 -0300
committerfusion32 <marcopuzziello@gmail.com>2025-07-19 16:47:25 -0300
commit7b9e7dbbcf1d779419be8f22df812ff523a25450 (patch)
tree1ecfaf7f24c59b373b03609598c7203161ffbc8c /src/communication.hh
parentd359c0af4874534efa810729d47f610a29687e93 (diff)
downloadgame-7b9e7dbbcf1d779419be8f22df812ff523a25450.tar.gz
game-7b9e7dbbcf1d779419be8f22df812ff523a25450.zip
fix some critical bugs
Aside from obvious gameplay bugs pretty much everywhere, the game is finally in a PLAYABLE state. It should be smooth sailing to get it stable for an initial test server.
Diffstat (limited to 'src/communication.hh')
-rw-r--r--src/communication.hh3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/communication.hh b/src/communication.hh
index 8d2574b..df0e00a 100644
--- a/src/communication.hh
+++ b/src/communication.hh
@@ -28,10 +28,9 @@ void NetLoadCheck(void);
void InitLoadHistory(void);
void ExitLoadHistory(void);
-bool WriteToSocket(TConnection *Connection, uint8 *Buffer, int Size);
+bool WriteToSocket(TConnection *Connection, uint8 *Buffer, int Size, int MaxSize);
bool SendLoginMessage(TConnection *Connection, int Type, const char *Message, int WaitingTime);
bool SendData(TConnection *Connection);
-bool SendData(TConnection *Connection, const uint8 *Data, int Size);
bool GetWaitinglistEntry(const char *Name, uint32 *NextTry, bool *FreeAccount, bool *Newbie);
void InsertWaitinglistEntry(const char *Name, uint32 NextTry, bool FreeAccount, bool Newbie);