- NP_endConn, //client/server quits
- NP_byeBye, //unused atm
- NP_error, //handshake error
- NP_hello, //check versions
- NP_gamedata, //game options
-
- NP_start, //game ok to start
- NP_pause, //player (un)pauses
- NP_stop, //game ended
- NP_newPlayer, //add new player
- NP_argghhh, //player died
-
- NP_newPiece, //new piece info
- NP_rotright, //rotate piece clockwise
- NP_rotleft, //rotate piece counterclockwise
- NP_left, //move piece left
- NP_right, //move piece right
- NP_down, //move piece one down
- NP_drop, //drop piece to bottom
- NP_clear, //line cleared
- NP_insertJunk, //player added junk
-
- NP_giveJunk //player has to add junk
+ NP_endConn, //client/server quits
+ NP_byeBye, //unused atm
+ NP_error, //handshake error
+ NP_hello, //check versions
+ NP_gamedata, //game options
+
+ NP_start, //game ok to start
+ NP_pause, //player (un)pauses
+ NP_stop, //game ended
+ NP_newPlayer, //add new player
+ NP_team, //player switched teams
+ NP_argghhh, //player died
+ NP_part, //player left
+
+ NP_msg, //chat message
+
+ NP_newPiece, //new piece info
+ NP_rotright, //rotate piece clockwise
+ NP_rotleft, //rotate piece counterclockwise
+ NP_left, //move piece left
+ NP_right, //move piece right
+ NP_down, //move piece one down
+ NP_drop, //drop piece to bottom
+ NP_clear, //line cleared
+ NP_insertJunk, //player added junk
+
+ NP_giveJunk //player has to add junk