mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-10-30 08:01:01 +00:00
Adjustments to reliable packets
This commit is contained in:
parent
c8a0e6da10
commit
c292793470
2 changed files with 2 additions and 4 deletions
|
|
@ -9,7 +9,7 @@
|
|||
#define UNKNOWN_GLOBAL_INDEX ((u8)-1)
|
||||
#define UNKNOWN_NETWORK_INDEX ((u64)-1)
|
||||
#define NETWORK_PLAYER_TIMEOUT 10
|
||||
#define MAX_RX_SEQ_IDS 16
|
||||
#define MAX_RX_SEQ_IDS 64
|
||||
|
||||
enum NetworkPlayerType {
|
||||
NPT_UNKNOWN,
|
||||
|
|
|
|||
|
|
@ -3,9 +3,7 @@
|
|||
#include "pc/utils/misc.h"
|
||||
#include "pc/debuglog.h"
|
||||
|
||||
// two-player hack: the localIndex for resending packets can be 0... this means reply to last person received from. THIS WILL NOT WORK with more than two players
|
||||
|
||||
#define RELIABLE_RESEND_RATE 0.20f
|
||||
#define RELIABLE_RESEND_RATE 0.33f
|
||||
#define MAX_RESEND_ATTEMPTS 10
|
||||
|
||||
struct PacketLinkedList {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue