… | |
… | |
103 | |
103 | |
104 | // a handler for a specific type of packet |
104 | // a handler for a specific type of packet |
105 | enum { |
105 | enum { |
106 | PF_PLAYER = 0x01, // must have valid player / will by synchronised |
106 | PF_PLAYER = 0x01, // must have valid player / will by synchronised |
107 | PF_PLAYING = 0x02, // must be in playing state |
107 | PF_PLAYING = 0x02, // must be in playing state |
108 | PF_COMMAND = 0x04, // is a suer command |
108 | PF_COMMAND = 0x04, // is a user command |
109 | }; |
109 | }; |
110 | |
110 | |
111 | // face types. bit 0 means "has meta info prepended" |
111 | // face types. bit 0 means "has meta info prepended" |
112 | enum { |
112 | enum { |
113 | FT_IMAGE = 0 * 2 + 0, // images |
113 | FT_IMAGE = 0 * 2 + 0, // images |