Zajal was started with OF 6, and a lot of internal variables weren't exposed, leading to code like this:
/* internal global variables */
/* TODO move these to Internals? they're all normally accessible... */
VALUE _zj_curve_resolution = INT2FIX(20);
VALUE _zj_circle_resolution = INT2FIX(22);
VALUE _zj_smoothing = Qfalse;
VALUE _zj_alpha_blending = Qfalse;
VALUE _zj_arb_textures = Qtrue;
VALUE _zj_line_width = INT2FIX(1);
VALUE _zj_background_auto = Qtrue;
VALUE _zj_fill = Qtrue;
OF 7 exposes a lot of these values through functions, so this old code should be removed.
Zajal was started with OF 6, and a lot of internal variables weren't exposed, leading to code like this:
OF 7 exposes a lot of these values through functions, so this old code should be removed.