Online protocol improvements (#1393)
* Chartkey generation * Simfile filehash generation * Read filehash on NSCRSG. Add FLU packets and friendlist vectors. Add getserverversion method. Send chartkey, filehash and rate on start request. * Use filehash to find the selected song if it is not empty. * Friendlist update broadcast. * Send note row size if it's bigger than 1 * Used for chartkey generation * Define the ReportScore function with numNotes when WITHOUT_NETWORKING is defined
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
|
||||
AutoScreenMessage( SM_AddToChat );
|
||||
AutoScreenMessage( SM_UsersUpdate );
|
||||
AutoScreenMessage( SM_FriendsUpdate );
|
||||
AutoScreenMessage( SM_SMOnlinePack );
|
||||
|
||||
REGISTER_SCREEN_CLASS( ScreenNetSelectBase );
|
||||
@@ -135,6 +136,10 @@ void ScreenNetSelectBase::HandleScreenMessage( const ScreenMessage SM )
|
||||
{
|
||||
UpdateUsers();
|
||||
}
|
||||
else if (SM == SM_FriendsUpdate)
|
||||
{
|
||||
MESSAGEMAN->Broadcast("FriendsUpdate");
|
||||
}
|
||||
|
||||
ScreenWithMenuElements::HandleScreenMessage( SM );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user