comparison multipaint.pde @ 133:f5c32f6470d0

Begin integrating more changes from Multipaint 1.8.2018.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 08 Aug 2018 11:06:33 +0300
parents 9d17f991f102
children 72ae62f2036b
comparison
equal deleted inserted replaced
132:e32cc01bdb23 133:f5c32f6470d0
16 16
17 //-1 & -1 for normal operation 17 //-1 & -1 for normal operation
18 int machine = -1; // change this to autoselect 18 int machine = -1; // change this to autoselect
19 int platform = PSJS; 19 int platform = PSJS;
20 20
21
22 int g_active, g_tooltrigger, g_prevtool; 21 int g_active, g_tooltrigger, g_prevtool;
23 int g_rband, g_rbang, g_boxreconstruct, g_charlimit; 22 int g_rband, g_rbang, g_boxreconstruct, g_charlimit;
24 int g_animx, g_animy, g_animframes, g_animno, g_animtime, g_animspeed; 23 int g_animx, g_animy, g_animframes, g_animno, g_animtime, g_animspeed;
25 int g_omag, g_bordh, g_bordv, g_keymacpos; 24 int g_omag, g_bordh, g_bordv, g_keymacpos;
26 25
27 boolean g_control = false, g_shift = false, g_dirty; 26 boolean g_control = false, g_shift = false, g_dirty;
28 27
29 String filename = "", sfilename = "", g_name, g_exportext = "", 28 String g_formatname, g_formatext,
29 filename = "", sfilename = "",
30 g_name, g_exportext = "",
30 g_exportname = "", g_keymacro = ""; 31 g_exportname = "", g_keymacro = "";
32
33 final int OLD = 0;
34 final int NEW = 1;
35 int g_gridmode = OLD;
36 int g_pixelw = 1;
37 int[] g_grids = new int[16];
31 38
32 39
33 int[] g_r = new int[266]; 40 int[] g_r = new int[266];
34 int[] g_g = new int[266]; 41 int[] g_g = new int[266];
35 int[] g_b = new int[266]; 42 int[] g_b = new int[266];