# HG changeset patch # User Matti Hamalainen # Date 1530922958 -10800 # Node ID 44a07b1c620d10f2d51fb645e8460780e27f7e57 # Parent 1180249d713d3ce2d41f1b0824c37e87b6ba43c4 Rename 'bool' -> 'boolean'. diff -r 1180249d713d -r 44a07b1c620d draw_smart.pde --- a/draw_smart.pde Fri Jul 06 19:43:56 2018 +0300 +++ b/draw_smart.pde Sat Jul 07 03:22:38 2018 +0300 @@ -117,7 +117,7 @@ } -bool floodfill_mc_plop(int npar, int molox, int xc, int yc) +boolean floodfill_mc_plop(int npar, int molox, int xc, int yc) { int ad = 1024 + xc + yc * X; @@ -208,7 +208,7 @@ } -bool floodfill_iq_plop(int npar, int xc, int yc) +boolean floodfill_iq_plop(int npar, int xc, int yc) { int ad = 1024 + xc + yc * X; diff -r 1180249d713d -r 44a07b1c620d exporters.pde --- a/exporters.pde Fri Jul 06 19:43:56 2018 +0300 +++ b/exporters.pde Sat Jul 07 03:22:38 2018 +0300 @@ -42,7 +42,7 @@ } -bool mpImportFormat(byte[] fdata) +boolean mpImportFormat(byte[] fdata) { int x, y, x2, y2, y3, head, xx, yy, yp, ad, valu; int p1, p2, p3; @@ -388,7 +388,7 @@ } -byte[] mpExportMachinePRG(bool sorsa) +byte[] mpExportMachinePRG(boolean sorsa) { // any common text headers String src = ";machine=" + str(machine) + " (" + g_name + ")\n"; @@ -945,7 +945,7 @@ } -bool mpImportFromImage(PImage image) +boolean mpImportFromImage(PImage image) { if (image == null) return false; @@ -1217,7 +1217,7 @@ } -PImage mpRenderImage(bool border) +PImage mpRenderImage(boolean border) { PImage output; diff -r 1180249d713d -r 44a07b1c620d multipaint.pde --- a/multipaint.pde Fri Jul 06 19:43:56 2018 +0300 +++ b/multipaint.pde Sat Jul 07 03:22:38 2018 +0300 @@ -203,7 +203,7 @@ } -bool mpHaveLocalStorage() +boolean mpHaveLocalStorage() { var test = 'mpLSTest'; try { @@ -316,7 +316,7 @@ // "Save" a byte array to file. Basically creates a blob URI // and dumps it in the DOM, giving user a download. // -bool mpSaveBinaryFile(String name, byte[] data) +boolean mpSaveBinaryFile(String name, byte[] data) { var blob = mpMakeBinaryBlob(data); if (blob == null) @@ -347,7 +347,7 @@ } -void mpSavePNGImage(String name, int fmt, bool border) +void mpSavePNGImage(String name, int fmt, boolean border) { PImage simg = mpRenderImage(border); // if (g_data[int('Q')] == 0) @@ -399,7 +399,7 @@ } -int mpSetNativeImage(byte[] data, bool noError) +int mpSetNativeImage(byte[] data, boolean noError) { if (data == null) return -1; @@ -422,7 +422,7 @@ } -int mpLoadNativeImage(String name, bool noError) +int mpLoadNativeImage(String name, boolean noError) { return mpSetNativeImage( mpLoadBinaryFile(name), noError);