/* This file is part of 8XI (TI-83 Plus) Format, a File Format plugin for Adobe Photoshop Copyright (C) 2006 Toby Thain, toby@telegraphics.com.au This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include "../PhotoshopAPI/Photoshop/PIResDefines.h" #include "ti8xi.h" #include "version.h" #define LC(a,b,c,d) #d, #c, #b, #a #define VENDORID LC(8,B,I,M) #define NULLID 0L // flag values for high byte of FormatFlags ('fmtf') property #define fmtSavesImageResources 0x40 #define fmtCanRead 0x20 #define fmtCanWrite 0x10 #define fmtCanWriteIfRead 0x08 #define fmtCanWriteTransparency 0x04 16000 PiPL DISCARDABLE BEGIN 0x0001, /* Reserved (for Photoshop) */ 0L, /* kCurrentPiPLVersion */ 9L, /* Property Count */ VENDORID, LC(k,i,n,d), NULLID, 4L, LC(8,B,I,F), /* File Format module */ VENDORID, LC(v,e,r,s), NULLID, 4L, latestFormatSubVersion,latestFormatVersion, /* Version Number */ VENDORID, LC(n,a,m,e), NULLID, 17L, "\0208XI (TI-83 Plus)\0\0\0", /* PString */ VENDORID, LC(w,x,8,6), NULLID, 11L, "PluginMain\0\0", /* Entrypoint Name (Long Word padded C String) */ VENDORID, LC(m,o,d,e), NULLID, 2L, flagSupportsBitmap,0, VENDORID, LC(m,x,s,z), NULLID, 4L, TI8XI_ROWS,TI8XI_COLS, VENDORID, LC(R,d,E,x), NULLID, 24L, "8XI ","82I ","83I ","85I ","86I ","89I ", VENDORID, LC(W,r,E,x), NULLID, 4L, "8XI ", VENDORID, LC(f,m,t,f), NULLID, 2L, fmtCanRead|fmtCanWrite,0 /* VENDORID, LC(e,n,b,l), NULLID, 60L, "BitmapMode && PSHOP_ImageWidth==96 && PSHOP_ImageHeight==63\0" */ END /* Version info resource see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcesdkr/html/_Tools_VERSIONINFO_Resource.asp and http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tools/tools/versioninfo_resource.asp */ #include "winver.h" VS_VERSION_INFO VERSIONINFO FILEVERSION VI_VERS_NUM PRODUCTVERSION VI_VERS_NUM FILEFLAGSMASK 0x3fL FILEFLAGS VI_FLAGS FILEOS VOS__WINDOWS32 FILETYPE VFT_DLL FILESUBTYPE VFT2_UNKNOWN BEGIN BLOCK "StringFileInfo" BEGIN BLOCK "04090000" BEGIN VALUE "Comments", VI_COMMENTS VALUE "CompanyName", "Telegraphics Pty Ltd, www.telegraphics.com.au\0" VALUE "FileDescription", "8XI (TI-83 Plus) Format plugin for Photoshop(R)\0" VALUE "FileVersion", VERSION_STR "\0" VALUE "InternalName", "TI8XIFormat\0" VALUE "LegalCopyright", "Copyright (C) 2006 Toby Thain\0" VALUE "License", "This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.\0" /*VALUE "LegalTrademarks", "\0"*/ VALUE "OriginalFilename", "TI8XIFormat.8bi\0" /*VALUE "PrivateBuild", "\0"*/ VALUE "ProductName", "8XI (TI-83 Plus) Format\0" VALUE "ProductVersion", VERSION_STR "\0" /*VALUE "SpecialBuild", "\0"*/ END END BLOCK "VarFileInfo" /* see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcesdkr/html/_tools_VarFileInfo_Block.asp */ BEGIN VALUE "Translation", 0x0809, 1200 /* UK English, Unicode */ END END