Subversion Repositories filter_foundry

Rev

Go to most recent revision | Blame | Last modification | View Log | RSS feed

#include "parm.h"
resource 'PARM' (16000) {
    standaloneFilter,
      {       /* array: 8 elements */
                /* [1] */
              124,
           /* [2] */
              4,
             /* [3] */
              10,
            /* [4] */
              0,
             /* [5] */
              0,
             /* [6] */
              0,
             /* [7] */
              0,
             /* [8] */
              0
      },
     noParameters,
  0,
     0,
     0,
     {       /* array: 4 elements */
                /* [1] */
              1,
             /* [2] */
              0,
             /* [3] */
              0,
             /* [4] */
              0
      },
     {       /* array: 8 elements */
                /* [1] */
              0,
             /* [2] */
              0,
             /* [3] */
              0,
             /* [4] */
              0,
             /* [5] */
              1,
             /* [6] */
              0,
             /* [7] */
              1,
             /* [8] */
              1
      },
     "category",
    notProtected,
  "title",
       "copyright notice",
    "author",
      {       /* array: 4 elements */
                /* [1] */
              "Map 0:",
              /* [2] */
              "Map 1:",
              /* [3] */
              "Map 2:",
              /* [4] */
              "Map 3:"
       },
     {       /* array: 8 elements */
                /* [1] */
              "Control 0:",
          /* [2] */
              "Control 1:",
          /* [3] */
              "Control 2:",
          /* [4] */
              "Control 3:",
          /* [5] */
              "Control 4:",
          /* [6] */
              "Control 5:",
          /* [7] */
              "Control 6:",
          /* [8] */
              "Control 7:"
   },
     {       /* array: 4 elements */
                /* [1] */
              "put((src(x-1,y-1,z)>>7)+(src(x,y-1,z)>>7"
              ")+(src(x+1,y-1,z)>>7)+(src(x-1,y,z)>>7)+"
             "(src(x+1,y,z)>>7)+(src(x-1,y+1,z)>>7)+(s"
             "rc(x,y+1,z)>>7)+(src(x+1,y+1,z)>>7),0),("
             "get(0)==2 ? c>>7 : get(0)==3) ? 255 : 0",
             /* [2] */
              "r",
           /* [3] */
              "g",
           /* [4] */
              "a"
    }
};