Rev 259 | Rev 339 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 259 | Rev 271 | ||
---|---|---|---|
Line 53... | Line 53... | ||
53 | // Note: In Windows DLL/8BF files, the strings are C-strings, while in MAC-plugins they are Pascal-strings! |
53 | // Note: In Windows DLL/8BF files, the strings are C-strings, while in MAC-plugins they are Pascal-strings! |
54 | // However, internally, we work with Pascal Strings: |
54 | // However, internally, we work with Pascal Strings: |
55 | // readPARM() converts C to Pascal strings, and doresources() converts them back to C strings for saving. |
55 | // readPARM() converts C to Pascal strings, and doresources() converts them back to C strings for saving. |
56 | 56 | ||
57 | // Photoshop's Filter Factory has PARM:16 |
57 | // Photoshop's Filter Factory has PARM:16 |
- | 58 | // Filter Foundry has PARM:16000 |
|
58 | typedef struct { //structure of FF PARM resource |
59 | typedef struct { //structure of FF PARM resource |
59 | long cbSize; //size of this structure = 0x2068 (or 0x1C68 for Filter Foundry <1.7) |
60 | long cbSize; //size of this structure = 0x2068 (or 0x1C68 for Filter Foundry <1.7) |
60 | long standalone; //0=original FF, 1=standalone filter |
61 | long standalone; //0=original FF, 1=standalone filter |
61 | long val[8]; //initial values of controls |
62 | long val[8]; //initial values of controls |
62 | long popDialog; //1 if need to pop a parameter dialog |
63 | long popDialog; //1 if need to pop a parameter dialog |
Line 81... | Line 82... | ||
81 | long cbSize; //size of this structure = 0x206C |
82 | long cbSize; //size of this structure = 0x206C |
82 | long standalone; //0=original FF, 1=standalone filter |
83 | long standalone; //0=original FF, 1=standalone filter |
83 | long singleExpression; //1 if "single expression" is checked (member only available in Premiere) |
84 | long singleExpression; //1 if "single expression" is checked (member only available in Premiere) |
84 | long val[8]; //initial values of controls |
85 | long val[8]; //initial values of controls |
85 | long popDialog; //1 if need to pop a parameter dialog |
86 | long popDialog; //1 if need to pop a parameter dialog |
86 | long unknown1; // Byte 48..52 must be 0 to make obfuscation of FF>=7.0.5 work |
87 | long unknown1; |
87 | long unknown2; |
88 | long unknown2; |
88 | long unknown3; |
89 | long unknown3; |
89 | long map_used[4]; //true if map(n) is used |
90 | long map_used[4]; //true if map(n) is used |
90 | long ctl_used[8]; //true if ctl(n) is used |
91 | long ctl_used[8]; //true if ctl(n) is used |
91 | unsigned char title[256]; // in Photoshop Filter Factory: Category |
92 | unsigned char title[256]; // in Photoshop Filter Factory: Category |