mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-13 21:31:32 +00:00
Move the player 3 and 4 CMD defines to the correct place.
This commit is contained in:
parent
9ffcc79288
commit
dac8a4ab93
1 changed files with 8 additions and 9 deletions
|
@ -62,6 +62,12 @@ typedef enum
|
||||||
|
|
||||||
// Add non-PT_CANFAIL packet types here to avoid breaking MS compatibility.
|
// Add non-PT_CANFAIL packet types here to avoid breaking MS compatibility.
|
||||||
|
|
||||||
|
// Kart-specific packets
|
||||||
|
PT_CLIENT3CMD, // 3P
|
||||||
|
PT_CLIENT3MIS,
|
||||||
|
PT_CLIENT4CMD, // 4P
|
||||||
|
PT_CLIENT4MIS,
|
||||||
|
|
||||||
PT_CANFAIL, // This is kind of a priority. Anything bigger than CANFAIL
|
PT_CANFAIL, // This is kind of a priority. Anything bigger than CANFAIL
|
||||||
// allows HSendPacket(*, true, *, *) to return false.
|
// allows HSendPacket(*, true, *, *) to return false.
|
||||||
// In addition, this packet can't occupy all the available slots.
|
// In addition, this packet can't occupy all the available slots.
|
||||||
|
@ -79,13 +85,6 @@ typedef enum
|
||||||
#ifdef NEWPING
|
#ifdef NEWPING
|
||||||
PT_PING, // Packet sent to tell clients the other client's latency to server.
|
PT_PING, // Packet sent to tell clients the other client's latency to server.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Kart-specific packets
|
|
||||||
PT_CLIENT3CMD, // 3P
|
|
||||||
PT_CLIENT3MIS,
|
|
||||||
PT_CLIENT4CMD, // 4P
|
|
||||||
PT_CLIENT4MIS,
|
|
||||||
|
|
||||||
NUMPACKETTYPE
|
NUMPACKETTYPE
|
||||||
} packettype_t;
|
} packettype_t;
|
||||||
|
|
||||||
|
@ -495,10 +494,10 @@ typedef enum
|
||||||
KR_KICK = 1, //Kicked by server
|
KR_KICK = 1, //Kicked by server
|
||||||
KR_PINGLIMIT = 2, //Broke Ping Limit
|
KR_PINGLIMIT = 2, //Broke Ping Limit
|
||||||
KR_SYNCH = 3, //Synch Failure
|
KR_SYNCH = 3, //Synch Failure
|
||||||
KR_TIMEOUT = 4, //Connection Timeout
|
KR_TIMEOUT = 4, //Connection Timeout
|
||||||
KR_BAN = 5, //Banned by server
|
KR_BAN = 5, //Banned by server
|
||||||
KR_LEAVE = 6, //Quit the game
|
KR_LEAVE = 6, //Quit the game
|
||||||
|
|
||||||
} kickreason_t;
|
} kickreason_t;
|
||||||
|
|
||||||
extern boolean server;
|
extern boolean server;
|
||||||
|
|
Loading…
Reference in a new issue