… | |
… | |
129 | mapmode = Map0Cmd; |
129 | mapmode = Map0Cmd; |
130 | darkness = 1; |
130 | darkness = 1; |
131 | mapx = 11; |
131 | mapx = 11; |
132 | mapy = 11; |
132 | mapy = 11; |
133 | itemcmd = 1; /* Default is version item1 command */ |
133 | itemcmd = 1; /* Default is version item1 command */ |
|
|
134 | max_rate = 100000 / (1000000 / MAX_TIME); // ~1mbit is assumed per default |
134 | |
135 | |
135 | /* Do this so we don't send a face command for the client for |
136 | /* Do this so we don't send a face command for the client for |
136 | * this face. Face 0 is sent to the client to say clear |
137 | * this face. Face 0 is sent to the client to say clear |
137 | * face information. |
138 | * face information. |
138 | */ |
139 | */ |
139 | faces_sent[0] = NS_FACESENT_FACE; |
140 | faces_sent[0] = true; |
140 | |
141 | |
141 | socket_ev.prio (PE_PRIO_NORMAL); |
142 | socket_ev.prio (PE_PRIO_NORMAL); |
142 | socket_ev.fd (fd); |
143 | socket_ev.fd (fd); |
143 | socket_ev.poll (PE_R); |
144 | socket_ev.poll (PE_R); |
144 | |
145 | |