… | |
… | |
17 | : undef; |
17 | : undef; |
18 | |
18 | |
19 | $ns->enable_bg_scrub (1); |
19 | $ns->enable_bg_scrub (1); |
20 | |
20 | |
21 | if ($is_cf) { # && $is_cf lt v1.9.2) { |
21 | if ($is_cf) { # && $is_cf lt v1.9.2) { |
22 | $ns->send_drawinfo ("(disabling bg image scrub because of client bug)", cf::NDI_RED); |
22 | $ns->send_drawinfo ("(disabling bg image scrub because of buggy client)", cf::NDI_RED); |
23 | $ns->enable_bg_scrub (0); |
23 | $ns->enable_bg_scrub (0); |
|
|
24 | |
24 | $ns->send_drawinfo ("(enabling workaround for client buffer overflow)", cf::NDI_RED); |
25 | $ns->send_drawinfo ("(enabling workaround for client buffer overflow on scroll)", cf::NDI_RED); |
25 | $ns->buggy_mapscroll (1); |
26 | $ns->buggy_mapscroll (1); |
|
|
27 | |
26 | $ns->send_drawinfo ("(enabling workaround for broken face caching)", cf::NDI_RED); |
28 | $ns->send_drawinfo ("(enabling workaround for broken face caching in client)", cf::NDI_RED); |
27 | $ns->force_bad_checksum (1); |
29 | $ns->force_bad_checksum (1); |
28 | } |
30 | } |
29 | |
31 | |
30 | if ($is_jx) { |
32 | if ($is_jx) { |
31 | $ns->send_drawinfo ("(enabling workaround for map redraw bug)", cf::NDI_RED); |
33 | $ns->send_drawinfo ("(enabling workaround for map redraw bug)", cf::NDI_RED); |
32 | $ns->force_image_newmap (1); |
34 | $ns->force_image_newmap (1); |
|
|
35 | |
33 | $ns->send_drawinfo ("(enabling buggy map scroll workaround)", cf::NDI_RED); |
36 | $ns->send_drawinfo ("(enabling buggy map scroll workaround)", cf::NDI_RED); |
34 | $ns->buggy_mapscroll (1); |
37 | $ns->buggy_mapscroll (1); |
|
|
38 | |
35 | $ns->send_drawinfo ("You are using a known to be buggy client (an alpha version, too). " |
39 | $ns->send_drawinfo ("You are using a known to be buggy client (an alpha version, too). " |
36 | . "If you encounter map freezes or other bugs, consider using a more stable client " |
40 | . "If you encounter map freezes or other bugs, consider using a more stable client " |
37 | . "such as CFPlus or gcfclient or gcfclient2", cf::NDI_RED); |
41 | . "such as CFPlus or gcfclient or gcfclient2", cf::NDI_RED); |
38 | } |
42 | } |
39 | |
43 | |