… | |
… | |
255 | if (faces_sent[facenum]) |
255 | if (faces_sent[facenum]) |
256 | return; |
256 | return; |
257 | |
257 | |
258 | faces_sent[facenum] = true; |
258 | faces_sent[facenum] = true; |
259 | |
259 | |
|
|
260 | // if for some reason we let a client without face caching connect, |
|
|
261 | // we better support that decision here and implement it. |
260 | if (!facecache) |
262 | if (!facecache) |
261 | { |
|
|
262 | send_drawinfo ( |
|
|
263 | "\n" |
|
|
264 | "\n" |
|
|
265 | "***\n" |
|
|
266 | "*** WARNING:\n" |
|
|
267 | "*** Your client does not support face/image caching,\n" |
|
|
268 | "*** or it has been disabled. Face caching is mandatory\n" |
|
|
269 | "*** so please enable it or use a newer client.\n" |
|
|
270 | "***\n" |
|
|
271 | "*** To enable it, look at your client preferences and reconnect:\n" |
|
|
272 | "***\n" |
|
|
273 | "*** CFPlus: all known versions automatically enable the facecache.\n" |
|
|
274 | "*** cfclient: use the -cache commandline option.\n" |
|
|
275 | "*** cfclient: map will not redraw automatically (bug).\n" |
|
|
276 | "*** gcfclient: use -cache commandline option, or enable\n" |
|
|
277 | "*** gcfclient: Client=>Configure=>Map & Image=>Cache Images.\n" |
|
|
278 | "*** jcrossclient: your client is broken, use CFPlus or gcfclient.\n" |
|
|
279 | "***\n" |
|
|
280 | "***\n", |
|
|
281 | NDI_RED |
|
|
282 | ); |
|
|
283 | //return; |
|
|
284 | return send_image (facenum); |
263 | return send_image (facenum); |
285 | } |
|
|
286 | |
264 | |
287 | packet sl; |
265 | packet sl; |
288 | |
266 | |
289 | if (force_face0) |
267 | if (force_face0) |
290 | sl << "face " << uint16 (facenum); |
268 | sl << "face " << uint16 (facenum); |