├── .gitattributes ├── .gitignore ├── Assets ├── AssetStoreTools.meta ├── AssetStoreTools │ ├── Editor.meta │ └── Editor │ │ ├── AssetStoreTools.dll │ │ ├── AssetStoreTools.dll.meta │ │ ├── AssetStoreToolsExtra.dll │ │ ├── AssetStoreToolsExtra.dll.meta │ │ ├── DroidSansMono.ttf │ │ ├── DroidSansMono.ttf.meta │ │ ├── icon.png │ │ └── icon.png.meta ├── Editor.meta ├── Editor │ ├── Reign.meta │ └── Reign │ │ ├── Tools.cs │ │ └── Tools.cs.meta ├── MetroTestCertificate.pfx ├── MetroTestCertificate.pfx.meta ├── Plugins.meta ├── Plugins │ ├── Reign.meta │ └── Reign │ │ ├── Shared.meta │ │ └── Shared │ │ ├── ImageTools.meta │ │ ├── ImageTools │ │ ├── BMP.meta │ │ ├── BMP │ │ │ ├── BmpCompression.cs │ │ │ ├── BmpCompression.cs.meta │ │ │ ├── BmpDecoder.cs │ │ │ ├── BmpDecoder.cs.meta │ │ │ ├── BmpEncoder.cs │ │ │ ├── BmpEncoder.cs.meta │ │ │ ├── BmpFileHeader.cs │ │ │ ├── BmpFileHeader.cs.meta │ │ │ ├── BmpInfoHeader.cs │ │ │ └── BmpInfoHeader.cs.meta │ │ ├── Common.meta │ │ ├── Common │ │ │ ├── BarcodeResult.cs │ │ │ ├── BarcodeResult.cs.meta │ │ │ ├── BarcodeResultFormat.cs │ │ │ ├── BarcodeResultFormat.cs.meta │ │ │ ├── ExtendedImage.cs │ │ │ ├── ExtendedImage.cs.meta │ │ │ ├── ExtendedImage_Operations.cs │ │ │ ├── ExtendedImage_Operations.cs.meta │ │ │ ├── FlippingType.cs │ │ │ ├── FlippingType.cs.meta │ │ │ ├── GlobalSuppressions.cs │ │ │ ├── GlobalSuppressions.cs.meta │ │ │ ├── Helpers.meta │ │ │ ├── Helpers │ │ │ │ ├── Extensions.cs │ │ │ │ ├── Extensions.cs.meta │ │ │ │ ├── Guard.cs │ │ │ │ └── Guard.cs.meta │ │ │ ├── IBarcodeReader.cs │ │ │ ├── IBarcodeReader.cs.meta │ │ │ ├── IBarcodeReaderContract.cs │ │ │ ├── IBarcodeReaderContract.cs.meta │ │ │ ├── IImageFilter.cs │ │ │ ├── IImageFilter.cs.meta │ │ │ ├── IImageFilterContract.cs │ │ │ ├── IImageFilterContract.cs.meta │ │ │ ├── IImageResizer.cs │ │ │ ├── IImageResizer.cs.meta │ │ │ ├── IImageResizerContract.cs │ │ │ ├── IImageResizerContract.cs.meta │ │ │ ├── IO.meta │ │ │ ├── IO │ │ │ │ ├── Decoders.cs │ │ │ │ ├── Decoders.cs.meta │ │ │ │ ├── Encoders.cs │ │ │ │ ├── Encoders.cs.meta │ │ │ │ ├── IImageDecoder.cs │ │ │ │ ├── IImageDecoder.cs.meta │ │ │ │ ├── IImageDecoderContract.cs │ │ │ │ ├── IImageDecoderContract.cs.meta │ │ │ │ ├── IImageEncoder.cs │ │ │ │ ├── IImageEncoder.cs.meta │ │ │ │ ├── IImageEncoderContract.cs │ │ │ │ ├── IImageEncoderContract.cs.meta │ │ │ │ ├── UnsupportedImageFormatException.cs │ │ │ │ └── UnsupportedImageFormatException.cs.meta │ │ │ ├── ImageBase.cs │ │ │ ├── ImageBase.cs.meta │ │ │ ├── ImageBase_Operations.cs │ │ │ ├── ImageBase_Operations.cs.meta │ │ │ ├── ImageFormatException.cs │ │ │ ├── ImageFormatException.cs.meta │ │ │ ├── ImageFrame.cs │ │ │ ├── ImageFrame.cs.meta │ │ │ ├── ImageFrameCollection.cs │ │ │ ├── ImageFrameCollection.cs.meta │ │ │ ├── ImageProperty.cs │ │ │ ├── ImageProperty.cs.meta │ │ │ ├── ImagePropertyCollection.cs │ │ │ ├── ImagePropertyCollection.cs.meta │ │ │ ├── Rectangle.cs │ │ │ ├── Rectangle.cs.meta │ │ │ ├── RotationType.cs │ │ │ └── RotationType.cs.meta │ │ ├── Filtering.meta │ │ ├── Filtering │ │ │ ├── BilinearResizer.cs │ │ │ ├── BilinearResizer.cs.meta │ │ │ ├── BinarizerMode.cs │ │ │ ├── BinarizerMode.cs.meta │ │ │ ├── BlendingFilter.cs │ │ │ ├── BlendingFilter.cs.meta │ │ │ ├── Brightness.cs │ │ │ ├── Brightness.cs.meta │ │ │ ├── Contrast.cs │ │ │ ├── Contrast.cs.meta │ │ │ ├── GaussianBlur.cs │ │ │ ├── GaussianBlur.cs.meta │ │ │ ├── Grayscale.cs │ │ │ ├── Grayscale.cs.meta │ │ │ ├── GrayscaleBT709.cs │ │ │ ├── GrayscaleBT709.cs.meta │ │ │ ├── GrayscaleRMY.cs │ │ │ ├── GrayscaleRMY.cs.meta │ │ │ ├── Inverter.cs │ │ │ ├── Inverter.cs.meta │ │ │ ├── MatrixFilter.cs │ │ │ ├── MatrixFilter.cs.meta │ │ │ ├── NearestNeighborResizer.cs │ │ │ ├── NearestNeighborResizer.cs.meta │ │ │ ├── PrewittX.cs │ │ │ ├── PrewittX.cs.meta │ │ │ ├── PrewittY.cs │ │ │ ├── PrewittY.cs.meta │ │ │ ├── Sepia.cs │ │ │ ├── Sepia.cs.meta │ │ │ ├── SobelX.cs │ │ │ ├── SobelX.cs.meta │ │ │ ├── SobelY.cs │ │ │ ├── SobelY.cs.meta │ │ │ ├── ZXingBarcodeReader.cs │ │ │ └── ZXingBarcodeReader.cs.meta │ │ ├── GIF.meta │ │ ├── GIF │ │ │ ├── DisposalMethod.cs │ │ │ ├── DisposalMethod.cs.meta │ │ │ ├── GifDecoder.cs │ │ │ ├── GifDecoder.cs.meta │ │ │ ├── GifGraphicsControlExtension.cs │ │ │ ├── GifGraphicsControlExtension.cs.meta │ │ │ ├── GifImageDescriptor.cs │ │ │ ├── GifImageDescriptor.cs.meta │ │ │ ├── GifLogicalScreenDescriptor.cs │ │ │ ├── GifLogicalScreenDescriptor.cs.meta │ │ │ ├── GlobalSuppressions.cs │ │ │ ├── GlobalSuppressions.cs.meta │ │ │ ├── LZWDecoder.cs │ │ │ └── LZWDecoder.cs.meta │ │ ├── JPG.meta │ │ ├── JPG │ │ │ ├── FluxJpeg.Core.meta │ │ │ ├── FluxJpeg.Core │ │ │ │ ├── DCT.cs │ │ │ │ ├── DCT.cs.meta │ │ │ │ ├── DecodedJpeg.cs │ │ │ │ ├── DecodedJpeg.cs.meta │ │ │ │ ├── Decoder.meta │ │ │ │ ├── Decoder │ │ │ │ │ ├── HuffmanTable.cs │ │ │ │ │ ├── HuffmanTable.cs.meta │ │ │ │ │ ├── JpegComponent.cs │ │ │ │ │ ├── JpegComponent.cs.meta │ │ │ │ │ ├── JpegDecoder.cs │ │ │ │ │ ├── JpegDecoder.cs.meta │ │ │ │ │ ├── JpegFrame.cs │ │ │ │ │ ├── JpegFrame.cs.meta │ │ │ │ │ ├── JpegHuffmanTable.cs │ │ │ │ │ ├── JpegHuffmanTable.cs.meta │ │ │ │ │ ├── JpegQuantizationTable.cs │ │ │ │ │ ├── JpegQuantizationTable.cs.meta │ │ │ │ │ ├── JpegScan.cs │ │ │ │ │ └── JpegScan.cs.meta │ │ │ │ ├── Encoder.meta │ │ │ │ ├── Encoder │ │ │ │ │ ├── JpegEncoder.cs │ │ │ │ │ └── JpegEncoder.cs.meta │ │ │ │ ├── FDCT.cs │ │ │ │ ├── FDCT.cs.meta │ │ │ │ ├── IO.meta │ │ │ │ ├── IO │ │ │ │ │ ├── BinaryReader.cs │ │ │ │ │ ├── BinaryReader.cs.meta │ │ │ │ │ ├── BinaryWriter.cs │ │ │ │ │ ├── BinaryWriter.cs.meta │ │ │ │ │ ├── JpegBinaryReader.cs │ │ │ │ │ └── JpegBinaryReader.cs.meta │ │ │ │ ├── Image.cs │ │ │ │ ├── Image.cs.meta │ │ │ │ ├── JpegMarker.cs │ │ │ │ ├── JpegMarker.cs.meta │ │ │ │ ├── YCbCr.cs │ │ │ │ ├── YCbCr.cs.meta │ │ │ │ ├── ZigZag.cs │ │ │ │ └── ZigZag.cs.meta │ │ │ ├── JpegDecoder.cs │ │ │ ├── JpegDecoder.cs.meta │ │ │ ├── JpegEncoder.cs │ │ │ ├── JpegEncoder.cs.meta │ │ │ ├── LibJpeg.meta │ │ │ └── LibJpeg │ │ │ │ ├── BitStream.cs │ │ │ │ ├── BitStream.cs.meta │ │ │ │ ├── BitmapDestination.cs │ │ │ │ ├── BitmapDestination.cs.meta │ │ │ │ ├── Classic.meta │ │ │ │ ├── Classic │ │ │ │ ├── DensityUnit.cs │ │ │ │ ├── DensityUnit.cs.meta │ │ │ │ ├── Internal.meta │ │ │ │ ├── Internal │ │ │ │ │ ├── ComponentBuffer.cs │ │ │ │ │ ├── ComponentBuffer.cs.meta │ │ │ │ │ ├── J_BUF_MODE.cs │ │ │ │ │ ├── J_BUF_MODE.cs.meta │ │ │ │ │ ├── JpegUtils.cs │ │ │ │ │ ├── JpegUtils.cs.meta │ │ │ │ │ ├── bitread_perm_state.cs │ │ │ │ │ ├── bitread_perm_state.cs.meta │ │ │ │ │ ├── bitread_working_state.cs │ │ │ │ │ ├── bitread_working_state.cs.meta │ │ │ │ │ ├── d_derived_tbl.cs │ │ │ │ │ ├── d_derived_tbl.cs.meta │ │ │ │ │ ├── huff_entropy_decoder.cs │ │ │ │ │ ├── huff_entropy_decoder.cs.meta │ │ │ │ │ ├── huff_entropy_encoder.cs │ │ │ │ │ ├── huff_entropy_encoder.cs.meta │ │ │ │ │ ├── jpeg_c_coef_controller.cs │ │ │ │ │ ├── jpeg_c_coef_controller.cs.meta │ │ │ │ │ ├── jpeg_c_main_controller.cs │ │ │ │ │ ├── jpeg_c_main_controller.cs.meta │ │ │ │ │ ├── jpeg_c_prep_controller.cs │ │ │ │ │ ├── jpeg_c_prep_controller.cs.meta │ │ │ │ │ ├── jpeg_color_converter.cs │ │ │ │ │ ├── jpeg_color_converter.cs.meta │ │ │ │ │ ├── jpeg_color_deconverter.cs │ │ │ │ │ ├── jpeg_color_deconverter.cs.meta │ │ │ │ │ ├── jpeg_color_quantizer.cs │ │ │ │ │ ├── jpeg_color_quantizer.cs.meta │ │ │ │ │ ├── jpeg_comp_master.cs │ │ │ │ │ ├── jpeg_comp_master.cs.meta │ │ │ │ │ ├── jpeg_d_coef_controller.cs │ │ │ │ │ ├── jpeg_d_coef_controller.cs.meta │ │ │ │ │ ├── jpeg_d_main_controller.cs │ │ │ │ │ ├── jpeg_d_main_controller.cs.meta │ │ │ │ │ ├── jpeg_d_post_controller.cs │ │ │ │ │ ├── jpeg_d_post_controller.cs.meta │ │ │ │ │ ├── jpeg_decomp_master.cs │ │ │ │ │ ├── jpeg_decomp_master.cs.meta │ │ │ │ │ ├── jpeg_downsampler.cs │ │ │ │ │ ├── jpeg_downsampler.cs.meta │ │ │ │ │ ├── jpeg_entropy_decoder.cs │ │ │ │ │ ├── jpeg_entropy_decoder.cs.meta │ │ │ │ │ ├── jpeg_entropy_encoder.cs │ │ │ │ │ ├── jpeg_entropy_encoder.cs.meta │ │ │ │ │ ├── jpeg_forward_dct.cs │ │ │ │ │ ├── jpeg_forward_dct.cs.meta │ │ │ │ │ ├── jpeg_input_controller.cs │ │ │ │ │ ├── jpeg_input_controller.cs.meta │ │ │ │ │ ├── jpeg_inverse_dct.cs │ │ │ │ │ ├── jpeg_inverse_dct.cs.meta │ │ │ │ │ ├── jpeg_marker_reader.cs │ │ │ │ │ ├── jpeg_marker_reader.cs.meta │ │ │ │ │ ├── jpeg_marker_writer.cs │ │ │ │ │ ├── jpeg_marker_writer.cs.meta │ │ │ │ │ ├── jpeg_scan_info.cs │ │ │ │ │ ├── jpeg_scan_info.cs.meta │ │ │ │ │ ├── jpeg_upsampler.cs │ │ │ │ │ ├── jpeg_upsampler.cs.meta │ │ │ │ │ ├── my_1pass_cquantizer.cs │ │ │ │ │ ├── my_1pass_cquantizer.cs.meta │ │ │ │ │ ├── my_2pass_cquantizer.cs │ │ │ │ │ ├── my_2pass_cquantizer.cs.meta │ │ │ │ │ ├── my_c_coef_controller.cs │ │ │ │ │ ├── my_c_coef_controller.cs.meta │ │ │ │ │ ├── my_destination_mgr.cs │ │ │ │ │ ├── my_destination_mgr.cs.meta │ │ │ │ │ ├── my_merged_upsampler.cs │ │ │ │ │ ├── my_merged_upsampler.cs.meta │ │ │ │ │ ├── my_source_mgr.cs │ │ │ │ │ ├── my_source_mgr.cs.meta │ │ │ │ │ ├── my_trans_c_coef_controller.cs │ │ │ │ │ ├── my_trans_c_coef_controller.cs.meta │ │ │ │ │ ├── my_upsampler.cs │ │ │ │ │ ├── my_upsampler.cs.meta │ │ │ │ │ ├── phuff_entropy_decoder.cs │ │ │ │ │ ├── phuff_entropy_decoder.cs.meta │ │ │ │ │ ├── phuff_entropy_encoder.cs │ │ │ │ │ └── phuff_entropy_encoder.cs.meta │ │ │ │ ├── JBLOCK.cs │ │ │ │ ├── JBLOCK.cs.meta │ │ │ │ ├── JHUFF_TBL.cs │ │ │ │ ├── JHUFF_TBL.cs.meta │ │ │ │ ├── JPEG_MARKER.cs │ │ │ │ ├── JPEG_MARKER.cs.meta │ │ │ │ ├── JQUANT_TBL.cs │ │ │ │ ├── JQUANT_TBL.cs.meta │ │ │ │ ├── J_COLOR_SPACE.cs │ │ │ │ ├── J_COLOR_SPACE.cs.meta │ │ │ │ ├── J_DCT_METHOD.cs │ │ │ │ ├── J_DCT_METHOD.cs.meta │ │ │ │ ├── J_DITHER_MODE.cs │ │ │ │ ├── J_DITHER_MODE.cs.meta │ │ │ │ ├── J_MESSAGE_CODE.cs │ │ │ │ ├── J_MESSAGE_CODE.cs.meta │ │ │ │ ├── JpegConstants.cs │ │ │ │ ├── JpegConstants.cs.meta │ │ │ │ ├── ReadResult.cs │ │ │ │ ├── ReadResult.cs.meta │ │ │ │ ├── jpeg_common_struct.cs │ │ │ │ ├── jpeg_common_struct.cs.meta │ │ │ │ ├── jpeg_component_info.cs │ │ │ │ ├── jpeg_component_info.cs.meta │ │ │ │ ├── jpeg_compress_struct.cs │ │ │ │ ├── jpeg_compress_struct.cs.meta │ │ │ │ ├── jpeg_decompress_struct.cs │ │ │ │ ├── jpeg_decompress_struct.cs.meta │ │ │ │ ├── jpeg_destination_mgr.cs │ │ │ │ ├── jpeg_destination_mgr.cs.meta │ │ │ │ ├── jpeg_error_mgr.cs │ │ │ │ ├── jpeg_error_mgr.cs.meta │ │ │ │ ├── jpeg_marker_struct.cs │ │ │ │ ├── jpeg_marker_struct.cs.meta │ │ │ │ ├── jpeg_progress_mgr.cs │ │ │ │ ├── jpeg_progress_mgr.cs.meta │ │ │ │ ├── jpeg_source_mgr.cs │ │ │ │ ├── jpeg_source_mgr.cs.meta │ │ │ │ ├── jvirt_array.cs │ │ │ │ └── jvirt_array.cs.meta │ │ │ │ ├── CompressionParameters.cs │ │ │ │ ├── CompressionParameters.cs.meta │ │ │ │ ├── DecompressionParameters.cs │ │ │ │ ├── DecompressionParameters.cs.meta │ │ │ │ ├── DecompressorToJpegImage.cs │ │ │ │ ├── DecompressorToJpegImage.cs.meta │ │ │ │ ├── Enumerations.cs │ │ │ │ ├── Enumerations.cs.meta │ │ │ │ ├── IDecompressDestination.cs │ │ │ │ ├── IDecompressDestination.cs.meta │ │ │ │ ├── IRawImage.cs │ │ │ │ ├── IRawImage.cs.meta │ │ │ │ ├── Jpeg.cs │ │ │ │ ├── Jpeg.cs.meta │ │ │ │ ├── JpegImage.cs │ │ │ │ ├── JpegImage.cs.meta │ │ │ │ ├── RawImage.cs │ │ │ │ ├── RawImage.cs.meta │ │ │ │ ├── Sample.cs │ │ │ │ ├── Sample.cs.meta │ │ │ │ ├── SampleRow.cs │ │ │ │ ├── SampleRow.cs.meta │ │ │ │ ├── Utils.cs │ │ │ │ └── Utils.cs.meta │ │ ├── MissingAPIs.meta │ │ ├── MissingAPIs │ │ │ ├── Color.cs │ │ │ ├── Color.cs.meta │ │ │ ├── Contract.cs │ │ │ ├── Contract.cs.meta │ │ │ ├── ContractClassForAttribute.cs │ │ │ ├── ContractClassForAttribute.cs.meta │ │ │ ├── ContractVerificationAttribute.cs │ │ │ ├── ContractVerificationAttribute.cs.meta │ │ │ ├── ObservableCollection.cs │ │ │ ├── ObservableCollection.cs.meta │ │ │ ├── OpenReadCompletedEventArgs.cs │ │ │ ├── OpenReadCompletedEventArgs.cs.meta │ │ │ ├── OpenReadCompletedEventHandler.cs │ │ │ ├── OpenReadCompletedEventHandler.cs.meta │ │ │ ├── Point.cs │ │ │ ├── Point.cs.meta │ │ │ ├── Pure.cs │ │ │ ├── Pure.cs.meta │ │ │ ├── Rect.cs │ │ │ ├── Rect.cs.meta │ │ │ ├── Size.cs │ │ │ ├── Size.cs.meta │ │ │ ├── StreamResourceInfo.cs │ │ │ └── StreamResourceInfo.cs.meta │ │ ├── PNG.meta │ │ └── PNG │ │ │ ├── GlobalSuppressions.cs │ │ │ ├── GlobalSuppressions.cs.meta │ │ │ ├── GrayscaleReader.cs │ │ │ ├── GrayscaleReader.cs.meta │ │ │ ├── IColorReader.cs │ │ │ ├── IColorReader.cs.meta │ │ │ ├── PaletteIndexReader.cs │ │ │ ├── PaletteIndexReader.cs.meta │ │ │ ├── PngChunk.cs │ │ │ ├── PngChunk.cs.meta │ │ │ ├── PngColorTypeInformation.cs │ │ │ ├── PngColorTypeInformation.cs.meta │ │ │ ├── PngDecoder.cs │ │ │ ├── PngDecoder.cs.meta │ │ │ ├── PngEncoder.cs │ │ │ ├── PngEncoder.cs.meta │ │ │ ├── PngHeader.cs │ │ │ ├── PngHeader.cs.meta │ │ │ ├── TruecolorReader.cs │ │ │ └── TruecolorReader.cs.meta │ │ ├── SharpZipLib.meta │ │ ├── SharpZipLib │ │ ├── BZip2.meta │ │ ├── BZip2 │ │ │ ├── BZip2.cs │ │ │ ├── BZip2.cs.meta │ │ │ ├── BZip2Constants.cs │ │ │ ├── BZip2Constants.cs.meta │ │ │ ├── BZip2Exception.cs │ │ │ ├── BZip2Exception.cs.meta │ │ │ ├── BZip2InputStream.cs │ │ │ ├── BZip2InputStream.cs.meta │ │ │ ├── BZip2OutputStream.cs │ │ │ └── BZip2OutputStream.cs.meta │ │ ├── Checksums.meta │ │ ├── Checksums │ │ │ ├── Adler32.cs │ │ │ ├── Adler32.cs.meta │ │ │ ├── CRC32.cs │ │ │ ├── CRC32.cs.meta │ │ │ ├── IChecksum.cs │ │ │ ├── IChecksum.cs.meta │ │ │ ├── StrangeCRC.cs │ │ │ └── StrangeCRC.cs.meta │ │ ├── Core.meta │ │ ├── Core │ │ │ ├── FileSystemScanner.cs │ │ │ ├── FileSystemScanner.cs.meta │ │ │ ├── INameTransform.cs │ │ │ ├── INameTransform.cs.meta │ │ │ ├── IScanFilter.cs │ │ │ ├── IScanFilter.cs.meta │ │ │ ├── NameFilter.cs │ │ │ ├── NameFilter.cs.meta │ │ │ ├── PathFilter.cs │ │ │ ├── PathFilter.cs.meta │ │ │ ├── StreamUtils.cs │ │ │ ├── StreamUtils.cs.meta │ │ │ ├── WindowsPathUtils.cs │ │ │ └── WindowsPathUtils.cs.meta │ │ ├── Encryption.meta │ │ ├── Encryption │ │ │ ├── PkzipClassic.cs │ │ │ ├── PkzipClassic.cs.meta │ │ │ ├── ZipAESStream.cs │ │ │ ├── ZipAESStream.cs.meta │ │ │ ├── ZipAESTransform.cs │ │ │ └── ZipAESTransform.cs.meta │ │ ├── GZip.meta │ │ ├── GZip │ │ │ ├── GZIPConstants.cs │ │ │ ├── GZIPConstants.cs.meta │ │ │ ├── GZipException.cs │ │ │ ├── GZipException.cs.meta │ │ │ ├── GzipInputStream.cs │ │ │ ├── GzipInputStream.cs.meta │ │ │ ├── GzipOutputStream.cs │ │ │ └── GzipOutputStream.cs.meta │ │ ├── Lzw.meta │ │ ├── Lzw │ │ │ ├── LzwConstants.cs │ │ │ ├── LzwConstants.cs.meta │ │ │ ├── LzwException.cs │ │ │ ├── LzwException.cs.meta │ │ │ ├── LzwInputStream.cs │ │ │ └── LzwInputStream.cs.meta │ │ ├── Main.cs │ │ ├── Main.cs.meta │ │ ├── SharpZipBaseException.cs │ │ ├── SharpZipBaseException.cs.meta │ │ ├── Tar.meta │ │ ├── Tar │ │ │ ├── InvalidHeaderException.cs │ │ │ ├── InvalidHeaderException.cs.meta │ │ │ ├── TarArchive.cs │ │ │ ├── TarArchive.cs.meta │ │ │ ├── TarBuffer.cs │ │ │ ├── TarBuffer.cs.meta │ │ │ ├── TarEntry.cs │ │ │ ├── TarEntry.cs.meta │ │ │ ├── TarException.cs │ │ │ ├── TarException.cs.meta │ │ │ ├── TarHeader.cs │ │ │ ├── TarHeader.cs.meta │ │ │ ├── TarInputStream.cs │ │ │ ├── TarInputStream.cs.meta │ │ │ ├── TarOutputStream.cs │ │ │ └── TarOutputStream.cs.meta │ │ ├── Zip.meta │ │ └── Zip │ │ │ ├── Compression.meta │ │ │ ├── Compression │ │ │ ├── Deflater.cs │ │ │ ├── Deflater.cs.meta │ │ │ ├── DeflaterConstants.cs │ │ │ ├── DeflaterConstants.cs.meta │ │ │ ├── DeflaterEngine.cs │ │ │ ├── DeflaterEngine.cs.meta │ │ │ ├── DeflaterHuffman.cs │ │ │ ├── DeflaterHuffman.cs.meta │ │ │ ├── DeflaterPending.cs │ │ │ ├── DeflaterPending.cs.meta │ │ │ ├── Inflater.cs │ │ │ ├── Inflater.cs.meta │ │ │ ├── InflaterDynHeader.cs │ │ │ ├── InflaterDynHeader.cs.meta │ │ │ ├── InflaterHuffmanTree.cs │ │ │ ├── InflaterHuffmanTree.cs.meta │ │ │ ├── PendingBuffer.cs │ │ │ ├── PendingBuffer.cs.meta │ │ │ ├── Streams.meta │ │ │ └── Streams │ │ │ │ ├── DeflaterOutputStream.cs │ │ │ │ ├── DeflaterOutputStream.cs.meta │ │ │ │ ├── InflaterInputStream.cs │ │ │ │ ├── InflaterInputStream.cs.meta │ │ │ │ ├── OutputWindow.cs │ │ │ │ ├── OutputWindow.cs.meta │ │ │ │ ├── StreamManipulator.cs │ │ │ │ └── StreamManipulator.cs.meta │ │ │ ├── FastZip.cs │ │ │ ├── FastZip.cs.meta │ │ │ ├── IEntryFactory.cs │ │ │ ├── IEntryFactory.cs.meta │ │ │ ├── WindowsNameTransform.cs │ │ │ ├── WindowsNameTransform.cs.meta │ │ │ ├── ZipConstants.cs │ │ │ ├── ZipConstants.cs.meta │ │ │ ├── ZipEntry.cs │ │ │ ├── ZipEntry.cs.meta │ │ │ ├── ZipEntryFactory.cs │ │ │ ├── ZipEntryFactory.cs.meta │ │ │ ├── ZipException.cs │ │ │ ├── ZipException.cs.meta │ │ │ ├── ZipExtraData.cs │ │ │ ├── ZipExtraData.cs.meta │ │ │ ├── ZipFile.cs │ │ │ ├── ZipFile.cs.meta │ │ │ ├── ZipHelperStream.cs │ │ │ ├── ZipHelperStream.cs.meta │ │ │ ├── ZipInputStream.cs │ │ │ ├── ZipInputStream.cs.meta │ │ │ ├── ZipNameTransform.cs │ │ │ ├── ZipNameTransform.cs.meta │ │ │ ├── ZipOutputStream.cs │ │ │ └── ZipOutputStream.cs.meta │ │ ├── WinRT.meta │ │ └── WinRT │ │ ├── WinRTPlugin.cs │ │ └── WinRTPlugin.cs.meta ├── Scenes.meta └── Scenes │ ├── Reign.meta │ └── Reign │ ├── Demo.unity │ └── Demo.unity.meta ├── LICENSE.md ├── ProjectSettings ├── AudioManager.asset ├── DynamicsManager.asset ├── EditorBuildSettings.asset ├── EditorSettings.asset ├── GraphicsSettings.asset ├── InputManager.asset ├── NavMeshLayers.asset ├── NetworkManager.asset ├── Physics2DSettings.asset ├── ProjectSettings.asset ├── QualitySettings.asset ├── TagManager.asset └── TimeManager.asset └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | # Folders 2 | [Dd]ebug*/ 3 | [Rr]elease*/ 4 | Device-Release*/ 5 | [Bb]in/ 6 | obj/ 7 | Lib/ 8 | ipch/ 9 | Library/ 10 | TEMP/ 11 | Help/ 12 | 13 | # Files 14 | Reign.Android.zip 15 | Reign.Android.zip.meta 16 | ReignScores.zip 17 | ReignScores.zip.meta 18 | 19 | # Tooling 20 | _ReSharper*/ 21 | *.resharper 22 | [Tt]est[Rr]esult* 23 | 24 | # SLN 25 | *.db 26 | *.sdf 27 | *.suo 28 | *.user 29 | *.opensdf 30 | *.pidb 31 | *.userprefs 32 | 33 | # System Files 34 | *.DS_Store 35 | *.cachefile 36 | 37 | # Unity3D 38 | [Ll]ibrary/ 39 | [Tt]emp/ 40 | [Oo]bj/ 41 | 42 | # Autogenerated VS/MD solution and project files 43 | *.csproj 44 | *.unityproj 45 | *.sln 46 | 47 | # Eclipse --------------- 48 | *.pydevproject 49 | #.project 50 | .metadata 51 | bin/** 52 | tmp/** 53 | tmp/**/* 54 | *.tmp 55 | *.bak 56 | *.swp 57 | *~.nib 58 | local.properties 59 | #.classpath 60 | #.settings/ 61 | .loadpath 62 | 63 | # External tool builders 64 | .externalToolBuilders/ 65 | 66 | # Locally stored "Eclipse launch configurations" 67 | *.launch 68 | 69 | # CDT-specific 70 | #.cproject 71 | 72 | # PDT-specific 73 | .buildpath -------------------------------------------------------------------------------- /Assets/AssetStoreTools.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b0264992f90e27e48beeee54b801c8f2 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/AssetStoreTools/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 47c3c77b488bde14eac761a5144660ed 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/AssetStoreTools/Editor/AssetStoreTools.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reignstudios/Reign-Unity-Plugin-OpenSource/b02c2f07bfb986bf830e0624e5b9ef3b86b84bc1/Assets/AssetStoreTools/Editor/AssetStoreTools.dll -------------------------------------------------------------------------------- /Assets/AssetStoreTools/Editor/AssetStoreTools.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 11188de2b6632fa4486c470af4b55fa0 3 | MonoAssemblyImporter: 4 | serializedVersion: 1 5 | iconMap: {} 6 | executionOrder: {} 7 | userData: 8 | -------------------------------------------------------------------------------- /Assets/AssetStoreTools/Editor/AssetStoreToolsExtra.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reignstudios/Reign-Unity-Plugin-OpenSource/b02c2f07bfb986bf830e0624e5b9ef3b86b84bc1/Assets/AssetStoreTools/Editor/AssetStoreToolsExtra.dll -------------------------------------------------------------------------------- /Assets/AssetStoreTools/Editor/AssetStoreToolsExtra.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e35231d99115e9e4c8cb29414445831f 3 | MonoAssemblyImporter: 4 | serializedVersion: 1 5 | iconMap: {} 6 | executionOrder: {} 7 | userData: 8 | -------------------------------------------------------------------------------- /Assets/AssetStoreTools/Editor/DroidSansMono.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reignstudios/Reign-Unity-Plugin-OpenSource/b02c2f07bfb986bf830e0624e5b9ef3b86b84bc1/Assets/AssetStoreTools/Editor/DroidSansMono.ttf -------------------------------------------------------------------------------- /Assets/AssetStoreTools/Editor/DroidSansMono.ttf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 35021dda9bd03434195c7dcd6ad7618f 3 | TrueTypeFontImporter: 4 | serializedVersion: 2 5 | fontSize: 16 6 | forceTextureCase: -2 7 | characterSpacing: 1 8 | characterPadding: 0 9 | includeFontData: 1 10 | use2xBehaviour: 0 11 | fontNames: [] 12 | customCharacters: 13 | fontRenderingMode: 0 14 | userData: 15 | -------------------------------------------------------------------------------- /Assets/AssetStoreTools/Editor/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reignstudios/Reign-Unity-Plugin-OpenSource/b02c2f07bfb986bf830e0624e5b9ef3b86b84bc1/Assets/AssetStoreTools/Editor/icon.png -------------------------------------------------------------------------------- /Assets/AssetStoreTools/Editor/icon.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 41844c716792706449720732c95b2747 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 1 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: .25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | seamlessCubemap: 0 24 | textureFormat: -1 25 | maxTextureSize: 1024 26 | textureSettings: 27 | filterMode: -1 28 | aniso: -1 29 | mipBias: -1 30 | wrapMode: -1 31 | nPOTScale: 1 32 | lightmap: 0 33 | compressionQuality: 50 34 | spriteMode: 0 35 | spriteExtrude: 1 36 | spriteMeshType: 1 37 | alignment: 0 38 | spritePivot: {x: .5, y: .5} 39 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 40 | spritePixelsToUnits: 100 41 | alphaIsTransparency: 0 42 | textureType: -1 43 | buildTargetSettings: [] 44 | spriteSheet: 45 | sprites: [] 46 | spritePackingTag: 47 | userData: 48 | -------------------------------------------------------------------------------- /Assets/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a840640d8f7ceff4588107a97e550cfa 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/Editor/Reign.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 72440faa915336440a753448db6c2f26 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/Editor/Reign/Tools.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d38ebf3fcdec1b34996cc2140b18a3c3 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/MetroTestCertificate.pfx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reignstudios/Reign-Unity-Plugin-OpenSource/b02c2f07bfb986bf830e0624e5b9ef3b86b84bc1/Assets/MetroTestCertificate.pfx -------------------------------------------------------------------------------- /Assets/MetroTestCertificate.pfx.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b68aa1b6e440cec4ab43bcbbbac7795d 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/Plugins.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6dc8f5ab72f61bd4db18944ffa80d674 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: caecd89d48f287a48844eec64afbaa24 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 52648aa26fde9f34bb99f8ba84b1ec3a 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0d8533e6b81316241b24870925a02322 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/BMP.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d8d3492f42d2ab64bbc43c05e967ba37 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/BMP/BmpCompression.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 11ece1cf32fd0db45b8c3a0bd9801224 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/BMP/BmpDecoder.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 36c3878815fc55b4cbac7a86f545f1e0 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/BMP/BmpEncoder.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9b7aad49159a66d469f50e3b8f23bee8 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/BMP/BmpFileHeader.cs: -------------------------------------------------------------------------------- 1 | #define WINDOWS_PHONE 2 | #define SILVERLIGHT 3 | 4 | // =============================================================================== 5 | // BmpFileHeader.cs 6 | // .NET Image Tools 7 | // =============================================================================== 8 | // Copyright (c) .NET Image Tools Development Group. 9 | // All rights reserved. 10 | // =============================================================================== 11 | 12 | namespace ImageTools.IO.Bmp 13 | { 14 | /// 15 | /// Stores general information about the Bitmap file. 16 | /// 17 | /// 18 | /// The first two bytes of the Bitmap file format 19 | /// (thus the Bitmap header) are stored in big-endian order. 20 | /// All of the other integer values are stored in little-endian format 21 | /// (i.e. least-significant byte first). 22 | /// 23 | class BmpFileHeader 24 | { 25 | /// 26 | /// Defines of the data structure in the bitmap file. 27 | /// 28 | public const int Size = 14; 29 | 30 | /// 31 | /// The magic number used to identify the bitmap file: 0x42 0x4D 32 | /// (Hex code points for B and M) 33 | /// 34 | public short Type; 35 | /// 36 | /// The size of the bitmap file in bytes. 37 | /// 38 | public int FileSize; 39 | /// 40 | /// Reserved; actual value depends on the application 41 | /// that creates the image. 42 | /// 43 | public int Reserved; 44 | /// 45 | /// The offset, i.e. starting address, of the byte where 46 | /// the bitmap data can be found. 47 | /// 48 | public int Offset; 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/BMP/BmpFileHeader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c57fe3748d00a6643a802a2b49e25187 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/BMP/BmpInfoHeader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ed97792f39f42754fae9cb602329341c 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Common.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cc0336d1ab559584e981de4baac61ba9 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Common/BarcodeResult.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 647307e6a5991ec4a9ee17db442f9058 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Common/BarcodeResultFormat.cs: -------------------------------------------------------------------------------- 1 | #define WINDOWS_PHONE 2 | #define SILVERLIGHT 3 | 4 | // =============================================================================== 5 | // BarcodeResultFormat.cs 6 | // .NET Image Tools 7 | // =============================================================================== 8 | // Copyright (c) .NET Image Tools Development Group. 9 | // All rights reserved. 10 | // =============================================================================== 11 | 12 | namespace ImageTools 13 | { 14 | /// 15 | /// Defines the format of the read barcode. 16 | /// 17 | public enum BarcodeResultFormat 18 | { 19 | /// 20 | /// QR Code 2D barcode format. 21 | /// 22 | QrCode, 23 | /// 24 | /// DataMatrix 2D barcode format. 25 | /// 26 | DateMatrix, 27 | /// 28 | /// UPC-E 1D format. 29 | /// 30 | UpcE, 31 | /// 32 | /// UPC-A 1D format. 33 | /// 34 | UpcA, 35 | /// 36 | /// EAN-8 1D format. 37 | /// 38 | Ean8, 39 | /// 40 | /// EAN-13 1D format. 41 | /// 42 | Ean13, 43 | /// 44 | /// Code 128 1D format. 45 | /// 46 | Code128, 47 | /// 48 | /// Code 39 1D format. 49 | /// 50 | Code39, 51 | /// 52 | /// ITF (Interleaved Two of Five) 1D format. 53 | /// 54 | Itf, 55 | /// 56 | /// PDF417 format. 57 | /// 58 | Pdf417, 59 | /// 60 | /// The format of the barcode is not known. 61 | /// 62 | Unknown 63 | } 64 | } 65 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Common/BarcodeResultFormat.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 59c5111044524134c8389eee08a71f8f 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Common/ExtendedImage.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dd9f8de5768b8c64ebfed6f1dc9934e7 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Common/ExtendedImage_Operations.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 76296079bc4434c43bd5fc36bab57835 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Common/FlippingType.cs: -------------------------------------------------------------------------------- 1 | #define WINDOWS_PHONE 2 | #define SILVERLIGHT 3 | 4 | // =============================================================================== 5 | // FlippingType.cs 6 | // .NET Image Tools 7 | // =============================================================================== 8 | // Copyright (c) .NET Image Tools Development Group. 9 | // All rights reserved. 10 | // =============================================================================== 11 | 12 | namespace ImageTools 13 | { 14 | /// 15 | /// Defines how a image should be flipped. 16 | /// 17 | public enum FlippingType 18 | { 19 | /// 20 | /// Dont flip the image. 21 | /// 22 | None, 23 | /// 24 | /// Flip the image at the x-axis which goes 25 | /// through the middle of the image. 26 | /// 27 | FlipX, 28 | /// 29 | /// Flip the image at the y-axis, which goes through the 30 | /// middle of the image. 31 | /// 32 | FlipY 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Common/FlippingType.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b8e95510d6ac13e43bd4f1495d098100 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Common/GlobalSuppressions.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c797c40503e5de84aada8247f679a715 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Common/Helpers.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 032e8f3b8e62ca2479d031f04cc6ae84 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Common/Helpers/Extensions.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1449d10d8054c9d45bd3905a17397fb5 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Common/Helpers/Guard.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f7982328aa25dfd4992f3e22c54894ad 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Common/IBarcodeReader.cs: -------------------------------------------------------------------------------- 1 | #define WINDOWS_PHONE 2 | #define SILVERLIGHT 3 | 4 | // =============================================================================== 5 | // IBarcodeReader.cs 6 | // .NET Image Tools 7 | // =============================================================================== 8 | // Copyright (c) .NET Image Tools Development Group. 9 | // All rights reserved. 10 | // =============================================================================== 11 | 12 | using System.Diagnostics.Contracts; 13 | 14 | namespace ImageTools 15 | { 16 | /// 17 | /// Base interface for all barcode readers. 18 | /// 19 | #if !WINDOWS_PHONE 20 | [ContractClass(typeof(IBarcodeReaderContract))] 21 | #endif 22 | public interface IBarcodeReader 23 | { 24 | /// 25 | /// Reads an barcode from the specified image. 26 | /// 27 | /// The image to read the barcode from. 28 | /// The result of the reading operation when a barcode could be read or null otherwise. 29 | /// is null. 30 | /// is empty. 31 | BarcodeResult ReadBarcode(ExtendedImage image); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Common/IBarcodeReader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9b5cda1ec000fc544a1d08ffd5f2729c 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Common/IBarcodeReaderContract.cs: -------------------------------------------------------------------------------- 1 | #define WINDOWS_PHONE 2 | #define SILVERLIGHT 3 | 4 | // =============================================================================== 5 | // IBarcodeReaderContract.cs 6 | // .NET Image Tools 7 | // =============================================================================== 8 | // Copyright (c) .NET Image Tools Development Group. 9 | // All rights reserved. 10 | // =============================================================================== 11 | 12 | using System; 13 | using System.Diagnostics.Contracts.Reign; 14 | 15 | namespace ImageTools 16 | { 17 | [ContractClassFor(typeof(IBarcodeReader))] 18 | abstract class IBarcodeReaderContract : IBarcodeReader 19 | { 20 | BarcodeResult IBarcodeReader.ReadBarcode(ExtendedImage image) 21 | { 22 | Contract.Requires(image != null, "Image cannot be null."); 23 | Contract.Requires(image.IsFilled, "Image cannot be empty."); 24 | throw new NotImplementedException(); 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Common/IBarcodeReaderContract.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7bc60b348342b0445b089f28ff480b94 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Common/IImageFilter.cs: -------------------------------------------------------------------------------- 1 | #define WINDOWS_PHONE 2 | #define SILVERLIGHT 3 | 4 | // =============================================================================== 5 | // IFilter.cs 6 | // .NET Image Tools 7 | // =============================================================================== 8 | // Copyright (c) .NET Image Tools Development Group. 9 | // All rights reserved. 10 | // =============================================================================== 11 | 12 | using System.Diagnostics.Contracts; 13 | 14 | namespace ImageTools 15 | { 16 | /// 17 | /// Image processing filter interface. 18 | /// 19 | /// The interface defines the set of methods, which should be 20 | /// provided by all image processing filters. Methods of this interface 21 | /// manipulate the original image. 22 | #if !WINDOWS_PHONE 23 | [ContractClass(typeof(IImageFilterContract))] 24 | #endif 25 | public interface IImageFilter 26 | { 27 | /// 28 | /// Apply filter to an image at the area of the specified rectangle. 29 | /// 30 | /// Target image to apply filter to. 31 | /// The source image. Cannot be null. 32 | /// The rectangle, which defines the area of the 33 | /// image where the filter should be applied to. 34 | /// The method keeps the source image unchanged and returns the 35 | /// the result of image processing filter as new image. 36 | /// 37 | /// is null. 38 | /// - or - 39 | /// is null. 40 | /// 41 | /// doesnt fits 42 | /// to the image. 43 | void Apply(ImageBase target, ImageBase source, Rectangle rectangle); 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Common/IImageFilter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7728bfc84d3bb464a9f252d2f8d9afb9 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Common/IImageFilterContract.cs: -------------------------------------------------------------------------------- 1 | #define WINDOWS_PHONE 2 | #define SILVERLIGHT 3 | 4 | // =============================================================================== 5 | // IImageFilterContract.cs 6 | // .NET Image Tools 7 | // =============================================================================== 8 | // Copyright (c) .NET Image Tools Development Group. 9 | // All rights reserved. 10 | // =============================================================================== 11 | 12 | using System; 13 | using System.Diagnostics.Contracts.Reign; 14 | 15 | namespace ImageTools 16 | { 17 | [ContractClassFor(typeof(IImageFilter))] 18 | abstract class IImageFilterContract : IImageFilter 19 | { 20 | void IImageFilter.Apply(ImageBase target, ImageBase source, Rectangle rectangle) 21 | { 22 | Contract.Requires(target != null, "Target image cannot be null."); 23 | Contract.Requires(source != null, "Source image cannot be null."); 24 | 25 | throw new NotImplementedException(); 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Common/IImageFilterContract.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f6309e2ddaa5c98459edd757b355b2d8 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Common/IImageResizer.cs: -------------------------------------------------------------------------------- 1 | #define WINDOWS_PHONE 2 | #define SILVERLIGHT 3 | 4 | // =============================================================================== 5 | // IImageResizer.cs 6 | // .NET Image Tools 7 | // =============================================================================== 8 | // Copyright (c) .NET Image Tools Development Group. 9 | // All rights reserved. 10 | // =============================================================================== 11 | 12 | using System.Diagnostics.Contracts; 13 | 14 | namespace ImageTools 15 | { 16 | /// 17 | /// Interface for all image resizing algorithms. 18 | /// 19 | #if !WINDOWS_PHONE 20 | [ContractClass(typeof(IImageResizerContract))] 21 | #endif 22 | public interface IImageResizer 23 | { 24 | /// 25 | /// Resizes the specified source image by creating a new image with 26 | /// the spezified size which is a resized version of the passed image.. 27 | /// 28 | /// The source image, where the pixel data should be get from. 29 | /// The resized image. 30 | /// The width of the new image. Must be greater than zero. 31 | /// The height of the new image. Must be greater than zero.. 32 | /// 33 | /// is null (Nothing in Visual Basic). 34 | /// - or - 35 | /// is null (Nothing in Visual Basic). 36 | /// 37 | /// 38 | /// is negative. 39 | /// - or - 40 | /// is negative. 41 | /// 42 | void Resize(ImageBase source, ImageBase target, int width, int height); 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Common/IImageResizer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 834b967b3ad3fbd41bb9fedde499bd58 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Common/IImageResizerContract.cs: -------------------------------------------------------------------------------- 1 | #define WINDOWS_PHONE 2 | #define SILVERLIGHT 3 | 4 | // =============================================================================== 5 | // IImageResizerContract.cs 6 | // .NET Image Tools 7 | // =============================================================================== 8 | // Copyright (c) .NET Image Tools Development Group. 9 | // All rights reserved. 10 | // =============================================================================== 11 | 12 | using System; 13 | using System.Diagnostics.Contracts.Reign; 14 | 15 | namespace ImageTools 16 | { 17 | [ContractClassFor(typeof(IImageResizer))] 18 | abstract class IImageResizerContract : IImageResizer 19 | { 20 | public void Resize(ImageBase source, ImageBase target, int width, int height) 21 | { 22 | Contract.Requires(source != null, "Source image cannot be null."); 23 | Contract.Requires(source.IsFilled, "Source image has not been loaded."); 24 | Contract.Requires(target != null, "Target image cannot be null."); 25 | Contract.Requires(width >= 0, "Width must be greater or equals than zero."); 26 | Contract.Requires(height >= 0, "Height must be greater or equals than zero."); 27 | 28 | throw new NotImplementedException(); 29 | } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Common/IImageResizerContract.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 87ac1ee287150a04c9445d4a7a9f3a2f 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Common/IO.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 570444c9afd075c40a3cf1e34383b2a8 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Common/IO/Decoders.cs: -------------------------------------------------------------------------------- 1 | #define WINDOWS_PHONE 2 | #define SILVERLIGHT 3 | 4 | // =============================================================================== 5 | // Decoders.cs 6 | // .NET Image Tools 7 | // =============================================================================== 8 | // Copyright (c) .NET Image Tools Development Group. 9 | // All rights reserved. 10 | // =============================================================================== 11 | 12 | namespace ImageTools.IO 13 | { 14 | using System; 15 | using System.Collections.Generic; 16 | using System.Collections.ObjectModel; 17 | using System.Diagnostics.CodeAnalysis; 18 | 19 | /// 20 | /// Helper methods for decoders. 21 | /// 22 | public static class Decoders 23 | { 24 | private static List _decoderTypes = new List(); 25 | 26 | /// 27 | /// Adds the type of the decoder to the list of available image decoders. 28 | /// 29 | /// The type of the decoder. 30 | public static void AddDecoder() where TDecoder : IImageDecoder 31 | { 32 | if (!_decoderTypes.Contains(typeof(TDecoder))) 33 | { 34 | _decoderTypes.Add(typeof(TDecoder)); 35 | } 36 | } 37 | 38 | /// 39 | /// Gets a list of all available decoders. 40 | /// 41 | /// A list of all available decoders. 42 | public static ReadOnlyCollection GetAvailableDecoders() 43 | { 44 | List decoders = new List(); 45 | 46 | foreach (Type decorderType in _decoderTypes) 47 | { 48 | if (decorderType != null) 49 | { 50 | decoders.Add(Activator.CreateInstance(decorderType) as IImageDecoder); 51 | } 52 | } 53 | 54 | return new ReadOnlyCollection(decoders); 55 | } 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Common/IO/Decoders.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d26146cb5b39ef144b0d83da687f6e95 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Common/IO/Encoders.cs: -------------------------------------------------------------------------------- 1 | #define WINDOWS_PHONE 2 | #define SILVERLIGHT 3 | 4 | // =============================================================================== 5 | // Encoders.cs 6 | // .NET Image Tools 7 | // =============================================================================== 8 | // Copyright (c) .NET Image Tools Development Group. 9 | // All rights reserved. 10 | // =============================================================================== 11 | 12 | namespace ImageTools.IO 13 | { 14 | using System; 15 | using System.Collections.Generic; 16 | using System.Collections.ObjectModel; 17 | using System.Diagnostics.CodeAnalysis; 18 | using System.Diagnostics.Contracts.Reign; 19 | 20 | /// 21 | /// Helper methods for encoders. 22 | /// 23 | public static class Encoders 24 | { 25 | private static List _encoderTypes = new List(); 26 | 27 | /// 28 | /// Adds the type of the encoder to the list of available image encoder. 29 | /// 30 | /// The type of the encoder. 31 | public static void AddEncoder() where TEncoder : IImageEncoder 32 | { 33 | if (!_encoderTypes.Contains(typeof(TEncoder))) 34 | { 35 | _encoderTypes.Add(typeof(TEncoder)); 36 | } 37 | } 38 | 39 | /// 40 | /// Gets a list of all available encoders. 41 | /// 42 | /// A list of all available encoders. 43 | public static ReadOnlyCollection GetAvailableEncoders() 44 | { 45 | Contract.Ensures(Contract.Result>() != null); 46 | 47 | List encoders = new List(); 48 | 49 | foreach (Type encoderType in _encoderTypes) 50 | { 51 | if (encoderType != null) 52 | { 53 | encoders.Add(Activator.CreateInstance(encoderType) as IImageEncoder); 54 | } 55 | } 56 | 57 | return new ReadOnlyCollection(encoders); 58 | } 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Common/IO/Encoders.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1e877163f4b3a57418f723348c689bee 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Common/IO/IImageDecoder.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fa8575e58ba5e57448e53bdccaafd233 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Common/IO/IImageDecoderContract.cs: -------------------------------------------------------------------------------- 1 | #define WINDOWS_PHONE 2 | #define SILVERLIGHT 3 | 4 | // =============================================================================== 5 | // IImageDecoderContract.cs 6 | // .NET Image Tools 7 | // =============================================================================== 8 | // Copyright (c) .NET Image Tools Development Group. 9 | // All rights reserved. 10 | // =============================================================================== 11 | 12 | using System; 13 | using System.Diagnostics.Contracts.Reign; 14 | using System.IO; 15 | 16 | namespace ImageTools.IO 17 | { 18 | [ContractClassFor(typeof(IImageDecoder))] 19 | abstract class IImageDecoderContract : IImageDecoder 20 | { 21 | int IImageDecoder.HeaderSize 22 | { 23 | get { throw new NotImplementedException(); } 24 | } 25 | 26 | bool IImageDecoder.IsSupportedFileExtension(string extension) 27 | { 28 | Contract.Requires(!string.IsNullOrEmpty(extension), "Extension cannot be null or empty."); 29 | 30 | throw new NotImplementedException(); 31 | } 32 | 33 | bool IImageDecoder.IsSupportedFileFormat(byte[] header) 34 | { 35 | Contract.Requires(header != null, "Header cannot be null."); 36 | 37 | throw new NotImplementedException(); 38 | } 39 | 40 | void IImageDecoder.Decode(ExtendedImage image, Stream stream) 41 | { 42 | Contract.Requires(image != null, "Image cannot be null."); 43 | Contract.Requires(stream != null, "Stream cannot be null."); 44 | 45 | throw new NotImplementedException(); 46 | } 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Common/IO/IImageDecoderContract.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f0d54baf906ca934bbb88f80803d6a58 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Common/IO/IImageEncoder.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 27e7c0c890e3cba4db0ea1a1f4328afd 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Common/IO/IImageEncoderContract.cs: -------------------------------------------------------------------------------- 1 | #define WINDOWS_PHONE 2 | #define SILVERLIGHT 3 | 4 | // =============================================================================== 5 | // IImageEncoderContract.cs 6 | // .NET Image Tools 7 | // =============================================================================== 8 | // Copyright (c) .NET Image Tools Development Group. 9 | // All rights reserved. 10 | // =============================================================================== 11 | 12 | using System; 13 | using System.Diagnostics.Contracts.Reign; 14 | using System.IO; 15 | 16 | namespace ImageTools.IO 17 | { 18 | [ContractClassFor(typeof(IImageEncoder))] 19 | abstract class IImageEncoderContract : IImageEncoder 20 | { 21 | string IImageEncoder.Extension 22 | { 23 | get { throw new NotImplementedException(); } 24 | } 25 | 26 | bool IImageEncoder.IsSupportedFileExtension(string extension) 27 | { 28 | Contract.Requires(!string.IsNullOrEmpty(extension), "Extension cannot be null or empty."); 29 | 30 | throw new NotImplementedException(); 31 | } 32 | 33 | void IImageEncoder.Encode(ExtendedImage image, Stream stream) 34 | { 35 | Contract.Requires(image != null, "Image cannot be null."); 36 | Contract.Requires(stream != null, "Stream cannot be null."); 37 | 38 | throw new NotImplementedException(); 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Common/IO/IImageEncoderContract.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 980b0172ad44e29448d9585045d61dc0 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Common/IO/UnsupportedImageFormatException.cs: -------------------------------------------------------------------------------- 1 | #define WINDOWS_PHONE 2 | #define SILVERLIGHT 3 | 4 | // =============================================================================== 5 | // UnsupportedImageFormatException.cs 6 | // .NET Image Tools 7 | // =============================================================================== 8 | // Copyright (c) .NET Image Tools Development Group. 9 | // All rights reserved. 10 | // =============================================================================== 11 | 12 | namespace ImageTools.IO 13 | { 14 | using System; 15 | 16 | /// 17 | /// The exception that is thrown when a image should be loaded which format is not supported. 18 | /// 19 | public class UnsupportedImageFormatException : Exception 20 | { 21 | /// 22 | /// Initializes a new instance of the class. 23 | /// 24 | public UnsupportedImageFormatException() : base() { } 25 | 26 | /// 27 | /// Initializes a new instance of the class with the name of the 28 | /// parameter that causes this exception. 29 | /// 30 | /// The error message that explains the reason for this exception. 31 | public UnsupportedImageFormatException(string errorMessage) 32 | : base(errorMessage) { } 33 | 34 | /// 35 | /// Initializes a new instance of the class with a specified 36 | /// error message and the exception that is the cause of this exception. 37 | /// 38 | /// The error message that explains the reason for this exception. 39 | /// The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) 40 | /// if no inner exception is specified. 41 | public UnsupportedImageFormatException(string errorMessage, Exception innerEx) 42 | : base(errorMessage, innerEx) { } } 43 | } 44 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Common/IO/UnsupportedImageFormatException.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e96c079fa5d7244409f061eba4043931 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Common/ImageBase.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9c5e7340e1601794c9c41d372a6cf6c2 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Common/ImageBase_Operations.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4cd05538d30edda40892069fba06b178 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Common/ImageFormatException.cs: -------------------------------------------------------------------------------- 1 | #define WINDOWS_PHONE 2 | #define SILVERLIGHT 3 | 4 | // =============================================================================== 5 | // ImageFormatException.cs 6 | // .NET Image Tools 7 | // =============================================================================== 8 | // Copyright (c) .NET Image Tools Development Group. 9 | // All rights reserved. 10 | // =============================================================================== 11 | 12 | namespace ImageTools 13 | { 14 | using System; 15 | 16 | /// 17 | /// The exception that is thrown when the library tries to load 18 | /// an iamge, which has an invalid format. 19 | /// 20 | public class ImageFormatException : Exception 21 | { 22 | /// 23 | /// Initializes a new instance of the class. 24 | /// 25 | public ImageFormatException() : base() { } 26 | 27 | /// 28 | /// Initializes a new instance of the class with the name of the 29 | /// parameter that causes this exception. 30 | /// 31 | /// The error message that explains the reason for this exception. 32 | public ImageFormatException(string errorMessage) 33 | : base(errorMessage) { } 34 | 35 | /// 36 | /// Initializes a new instance of the class with a specified 37 | /// error message and the exception that is the cause of this exception. 38 | /// 39 | /// The error message that explains the reason for this exception. 40 | /// The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) 41 | /// if no inner exception is specified. 42 | public ImageFormatException(string errorMessage, Exception innerEx) 43 | : base(errorMessage, innerEx) { } 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Common/ImageFormatException.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e2caf7621d435444a8c751e2e1ec7896 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Common/ImageFrame.cs: -------------------------------------------------------------------------------- 1 | #define WINDOWS_PHONE 2 | #define SILVERLIGHT 3 | 4 | // =============================================================================== 5 | // ImageFrame.cs 6 | // .NET Image Tools 7 | // =============================================================================== 8 | // Copyright (c) .NET Image Tools Development Group. 9 | // All rights reserved. 10 | // =============================================================================== 11 | 12 | using System; 13 | using System.Diagnostics; 14 | using System.Diagnostics.Contracts.Reign; 15 | 16 | namespace ImageTools 17 | { 18 | /// 19 | /// Represents a frame in a animation. 20 | /// 21 | public class ImageFrame : ImageBase 22 | { 23 | #region Constructors 24 | 25 | /// 26 | /// Initializes a new instance of the class 27 | /// by making a copy from another image. 28 | /// 29 | /// The other image, where the clone should be made from. 30 | /// is null 31 | /// (Nothing in Visual Basic). 32 | public ImageFrame(ImageFrame other) 33 | : base(other) 34 | { 35 | Contract.Requires(other != null, "Other image cannot be null."); 36 | Contract.Requires(other.IsFilled, "Other image has not been loaded."); 37 | Contract.Ensures(IsFilled); 38 | } 39 | 40 | /// 41 | /// Initializes a new instance of the class. 42 | /// 43 | public ImageFrame() 44 | { 45 | } 46 | 47 | #endregion 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Common/ImageFrame.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8d2bf97dd6d44d749806fe1f5f2f4f0e 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Common/ImageFrameCollection.cs: -------------------------------------------------------------------------------- 1 | #define WINDOWS_PHONE 2 | #define SILVERLIGHT 3 | 4 | // =============================================================================== 5 | // ImageFrameCollection.cs 6 | // .NET Image Tools 7 | // =============================================================================== 8 | // Copyright (c) .NET Image Tools Development Group. 9 | // All rights reserved. 10 | // =============================================================================== 11 | 12 | namespace ImageTools 13 | { 14 | using System.Collections.ObjectModel; 15 | 16 | /// 17 | /// A collection of objects. 18 | /// 19 | public class ImageFrameCollection : Collection 20 | { 21 | 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Common/ImageFrameCollection.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bdcb4a4fa82635b4ebcff6a93c0137e7 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Common/ImageProperty.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: da9b600b51a6cf04292d3333682a4af9 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Common/ImagePropertyCollection.cs: -------------------------------------------------------------------------------- 1 | #define WINDOWS_PHONE 2 | #define SILVERLIGHT 3 | 4 | // =============================================================================== 5 | // ImagePropertyCollection.cs 6 | // .NET Image Tools 7 | // =============================================================================== 8 | // Copyright (c) .NET Image Tools Development Group. 9 | // All rights reserved. 10 | // =============================================================================== 11 | 12 | namespace ImageTools 13 | { 14 | using System.Collections.ObjectModel; 15 | 16 | /// 17 | /// Represents a list of instances. 18 | /// 19 | public class ImagePropertyCollection : Collection 20 | { 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Common/ImagePropertyCollection.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 652a9662e2fb96849ac199a35ceb0c9e 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Common/Rectangle.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fd65a4c5ab001e541a95af4d26cdca70 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Common/RotationType.cs: -------------------------------------------------------------------------------- 1 | #define WINDOWS_PHONE 2 | #define SILVERLIGHT 3 | 4 | // =============================================================================== 5 | // RotationType.cs 6 | // .NET Image Tools 7 | // =============================================================================== 8 | // Copyright (c) .NET Image Tools Development Group. 9 | // All rights reserved. 10 | // =============================================================================== 11 | 12 | namespace ImageTools 13 | { 14 | /// 15 | /// Defines how the image should be rotated. 16 | /// 17 | public enum RotationType 18 | { 19 | /// 20 | /// Do not rotate the image. 21 | /// 22 | None, 23 | /// 24 | /// Rotate the image by 90 degrees clockwise. 25 | /// 26 | Rotate90, 27 | /// 28 | /// Rotate the image by 180 degrees clockwise. 29 | /// 30 | Rotate180, 31 | /// 32 | /// Rotate the image by 270 degrees clockwise. 33 | /// 34 | Rotate270 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Common/RotationType.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b987e23626de3f34f97be928e0846517 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Filtering.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5b78039d24335ab4bb421c50dc6c56be 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Filtering/BilinearResizer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a0187efec589ba547807e0dd4a3ab9c3 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Filtering/BinarizerMode.cs: -------------------------------------------------------------------------------- 1 | #define WINDOWS_PHONE 2 | #define SILVERLIGHT 3 | 4 | // =============================================================================== 5 | // ZXingBarcodeReaderBinarizerMode.cs 6 | // .NET Image Tools 7 | // =============================================================================== 8 | // Copyright (c) .NET Image Tools Development Group. 9 | // All rights reserved. 10 | // =============================================================================== 11 | 12 | namespace ImageTools.Filtering 13 | { 14 | /// 15 | /// Defines which binarizer is used when reading a barcode using zxing. 16 | /// 17 | public enum BinarizerMode 18 | { 19 | /// 20 | /// The hybrid binarizer is used. 21 | /// This class implements a local thresholding algorithm, which while slower than the 22 | /// GlobalHistogramBinarizer, is fairly efficient for what it does. It is designed for 23 | /// high frequency images of barcodes with black data on white backgrounds. For this application, 24 | /// it does a much better job than a global blackpoint with severe shadows and gradients. 25 | /// 26 | Hybrid, 27 | /// 28 | /// The global historgram binarizer is used. 29 | /// This Binarizer implementation uses the old ZXing global histogram approach. It is suitable 30 | /// for low-end mobile devices which don't have enough CPU or memory to use a local thresholding 31 | /// algorithm. However, because it picks a global black point, it cannot handle difficult shadows 32 | /// and gradients. 33 | /// 34 | Histogram 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Filtering/BinarizerMode.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dbcc9163a7558ee46b2d4169c0cadc84 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Filtering/BlendingFilter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 90bc4d3bc68b29d43afd9659b2655ae6 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Filtering/Brightness.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c92dc2277ca356d4c9f3479926021858 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Filtering/Contrast.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 72a2bbb408c8d1d448aca83a1a2c02d9 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Filtering/GaussianBlur.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a1a2f8d286aed0c42a7585bff1f4ca8a 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Filtering/Grayscale.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 80a70732824d81246b6f0e225a54964e 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Filtering/GrayscaleBT709.cs: -------------------------------------------------------------------------------- 1 | #define WINDOWS_PHONE 2 | #define SILVERLIGHT 3 | 4 | // =============================================================================== 5 | // GrayscaleBT709.cs 6 | // .NET Image Tools 7 | // =============================================================================== 8 | // Copyright (c) .NET Image Tools Development Group. 9 | // All rights reserved. 10 | // =============================================================================== 11 | 12 | namespace ImageTools.Filtering 13 | { 14 | /// 15 | /// Grayscale image using BT709 algorithm. 16 | /// 17 | /// The class uses BT709 algorithm to convert color image to grayscale. 18 | /// The conversion coefficients are: 19 | /// 20 | /// 21 | /// Channel 22 | /// Coefficient 23 | /// 24 | /// 25 | /// Red 26 | /// 0.2125 27 | /// 28 | /// 29 | /// Green 30 | /// 0.7154 31 | /// 32 | /// 33 | /// Blue 34 | /// 0.0721 35 | /// 36 | /// 37 | /// 38 | public sealed class GrayscaleBT709 : Grayscale 39 | { 40 | /// 41 | /// Initializes a new instance of the class. 42 | /// 43 | public GrayscaleBT709() 44 | : base(0.2125, 0.7154, 0.0721) 45 | { 46 | } 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Filtering/GrayscaleBT709.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 81aa1140c58aaf0469cf990cf4535e56 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Filtering/GrayscaleRMY.cs: -------------------------------------------------------------------------------- 1 | #define WINDOWS_PHONE 2 | #define SILVERLIGHT 3 | 4 | // =============================================================================== 5 | // GrayscaleRMY.cs 6 | // .NET Image Tools 7 | // =============================================================================== 8 | // Copyright (c) .NET Image Tools Development Group. 9 | // All rights reserved. 10 | // =============================================================================== 11 | 12 | namespace ImageTools.Filtering 13 | { 14 | /// 15 | /// Grayscale image using R-Y algorithm. 16 | /// 17 | /// The class uses R-Y algorithm to convert color image to grayscale. 18 | /// The conversion coefficients are: 19 | /// 20 | /// 21 | /// Channel 22 | /// Coefficient 23 | /// 24 | /// 25 | /// Red 26 | /// 0.5 27 | /// 28 | /// 29 | /// Green 30 | /// 0.419 31 | /// 32 | /// 33 | /// Blue 34 | /// 0.081 35 | /// 36 | /// 37 | /// 38 | public sealed class GrayscaleRMY : Grayscale 39 | { 40 | /// 41 | /// Initializes a new instance of the class. 42 | /// 43 | public GrayscaleRMY() 44 | : base(0.5, 0.419, 0.081) 45 | { 46 | } 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Filtering/GrayscaleRMY.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 101c3b1ddce223a41957d4850f38175a 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Filtering/Inverter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c8317ef4af2ca7a45b4fa0b24627d05f 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Filtering/MatrixFilter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 417e86f69f75a15438c819b9685ed867 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Filtering/NearestNeighborResizer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5e7c0c82f417a234f8a712d4de6b4cc2 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Filtering/PrewittX.cs: -------------------------------------------------------------------------------- 1 | #define WINDOWS_PHONE 2 | #define SILVERLIGHT 3 | 4 | // =============================================================================== 5 | // PrewittX.cs 6 | // .NET Image Tools 7 | // =============================================================================== 8 | // Copyright (c) .NET Image Tools Development Group. 9 | // All rights reserved. 10 | // =============================================================================== 11 | 12 | using System.Diagnostics.Contracts; 13 | 14 | namespace ImageTools.Filtering 15 | { 16 | /// 17 | /// Implements the prewitt filter for detection of horizontal edges. 18 | /// 19 | public sealed class PrewittX : MatrixFilter 20 | { 21 | /// 22 | /// Initializes a new instance of the class. 23 | /// 24 | public PrewittX() 25 | { 26 | double[,] filter = new double[3, 3] 27 | { 28 | { -1, 0, 1 }, 29 | { -1, 0, 1 }, 30 | { -1, 0, 1 } 31 | }; 32 | 33 | Initialize(filter); 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Filtering/PrewittX.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cc25641b8cec41640919caac5a70e0c3 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Filtering/PrewittY.cs: -------------------------------------------------------------------------------- 1 | #define WINDOWS_PHONE 2 | #define SILVERLIGHT 3 | 4 | // =============================================================================== 5 | // PrewittY.cs 6 | // .NET Image Tools 7 | // =============================================================================== 8 | // Copyright (c) .NET Image Tools Development Group. 9 | // All rights reserved. 10 | // =============================================================================== 11 | 12 | using System.Diagnostics.Contracts; 13 | 14 | namespace ImageTools.Filtering 15 | { 16 | /// 17 | /// Implements the prewitt filter for detection of vertical edges. 18 | /// 19 | public sealed class PrewittY : MatrixFilter 20 | { 21 | /// 22 | /// Initializes a new instance of the class. 23 | /// 24 | public PrewittY() 25 | { 26 | double[,] filter = new double[3, 3] 27 | { 28 | { -1, -1, -1 }, 29 | { 0, 0, 0 }, 30 | { 1, 1, 1 } 31 | }; 32 | 33 | Initialize(filter); 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Filtering/PrewittY.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2d227068717c88a4d89b22feec9a9347 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Filtering/Sepia.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 94da5b945378c274489d7f79400b3d82 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Filtering/SobelX.cs: -------------------------------------------------------------------------------- 1 | #define WINDOWS_PHONE 2 | #define SILVERLIGHT 3 | 4 | // =============================================================================== 5 | // SobelX.cs 6 | // .NET Image Tools 7 | // =============================================================================== 8 | // Copyright (c) .NET Image Tools Development Group. 9 | // All rights reserved. 10 | // =============================================================================== 11 | 12 | using System.Diagnostics.Contracts; 13 | 14 | namespace ImageTools.Filtering 15 | { 16 | /// 17 | /// Implements the sobel filter for detection of horizontal edges. 18 | /// 19 | public sealed class SobelX : MatrixFilter 20 | { 21 | /// 22 | /// Initializes a new instance of the class. 23 | /// 24 | public SobelX() 25 | { 26 | double[,] filter = new double[3, 3] 27 | { 28 | { -1, 0, 1 }, 29 | { -2, 0, 2 }, 30 | { -1, 0, 1 } 31 | }; 32 | 33 | Initialize(filter); 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Filtering/SobelX.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 97e4715362c037c43b8ada29d86335cd 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Filtering/SobelY.cs: -------------------------------------------------------------------------------- 1 | #define WINDOWS_PHONE 2 | #define SILVERLIGHT 3 | 4 | // =============================================================================== 5 | // SobelY.cs 6 | // .NET Image Tools 7 | // =============================================================================== 8 | // Copyright (c) .NET Image Tools Development Group. 9 | // All rights reserved. 10 | // =============================================================================== 11 | 12 | using System.Diagnostics.Contracts; 13 | 14 | namespace ImageTools.Filtering 15 | { 16 | /// 17 | /// Implements the sobel filter for detection of vertical edges. 18 | /// 19 | public sealed class SobelY : MatrixFilter 20 | { 21 | /// 22 | /// Initializes a new instance of the class. 23 | /// 24 | public SobelY() 25 | { 26 | double[,] filter = new double[3, 3] 27 | { 28 | { -1, -2, -1 }, 29 | { 0, 0, 0 }, 30 | { 1, 2, 1 } 31 | }; 32 | 33 | Initialize(filter); 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Filtering/SobelY.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7269c2cbd70c7044daa1c0aa1426ce7c 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/Filtering/ZXingBarcodeReader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e734e1614ee2d8a47aec9d720df20887 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/GIF.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2f8401405022e11488cf61f6691c3f7c 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/GIF/DisposalMethod.cs: -------------------------------------------------------------------------------- 1 | #define WINDOWS_PHONE 2 | #define SILVERLIGHT 3 | 4 | // =============================================================================== 5 | // DisposalMethod.cs 6 | // .NET Image Tools 7 | // =============================================================================== 8 | // Copyright (c) .NET Image Tools Development Group. 9 | // All rights reserved. 10 | // =============================================================================== 11 | 12 | namespace ImageTools.IO.Gif 13 | { 14 | /// 15 | /// Specifies, what to do with the last image 16 | /// in an animation sequence. 17 | /// 18 | public enum DisposalMethod : int 19 | { 20 | /// 21 | /// No disposal specified. The decoder is not 22 | /// required to take any action. 23 | /// 24 | Unspecified = 0, 25 | /// 26 | /// Do not dispose. The graphic is to be left in place. 27 | /// 28 | NotDispose = 1, 29 | /// 30 | /// Restore to background color. 31 | /// The area used by the graphic must be restored to 32 | /// the background color. 33 | /// 34 | RestoreToBackground = 2, 35 | /// 36 | /// Restore to previous. The decoder is required to 37 | /// restore the area overwritten by the 38 | /// graphic with what was there prior to rendering the graphic. 39 | /// 40 | RestoreToPrevious = 3 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/GIF/DisposalMethod.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fbc84afe6b823a340b3935ee7c52eb4e 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/GIF/GifDecoder.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 00d2489da6f3af94fb5a0de6be983643 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/GIF/GifGraphicsControlExtension.cs: -------------------------------------------------------------------------------- 1 | #define WINDOWS_PHONE 2 | #define SILVERLIGHT 3 | 4 | // =============================================================================== 5 | // GifGraphicsControlExtension.cs 6 | // .NET Image Tools 7 | // =============================================================================== 8 | // Copyright (c) .NET Image Tools Development Group. 9 | // All rights reserved. 10 | // =============================================================================== 11 | 12 | namespace ImageTools.IO.Gif 13 | { 14 | /// 15 | /// The Graphic Control Extension contains parameters used when 16 | /// processing a graphic rendering block. 17 | /// 18 | sealed class GifGraphicsControlExtension 19 | { 20 | /// 21 | /// Indicates the way in which the graphic is to be treated after being displayed. 22 | /// 23 | public DisposalMethod DisposalMethod; 24 | /// 25 | /// Indicates whether a transparency index is given in the Transparent Index field. 26 | /// (This field is the least significant bit of the byte.) 27 | /// 28 | public bool TransparencyFlag; 29 | /// 30 | /// The Transparency Index is such that when encountered, the corresponding pixel 31 | /// of the display device is not modified and processing goes on to the next pixel. 32 | /// 33 | public int TransparencyIndex; 34 | /// 35 | /// If not 0, this field specifies the number of hundredths (1/100) of a second to 36 | /// wait before continuing with the processing of the Data Stream. 37 | /// The clock starts ticking immediately after the graphic is rendered. 38 | /// This field may be used in conjunction with the User Input Flag field. 39 | /// 40 | public int DelayTime; 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/GIF/GifGraphicsControlExtension.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5b93702f61013ab40b5df984fe4eb6ac 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/GIF/GifImageDescriptor.cs: -------------------------------------------------------------------------------- 1 | #define WINDOWS_PHONE 2 | #define SILVERLIGHT 3 | 4 | // =============================================================================== 5 | // ImageDescriptor.cs 6 | // .NET Image Tools 7 | // =============================================================================== 8 | // Copyright (c) .NET Image Tools Development Group. 9 | // All rights reserved. 10 | // =============================================================================== 11 | 12 | namespace ImageTools.IO.Gif 13 | { 14 | /// 15 | /// Each image in the Data Stream is composed of an Image Descriptor, 16 | /// an optional Local Color Table, and the image data. 17 | /// Each image must fit within the boundaries of the 18 | /// Logical Screen, as defined in the Logical Screen Descriptor. 19 | /// 20 | sealed class GifImageDescriptor 21 | { 22 | /// 23 | /// Column number, in pixels, of the left edge of the image, 24 | /// with respect to the left edge of the Logical Screen. 25 | /// Leftmost column of the Logical Screen is 0. 26 | /// 27 | public short Left; 28 | /// 29 | /// Row number, in pixels, of the top edge of the image with 30 | /// respect to the top edge of the Logical Screen. 31 | /// Top row of the Logical Screen is 0. 32 | /// 33 | public short Top; 34 | /// 35 | /// Width of the image in pixels. 36 | /// 37 | public short Width; 38 | /// 39 | /// Height of the image in pixels. 40 | /// 41 | public short Height; 42 | /// 43 | /// Indicates the presence of a Local Color Table immediately 44 | /// following this Image Descriptor. 45 | /// 46 | public bool LocalColorTableFlag; 47 | /// 48 | /// If the Local Color Table Flag is set to 1, the value in this field 49 | /// is used to calculate the number of bytes contained in the Local Color Table. 50 | /// 51 | public int LocalColorTableSize; 52 | /// 53 | /// Indicates if the image is interlaced. An image is interlaced 54 | /// in a four-pass interlace pattern. 55 | /// 56 | public bool InterlaceFlag; 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/GIF/GifImageDescriptor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 95f282a86b0895547bebdf2b00dc4208 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/GIF/GifLogicalScreenDescriptor.cs: -------------------------------------------------------------------------------- 1 | #define WINDOWS_PHONE 2 | #define SILVERLIGHT 3 | 4 | // =============================================================================== 5 | // ScreenDescriptor.cs 6 | // .NET Image Tools 7 | // =============================================================================== 8 | // Copyright (c) .NET Image Tools Development Group. 9 | // All rights reserved. 10 | // =============================================================================== 11 | 12 | namespace ImageTools.IO.Gif 13 | { 14 | /// 15 | /// The Logical Screen Descriptor contains the parameters 16 | /// necessary to define the area of the display device 17 | /// within which the images will be rendered 18 | /// 19 | sealed class GifLogicalScreenDescriptor 20 | { 21 | /// 22 | /// Width, in pixels, of the Logical Screen where the images will 23 | /// be rendered in the displaying device. 24 | /// 25 | public short Width; 26 | /// 27 | /// Height, in pixels, of the Logical Screen where the images will be 28 | /// rendered in the displaying device. 29 | /// 30 | public short Height; 31 | /// 32 | /// Index into the Global Color Table for the Background Color. 33 | /// The Background Color is the color used for those 34 | /// pixels on the screen that are not covered by an image. 35 | /// 36 | public byte Background; 37 | /// 38 | /// Flag indicating the presence of a Global Color Table; 39 | /// if the flag is set, the Global Color Table will immediately 40 | /// follow the Logical Screen Descriptor. 41 | /// 42 | public bool GlobalColorTableFlag; 43 | /// 44 | /// If the Global Color Table Flag is set to 1, 45 | /// the value in this field is used to calculate the number of 46 | /// bytes contained in the Global Color Table. 47 | /// 48 | public int GlobalColorTableSize; 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/GIF/GifLogicalScreenDescriptor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2050814636557cf429d7f4deeba13c85 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/GIF/GlobalSuppressions.cs: -------------------------------------------------------------------------------- 1 | #define WINDOWS_PHONE 2 | #define SILVERLIGHT 3 | 4 | // This file is used by Code Analysis to maintain SuppressMessage 5 | // attributes that are applied to this project. 6 | // Project-level suppressions either have no target or are given 7 | // a specific target and scoped to a namespace, type, member, etc. 8 | // 9 | // To add a suppression to this file, right-click the message in the 10 | // Error List, point to "Suppress Message(s)", and click 11 | // "In Project Suppression File". 12 | // You do not need to add suppressions to this file manually. 13 | 14 | [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields", Scope = "member", Target = "ImageTools.IO.Gif.GifLogicalScreenDescriptor.#Background")] 15 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/GIF/GlobalSuppressions.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9680ff3080ed4fc458439d4a6069ba99 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/GIF/LZWDecoder.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c07a115403529604b994a3186c82cad4 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 100be806e53dd8641af5cb97800d63c5 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/FluxJpeg.Core.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d893a86af26e0154ba68a83c1b62c3c1 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/FluxJpeg.Core/DCT.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4fff8bafbd9f92d49b232f661291c7fb 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/FluxJpeg.Core/DecodedJpeg.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e0912c2bedca5fa4d9e88aeb60f406a3 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/FluxJpeg.Core/Decoder.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3722cc35362272e49b702fe3e01f4992 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/FluxJpeg.Core/Decoder/HuffmanTable.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1661e4e4fdb554f4abc5c43e97f110eb 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/FluxJpeg.Core/Decoder/JpegComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 47935284dd9670d419dc55760624de55 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/FluxJpeg.Core/Decoder/JpegDecoder.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8fb09d3234dd1634bb815d4834649f10 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/FluxJpeg.Core/Decoder/JpegFrame.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9dd30031d2cc8294cb9a418071cc6427 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/FluxJpeg.Core/Decoder/JpegHuffmanTable.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 50cc2ad1140ca3149901c39d582289b9 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/FluxJpeg.Core/Decoder/JpegQuantizationTable.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 39d180847531f854d97132d7d40aa350 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/FluxJpeg.Core/Decoder/JpegScan.cs: -------------------------------------------------------------------------------- 1 | #define WINDOWS_PHONE 2 | #define SILVERLIGHT 3 | 4 | // Copyright (c) 2008 Jeffrey Powers for Fluxcapacity Open Source. 5 | // Under the MIT License, details: License.txt. 6 | 7 | using System; 8 | using System.Collections.Generic; 9 | using System.Linq; 10 | 11 | namespace FluxJpeg.Core.Decoder 12 | { 13 | internal class JpegScan 14 | { 15 | private List components = new List(); 16 | public IList Components { get { return components; } } 17 | 18 | private int maxV = 0, maxH = 0; 19 | internal int MaxH { get { return maxH; } } 20 | internal int MaxV { get { return maxV; } } 21 | 22 | public void AddComponent(byte id, byte factorHorizontal, byte factorVertical, 23 | byte quantizationID, byte colorMode) 24 | { 25 | JpegComponent component = new JpegComponent( this, 26 | id, factorHorizontal, factorVertical, quantizationID, colorMode); 27 | 28 | components.Add(component); 29 | 30 | // Defined in Annex A 31 | maxH = components.Max(x => x.factorH); 32 | maxV = components.Max(x => x.factorV); 33 | } 34 | 35 | public JpegComponent GetComponentById(byte Id) 36 | { 37 | return components.First(x => x.component_id == Id); 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/FluxJpeg.Core/Decoder/JpegScan.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1fdb37ecf38a5004db41a180be22301f 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/FluxJpeg.Core/Encoder.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 48116b1c57f043f46b37f533d5535881 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/FluxJpeg.Core/Encoder/JpegEncoder.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a6bc60ab0c0bf1443b39756922722a03 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/FluxJpeg.Core/FDCT.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4ca1ce9eacda94044bcb87db12ec1bc7 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/FluxJpeg.Core/IO.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8afbe999e6896024e89b7bc69baa8483 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/FluxJpeg.Core/IO/BinaryReader.cs: -------------------------------------------------------------------------------- 1 | #define WINDOWS_PHONE 2 | #define SILVERLIGHT 3 | 4 | // Copyright (c) 2008 Jeffrey Powers for Fluxcapacity Open Source. 5 | // Under the MIT License, details: License.txt. 6 | 7 | using System; 8 | using System.IO; 9 | 10 | namespace FluxJpeg.Core.IO 11 | { 12 | /// 13 | /// Big-endian binary reader 14 | /// 15 | internal class BinaryReader 16 | { 17 | Stream _stream; 18 | byte[] _buffer; 19 | 20 | public Stream BaseStream { get { return _stream; } } 21 | 22 | public BinaryReader(byte[] data) : this(new MemoryStream(data)) { } 23 | 24 | public BinaryReader(Stream stream) 25 | { 26 | _stream = stream; 27 | _buffer = new byte[2]; 28 | } 29 | 30 | public byte ReadByte() 31 | { 32 | int b = _stream.ReadByte(); 33 | if (b == -1) throw new EndOfStreamException(); 34 | return (byte)b; 35 | } 36 | 37 | public ushort ReadShort() 38 | { 39 | _stream.Read(_buffer, 0, 2); 40 | return (ushort)((_buffer[0] << 8) | (_buffer[1] & 0xff)); 41 | } 42 | 43 | public int Read(byte[] buffer, int offset, int count) 44 | { 45 | return _stream.Read(buffer, offset, count); 46 | } 47 | 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/FluxJpeg.Core/IO/BinaryReader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4225c99e7889b374189d9c24764dfbc4 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/FluxJpeg.Core/IO/BinaryWriter.cs: -------------------------------------------------------------------------------- 1 | #define WINDOWS_PHONE 2 | #define SILVERLIGHT 3 | 4 | // Copyright (c) 2008 Jeffrey Powers for Fluxcapacity Open Source. 5 | // Under the MIT License, details: License.txt. 6 | 7 | #undef CODE_ANALYSIS 8 | 9 | using System; 10 | using System.Text; 11 | using System.IO; 12 | 13 | namespace FluxJpeg.Core.IO 14 | { 15 | /// 16 | /// A Big-endian binary writer. 17 | /// 18 | internal class BinaryWriter 19 | { 20 | private Stream _stream; 21 | 22 | internal BinaryWriter(Stream stream) 23 | { 24 | _stream = stream; 25 | } 26 | 27 | internal void Write(byte[] val) 28 | { 29 | _stream.Write(val, 0, val.Length); 30 | } 31 | 32 | internal void Write(byte[] val, int offset, int count) 33 | { 34 | _stream.Write(val, offset, count); 35 | } 36 | 37 | 38 | internal void Write(short val) 39 | { 40 | _stream.WriteByte((byte)(( val >> 8 ) & 0xFF)); 41 | _stream.WriteByte((byte)(val & 0xFF)); 42 | } 43 | 44 | internal void Write(byte val) 45 | { 46 | _stream.WriteByte(val); 47 | } 48 | 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/FluxJpeg.Core/IO/BinaryWriter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4f35ad4f06579b648a7d7fccc07a0ae1 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/FluxJpeg.Core/IO/JpegBinaryReader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 610a80a91798d94498c6be0bae90fafd 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/FluxJpeg.Core/Image.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6bd1c65a4cec08747b3fbbf15870141e 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/FluxJpeg.Core/JpegMarker.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7b9dedb143dfb8e44ac30c77357688b7 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/FluxJpeg.Core/YCbCr.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2a95cf0da7c9fe64681fa56a3f647214 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/FluxJpeg.Core/ZigZag.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 366352b315784524db9f9f481b6cdd28 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/JpegDecoder.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 92d5b00d52dcbf94980e7887c6538283 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/JpegEncoder.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 000e78eabe6ddf14aac6b8d4a2547d0f 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e50709043ce140b4aafee401bb7027ac 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/BitStream.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 24931a7afc650ed42889c2ae97f2acd9 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/BitmapDestination.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0dc618aa17be9e048993827c08d2f692 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 480a4f23e25ad1b42bfae9ca76ab5ea4 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/DensityUnit.cs: -------------------------------------------------------------------------------- 1 | #define WINDOWS_PHONE 2 | #define SILVERLIGHT 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Text; 7 | 8 | namespace BitMiracle.LibJpeg.Classic 9 | { 10 | /// 11 | /// The unit of density. 12 | /// 13 | /// 14 | /// 15 | #if EXPOSE_LIBJPEG 16 | public 17 | #endif 18 | enum DensityUnit 19 | { 20 | /// 21 | /// Unknown density 22 | /// 23 | Unknown = 0, 24 | 25 | /// 26 | /// Dots/inch 27 | /// 28 | DotsInch = 1, 29 | 30 | /// 31 | /// Dots/cm 32 | /// 33 | DotsCm = 2 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/DensityUnit.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 77f49fed21279e64abade5f7b4ecb489 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/Internal.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d2cf7f2357a7b564ca1324407bd48080 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/Internal/ComponentBuffer.cs: -------------------------------------------------------------------------------- 1 | #define WINDOWS_PHONE 2 | #define SILVERLIGHT 3 | 4 | /* Copyright (C) 2008-2011, Bit Miracle 5 | * http://www.bitmiracle.com 6 | */ 7 | 8 | using System; 9 | using System.Collections.Generic; 10 | using System.Text; 11 | 12 | namespace BitMiracle.LibJpeg.Classic.Internal 13 | { 14 | /// 15 | /// Encapsulates buffer of image samples for one color component 16 | /// When provided with funny indices (see jpeg_d_main_controller for 17 | /// explanation of what it is) uses them for non-linear row access. 18 | /// 19 | class ComponentBuffer 20 | { 21 | private byte[][] m_buffer; 22 | 23 | // array of funny indices 24 | private int[] m_funnyIndices; 25 | 26 | // index of "first funny index" (used because some code uses negative 27 | // indices when retrieve rows) 28 | // see for example my_upsampler.h2v2_fancy_upsample 29 | private int m_funnyOffset; 30 | 31 | public ComponentBuffer() 32 | { 33 | } 34 | 35 | public ComponentBuffer(byte[][] buf, int[] funnyIndices, int funnyOffset) 36 | { 37 | SetBuffer(buf, funnyIndices, funnyOffset); 38 | } 39 | 40 | public void SetBuffer(byte[][] buf, int[] funnyIndices, int funnyOffset) 41 | { 42 | m_buffer = buf; 43 | m_funnyIndices = funnyIndices; 44 | m_funnyOffset = funnyOffset; 45 | } 46 | 47 | public byte[] this[int i] 48 | { 49 | get 50 | { 51 | if (m_funnyIndices == null) 52 | return m_buffer[i]; 53 | 54 | return m_buffer[m_funnyIndices[i + m_funnyOffset]]; 55 | } 56 | } 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/Internal/ComponentBuffer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: db3977402a35e244ea14b0996713a60c 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/Internal/J_BUF_MODE.cs: -------------------------------------------------------------------------------- 1 | #define WINDOWS_PHONE 2 | #define SILVERLIGHT 3 | 4 | /* Copyright (C) 2008-2011, Bit Miracle 5 | * http://www.bitmiracle.com 6 | * 7 | * Copyright (C) 1994-1996, Thomas G. Lane. 8 | * This file is part of the Independent JPEG Group's software. 9 | * For conditions of distribution and use, see the accompanying README file. 10 | * 11 | */ 12 | 13 | using System; 14 | using System.Collections.Generic; 15 | using System.Text; 16 | 17 | namespace BitMiracle.LibJpeg.Classic.Internal 18 | { 19 | /// 20 | /// Operating modes for buffer controllers 21 | /// 22 | enum J_BUF_MODE 23 | { 24 | JBUF_PASS_THRU, /* Plain stripwise operation */ 25 | 26 | /* Remaining modes require a full-image buffer to have been created */ 27 | 28 | JBUF_SAVE_SOURCE, /* Run source subobject only, save output */ 29 | JBUF_CRANK_DEST, /* Run dest subobject only, using saved data */ 30 | JBUF_SAVE_AND_PASS /* Run both subobjects, save output */ 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/Internal/J_BUF_MODE.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3af1a735e84da9a45b50f11816d1ae18 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/Internal/JpegUtils.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: af97ac6f24b9639498947b0cc81145be 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/Internal/bitread_perm_state.cs: -------------------------------------------------------------------------------- 1 | #define WINDOWS_PHONE 2 | #define SILVERLIGHT 3 | 4 | /* Copyright (C) 2008-2011, Bit Miracle 5 | * http://www.bitmiracle.com 6 | * 7 | * Copyright (C) 1994-1996, Thomas G. Lane. 8 | * This file is part of the Independent JPEG Group's software. 9 | * For conditions of distribution and use, see the accompanying README file. 10 | * 11 | */ 12 | 13 | using System; 14 | using System.Collections.Generic; 15 | using System.Text; 16 | 17 | namespace BitMiracle.LibJpeg.Classic.Internal 18 | { 19 | /// 20 | /// Bitreading state saved across MCUs 21 | /// 22 | struct bitread_perm_state 23 | { 24 | public int get_buffer; /* current bit-extraction buffer */ 25 | public int bits_left; /* # of unused bits in it */ 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/Internal/bitread_perm_state.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e467a2cce34ffa840bf69c8d4b069b24 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/Internal/bitread_working_state.cs: -------------------------------------------------------------------------------- 1 | #define WINDOWS_PHONE 2 | #define SILVERLIGHT 3 | 4 | /* Copyright (C) 2008-2011, Bit Miracle 5 | * http://www.bitmiracle.com 6 | * 7 | * Copyright (C) 1994-1996, Thomas G. Lane. 8 | * This file is part of the Independent JPEG Group's software. 9 | * For conditions of distribution and use, see the accompanying README file. 10 | * 11 | */ 12 | 13 | using System; 14 | using System.Collections.Generic; 15 | using System.Text; 16 | 17 | namespace BitMiracle.LibJpeg.Classic.Internal 18 | { 19 | /// 20 | /// Bitreading working state within an MCU 21 | /// 22 | struct bitread_working_state 23 | { 24 | public int get_buffer; /* current bit-extraction buffer */ 25 | public int bits_left; /* # of unused bits in it */ 26 | 27 | /* Pointer needed by jpeg_fill_bit_buffer. */ 28 | public jpeg_decompress_struct cinfo; /* back link to decompress master record */ 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/Internal/bitread_working_state.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3b54d9d3f3bbc0942a6359921c38d0e9 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/Internal/d_derived_tbl.cs: -------------------------------------------------------------------------------- 1 | #define WINDOWS_PHONE 2 | #define SILVERLIGHT 3 | 4 | /* Copyright (C) 2008-2011, Bit Miracle 5 | * http://www.bitmiracle.com 6 | * 7 | * Copyright (C) 1994-1996, Thomas G. Lane. 8 | * This file is part of the Independent JPEG Group's software. 9 | * For conditions of distribution and use, see the accompanying README file. 10 | * 11 | */ 12 | 13 | using System; 14 | using System.Collections.Generic; 15 | using System.Text; 16 | 17 | namespace BitMiracle.LibJpeg.Classic.Internal 18 | { 19 | /// 20 | /// Derived data constructed for each Huffman table 21 | /// 22 | class d_derived_tbl 23 | { 24 | /* Basic tables: (element [0] of each array is unused) */ 25 | public int[] maxcode = new int[18]; /* largest code of length k (-1 if none) */ 26 | /* (maxcode[17] is a sentinel to ensure jpeg_huff_decode terminates) */ 27 | public int[] valoffset = new int[17]; /* huffval[] offset for codes of length k */ 28 | /* valoffset[k] = huffval[] index of 1st symbol of code length k, less 29 | * the smallest code of length k; so given a code of length k, the 30 | * corresponding symbol is huffval[code + valoffset[k]] 31 | */ 32 | 33 | /* Link to public Huffman table (needed only in jpeg_huff_decode) */ 34 | public JHUFF_TBL pub; 35 | 36 | /* Lookahead tables: indexed by the next HUFF_LOOKAHEAD bits of 37 | * the input data stream. If the next Huffman code is no more 38 | * than HUFF_LOOKAHEAD bits long, we can obtain its length and 39 | * the corresponding symbol directly from these tables. 40 | */ 41 | public int[] look_nbits = new int[1 << JpegConstants.HUFF_LOOKAHEAD]; /* # bits, or 0 if too long */ 42 | public byte[] look_sym = new byte[1 << JpegConstants.HUFF_LOOKAHEAD]; /* symbol, or unused */ 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/Internal/d_derived_tbl.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b45d64bc3791be645bf10a846367f8a2 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/Internal/huff_entropy_decoder.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cebb9085a386a4d45b523fe3c77e1033 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/Internal/huff_entropy_encoder.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6ffb27f69f0236a44a535828487b13d9 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/Internal/jpeg_c_coef_controller.cs: -------------------------------------------------------------------------------- 1 | #define WINDOWS_PHONE 2 | #define SILVERLIGHT 3 | 4 | /* Copyright (C) 2008-2011, Bit Miracle 5 | * http://www.bitmiracle.com 6 | * 7 | * Copyright (C) 1994-1996, Thomas G. Lane. 8 | * This file is part of the Independent JPEG Group's software. 9 | * For conditions of distribution and use, see the accompanying README file. 10 | * 11 | */ 12 | 13 | using System; 14 | using System.Collections.Generic; 15 | using System.Text; 16 | 17 | namespace BitMiracle.LibJpeg.Classic.Internal 18 | { 19 | /// 20 | /// Coefficient buffer control 21 | /// 22 | interface jpeg_c_coef_controller 23 | { 24 | void start_pass(J_BUF_MODE pass_mode); 25 | bool compress_data(byte[][][] input_buf); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/Internal/jpeg_c_coef_controller.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 92bfec8aea962e04c80197f8b2718852 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/Internal/jpeg_c_main_controller.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 94c518f62a245744199f08b1f62fed66 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/Internal/jpeg_c_prep_controller.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 398b406da588ea1498737529aecf86a0 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/Internal/jpeg_color_converter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 36984dd7ef66d7b4f9cac360844b14e9 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/Internal/jpeg_color_deconverter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e1f34a81c81229243b4ecac822a4dec2 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/Internal/jpeg_color_quantizer.cs: -------------------------------------------------------------------------------- 1 | #define WINDOWS_PHONE 2 | #define SILVERLIGHT 3 | 4 | /* Copyright (C) 2008-2011, Bit Miracle 5 | * http://www.bitmiracle.com 6 | * 7 | * Copyright (C) 1994-1996, Thomas G. Lane. 8 | * This file is part of the Independent JPEG Group's software. 9 | * For conditions of distribution and use, see the accompanying README file. 10 | * 11 | */ 12 | 13 | using System; 14 | using System.Collections.Generic; 15 | using System.Text; 16 | 17 | namespace BitMiracle.LibJpeg.Classic.Internal 18 | { 19 | /// 20 | /// Color quantization or color precision reduction 21 | /// 22 | interface jpeg_color_quantizer 23 | { 24 | void start_pass(bool is_pre_scan); 25 | 26 | void color_quantize(byte[][] input_buf, int in_row, byte[][] output_buf, int out_row, int num_rows); 27 | 28 | void finish_pass(); 29 | void new_color_map(); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/Internal/jpeg_color_quantizer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 08c1824b63f02644d9c4b522923818e9 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/Internal/jpeg_comp_master.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 77e77eadc66e1fb41b4c751ff28f5808 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/Internal/jpeg_d_coef_controller.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 949d7f0ee82e6cb41adbf8d4acf8643f 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/Internal/jpeg_d_main_controller.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f07311dae6ec899478d35a2cc61a05aa 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/Internal/jpeg_d_post_controller.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 279babe15e21b57419a285a6292e220e 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/Internal/jpeg_decomp_master.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8e3a96e32f88ac4459587d12c59defb5 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/Internal/jpeg_downsampler.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 728b44ca7c040924e93c289731764823 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/Internal/jpeg_entropy_decoder.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 45192fd6df1a2b64d85b9e4a5690cee5 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/Internal/jpeg_entropy_encoder.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f377bcf144cb9704dae3ed5feec08f70 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/Internal/jpeg_forward_dct.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5301fe7853033f2499250cee29b4ded9 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/Internal/jpeg_input_controller.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 27f78ec01eab64a4bb02ca0760aaf781 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/Internal/jpeg_inverse_dct.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b491a2f4385095c4ca0336fab50a2662 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/Internal/jpeg_marker_reader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b6b803ebe3a4aca4d8c629279a19b38f 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/Internal/jpeg_marker_writer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ff6f2e5df2d35df4ca22a4c533376e0a 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/Internal/jpeg_scan_info.cs: -------------------------------------------------------------------------------- 1 | #define WINDOWS_PHONE 2 | #define SILVERLIGHT 3 | 4 | /* Copyright (C) 2008-2011, Bit Miracle 5 | * http://www.bitmiracle.com 6 | * 7 | * Copyright (C) 1994-1996, Thomas G. Lane. 8 | * This file is part of the Independent JPEG Group's software. 9 | * For conditions of distribution and use, see the accompanying README file. 10 | * 11 | */ 12 | 13 | using System; 14 | using System.Collections.Generic; 15 | using System.Text; 16 | 17 | namespace BitMiracle.LibJpeg.Classic.Internal 18 | { 19 | /// 20 | /// The script for encoding a multiple-scan file is an array of these: 21 | /// 22 | class jpeg_scan_info 23 | { 24 | public int comps_in_scan; /* number of components encoded in this scan */ 25 | public int[] component_index = new int[JpegConstants.MAX_COMPS_IN_SCAN]; /* their SOF/comp_info[] indexes */ 26 | public int Ss; 27 | public int Se; /* progressive JPEG spectral selection parms */ 28 | public int Ah; 29 | public int Al; /* progressive JPEG successive approx. parms */ 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/Internal/jpeg_scan_info.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0a2d7795a300d3c499aea173e0b40a7e 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/Internal/jpeg_upsampler.cs: -------------------------------------------------------------------------------- 1 | #define WINDOWS_PHONE 2 | #define SILVERLIGHT 3 | 4 | /* Copyright (C) 2008-2011, Bit Miracle 5 | * http://www.bitmiracle.com 6 | * 7 | * Copyright (C) 1994-1996, Thomas G. Lane. 8 | * This file is part of the Independent JPEG Group's software. 9 | * For conditions of distribution and use, see the accompanying README file. 10 | * 11 | */ 12 | 13 | using System; 14 | using System.Collections.Generic; 15 | using System.Text; 16 | 17 | namespace BitMiracle.LibJpeg.Classic.Internal 18 | { 19 | /// 20 | /// Upsampling (note that upsampler must also call color converter) 21 | /// 22 | abstract class jpeg_upsampler 23 | { 24 | protected bool m_need_context_rows; /* true if need rows above & below */ 25 | 26 | public abstract void start_pass(); 27 | public abstract void upsample(ComponentBuffer[] input_buf, ref int in_row_group_ctr, int in_row_groups_avail, byte[][] output_buf, ref int out_row_ctr, int out_rows_avail); 28 | 29 | public bool NeedContextRows() 30 | { 31 | return m_need_context_rows; 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/Internal/jpeg_upsampler.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7e08d0d439da2b146966cc08a41a5e77 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/Internal/my_1pass_cquantizer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e6384bb1856025e4b86eeb3eefaaa3e0 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/Internal/my_2pass_cquantizer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a0c917f1651943145ae4331c757b0d4b 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/Internal/my_c_coef_controller.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cb578576ca351cb48affb73b7bf7d3a6 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/Internal/my_destination_mgr.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8dedbc2941e3fe54eb09f4fc4710ff37 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/Internal/my_merged_upsampler.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 42c4f26dde35c3e49a9ec8a1a89f3178 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/Internal/my_source_mgr.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e71f549d837a09b49af90e4c629bcf98 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/Internal/my_trans_c_coef_controller.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 37ad3279af1078f439a6508e125255f1 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/Internal/my_upsampler.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bff5a57d7f2d7ff45b67cde5a0a5e1b2 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/Internal/phuff_entropy_decoder.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 71d45ab5d3c402a40bde95a49c0f0d22 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/Internal/phuff_entropy_encoder.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1195ca530292ce94684c627001932ddf 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/JBLOCK.cs: -------------------------------------------------------------------------------- 1 | #define WINDOWS_PHONE 2 | #define SILVERLIGHT 3 | 4 | /* Copyright (C) 2008-2011, Bit Miracle 5 | * http://www.bitmiracle.com 6 | * 7 | * Copyright (C) 1994-1996, Thomas G. Lane. 8 | * This file is part of the Independent JPEG Group's software. 9 | * For conditions of distribution and use, see the accompanying README file. 10 | * 11 | */ 12 | 13 | using System; 14 | using System.Collections.Generic; 15 | using System.Text; 16 | 17 | namespace BitMiracle.LibJpeg.Classic 18 | { 19 | /// 20 | /// One block of coefficients. 21 | /// 22 | #if EXPOSE_LIBJPEG 23 | public 24 | #endif 25 | class JBLOCK 26 | { 27 | internal short[] data = new short[JpegConstants.DCTSIZE2]; 28 | 29 | /// 30 | /// Gets or sets the element at the specified index. 31 | /// 32 | /// The index of required element. 33 | /// The required element. 34 | public short this[int index] 35 | { 36 | get 37 | { 38 | return data[index]; 39 | } 40 | set 41 | { 42 | data[index] = value; 43 | } 44 | } 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/JBLOCK.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 89cfb9fc8e0f6384597596bac51bb78c 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/JHUFF_TBL.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 18d1ffe9ee5ac454fbde5e3aa5306b7a 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/JPEG_MARKER.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 558f54f6e8166ec48b056b8588be67a3 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/JQUANT_TBL.cs: -------------------------------------------------------------------------------- 1 | #define WINDOWS_PHONE 2 | #define SILVERLIGHT 3 | 4 | /* Copyright (C) 2008-2011, Bit Miracle 5 | * http://www.bitmiracle.com 6 | * 7 | * Copyright (C) 1994-1996, Thomas G. Lane. 8 | * This file is part of the Independent JPEG Group's software. 9 | * For conditions of distribution and use, see the accompanying README file. 10 | * 11 | */ 12 | 13 | using System; 14 | using System.Collections.Generic; 15 | using System.Text; 16 | 17 | namespace BitMiracle.LibJpeg.Classic 18 | { 19 | /// 20 | /// DCT coefficient quantization tables. 21 | /// 22 | #if EXPOSE_LIBJPEG 23 | public 24 | #endif 25 | class JQUANT_TBL 26 | { 27 | /* This field is used only during compression. It's initialized false when 28 | * the table is created, and set true when it's been output to the file. 29 | * You could suppress output of a table by setting this to true. 30 | * (See jpeg_suppress_tables for an example.) 31 | */ 32 | private bool m_sent_table; /* true when table has been output */ 33 | 34 | /* This array gives the coefficient quantizers in natural array order 35 | * (not the zigzag order in which they are stored in a JPEG DQT marker). 36 | * CAUTION: IJG versions prior to v6a kept this array in zigzag order. 37 | */ 38 | internal readonly short[] quantval = new short[JpegConstants.DCTSIZE2]; /* quantization step for each coefficient */ 39 | 40 | internal JQUANT_TBL() 41 | { 42 | } 43 | 44 | /// 45 | /// Gets or sets a value indicating whether the table has been output to file. 46 | /// 47 | /// It's initialized false when the table is created, and set 48 | /// true when it's been output to the file. You could suppress output of a table by setting this to true. 49 | /// 50 | /// This property is used only during compression. 51 | /// 52 | public bool Sent_table 53 | { 54 | get { return m_sent_table; } 55 | set { m_sent_table = value; } 56 | } 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/JQUANT_TBL.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4df9914785c2a3b4b970069fab29a14c 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/J_COLOR_SPACE.cs: -------------------------------------------------------------------------------- 1 | #define WINDOWS_PHONE 2 | #define SILVERLIGHT 3 | 4 | /* Copyright (C) 2008-2011, Bit Miracle 5 | * http://www.bitmiracle.com 6 | * 7 | * Copyright (C) 1994-1996, Thomas G. Lane. 8 | * This file is part of the Independent JPEG Group's software. 9 | * For conditions of distribution and use, see the accompanying README file. 10 | * 11 | */ 12 | 13 | using System; 14 | using System.Collections.Generic; 15 | using System.Text; 16 | 17 | namespace BitMiracle.LibJpeg.Classic 18 | { 19 | /// 20 | /// Known color spaces. 21 | /// 22 | /// Special color spaces 23 | #if EXPOSE_LIBJPEG 24 | public 25 | #endif 26 | enum J_COLOR_SPACE 27 | { 28 | /// 29 | /// Unspecified color space. 30 | /// 31 | JCS_UNKNOWN, 32 | 33 | /// 34 | /// Grayscale 35 | /// 36 | JCS_GRAYSCALE, 37 | 38 | /// 39 | /// RGB 40 | /// 41 | JCS_RGB, 42 | 43 | /// 44 | /// YCbCr (also known as YUV) 45 | /// 46 | JCS_YCbCr, 47 | 48 | /// 49 | /// CMYK 50 | /// 51 | JCS_CMYK, 52 | 53 | /// 54 | /// YCbCrK 55 | /// 56 | JCS_YCCK 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/J_COLOR_SPACE.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 06814fb031d105c478c8394ab401895d 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/J_DCT_METHOD.cs: -------------------------------------------------------------------------------- 1 | #define WINDOWS_PHONE 2 | #define SILVERLIGHT 3 | 4 | /* Copyright (C) 2008-2011, Bit Miracle 5 | * http://www.bitmiracle.com 6 | * 7 | * Copyright (C) 1994-1996, Thomas G. Lane. 8 | * This file is part of the Independent JPEG Group's software. 9 | * For conditions of distribution and use, see the accompanying README file. 10 | * 11 | */ 12 | 13 | using System; 14 | using System.Collections.Generic; 15 | using System.Text; 16 | 17 | namespace BitMiracle.LibJpeg.Classic 18 | { 19 | /// 20 | /// Algorithm used for the DCT step. 21 | /// 22 | /// The FLOAT method is very slightly more accurate than the ISLOW method, 23 | /// but may give different results on different machines due to varying roundoff behavior. 24 | /// The integer methods should give the same results on all machines. On machines with 25 | /// sufficiently fast hardware, the floating-point method may also be the fastest. 26 | /// The IFAST method is considerably less accurate than the other two; its use is not recommended 27 | /// if high quality is a concern. 28 | /// 29 | /// 30 | #if EXPOSE_LIBJPEG 31 | public 32 | #endif 33 | enum J_DCT_METHOD 34 | { 35 | /// 36 | /// Slow but accurate integer algorithm. 37 | /// 38 | JDCT_ISLOW, 39 | 40 | /// 41 | /// Faster, less accurate integer method. 42 | /// 43 | JDCT_IFAST, 44 | 45 | /// 46 | /// Floating-point method. 47 | /// 48 | JDCT_FLOAT 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/J_DCT_METHOD.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4653c07fdf2e41a4fb510c34045d36fc 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/J_DITHER_MODE.cs: -------------------------------------------------------------------------------- 1 | #define WINDOWS_PHONE 2 | #define SILVERLIGHT 3 | 4 | /* Copyright (C) 2008-2011, Bit Miracle 5 | * http://www.bitmiracle.com 6 | * 7 | * Copyright (C) 1994-1996, Thomas G. Lane. 8 | * This file is part of the Independent JPEG Group's software. 9 | * For conditions of distribution and use, see the accompanying README file. 10 | * 11 | */ 12 | 13 | using System; 14 | using System.Collections.Generic; 15 | using System.Text; 16 | 17 | namespace BitMiracle.LibJpeg.Classic 18 | { 19 | /// 20 | /// Dithering options for decompression. 21 | /// 22 | /// 23 | #if EXPOSE_LIBJPEG 24 | public 25 | #endif 26 | enum J_DITHER_MODE 27 | { 28 | /// 29 | /// No dithering: fast, very low quality 30 | /// 31 | JDITHER_NONE, 32 | 33 | /// 34 | /// Ordered dither: moderate speed and quality 35 | /// 36 | JDITHER_ORDERED, 37 | 38 | /// 39 | /// Floyd-Steinberg dither: slow, high quality 40 | /// 41 | JDITHER_FS 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/J_DITHER_MODE.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 12a4e321120248746b59149ce2ff92ce 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/J_MESSAGE_CODE.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f60b85a66488cd945a7c728c82f76073 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/JpegConstants.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5a05c2e40c547cb429a7c34489a0162f 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/ReadResult.cs: -------------------------------------------------------------------------------- 1 | #define WINDOWS_PHONE 2 | #define SILVERLIGHT 3 | 4 | /* Copyright (C) 2008-2011, Bit Miracle 5 | * http://www.bitmiracle.com 6 | */ 7 | 8 | using System; 9 | using System.Collections.Generic; 10 | using System.Text; 11 | 12 | namespace BitMiracle.LibJpeg.Classic 13 | { 14 | /// 15 | /// Describes a result of read operation. 16 | /// 17 | /// 18 | #if EXPOSE_LIBJPEG 19 | public 20 | #endif 21 | enum ReadResult 22 | { 23 | /// 24 | /// Suspended due to lack of input data. Can occur only if a suspending data source is used. 25 | /// 26 | JPEG_SUSPENDED = 0, 27 | /// 28 | /// Found valid image datastream. 29 | /// 30 | JPEG_HEADER_OK = 1, 31 | /// 32 | /// Found valid table-specs-only datastream. 33 | /// 34 | JPEG_HEADER_TABLES_ONLY = 2, 35 | /// 36 | /// Reached a SOS marker (the start of a new scan) 37 | /// 38 | JPEG_REACHED_SOS = 3, 39 | /// 40 | /// Reached the EOI marker (end of image) 41 | /// 42 | JPEG_REACHED_EOI = 4, 43 | /// 44 | /// Completed reading one MCU row of compressed data. 45 | /// 46 | JPEG_ROW_COMPLETED = 5, 47 | /// 48 | /// Completed reading last MCU row of current scan. 49 | /// 50 | JPEG_SCAN_COMPLETED = 6 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/ReadResult.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6ff44d7db20201f4bb036f69a661e683 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/jpeg_common_struct.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e8a11f1b9f589634bb95ae5953d1764f 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/jpeg_component_info.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 75cb02935df8ac24db29a5946855c825 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/jpeg_compress_struct.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 80ca0be59161f314892cb831e33516ea 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/jpeg_decompress_struct.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bd63ac6e783cbc94098820aa88694d34 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/jpeg_destination_mgr.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d85205d82e1d23b41aa263b8ce008e09 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/jpeg_error_mgr.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 266e25512cb69ba47ba51c89c29e5773 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/jpeg_marker_struct.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fb0507be786288f40b878686aba217ff 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/jpeg_progress_mgr.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d5d28f587f0f66840890905a26281859 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/jpeg_source_mgr.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 298bfa7c697a0af4eaab897a9518d994 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Classic/jvirt_array.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a547be89ed0e67747adf0da9293942d9 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/CompressionParameters.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d33879c2cb477fa448dcfae4d606913c 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/DecompressionParameters.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6442ba96cba2c6a49b6a1ae87aac375f 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/DecompressorToJpegImage.cs: -------------------------------------------------------------------------------- 1 | #define WINDOWS_PHONE 2 | #define SILVERLIGHT 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.IO; 7 | using System.Text; 8 | 9 | namespace BitMiracle.LibJpeg 10 | { 11 | class DecompressorToJpegImage : IDecompressDestination 12 | { 13 | private JpegImage m_jpegImage; 14 | 15 | internal DecompressorToJpegImage(JpegImage jpegImage) 16 | { 17 | m_jpegImage = jpegImage; 18 | } 19 | 20 | public Stream Output 21 | { 22 | get 23 | { 24 | return null; 25 | } 26 | } 27 | 28 | public void SetImageAttributes(LoadedImageAttributes parameters) 29 | { 30 | m_jpegImage.Width = parameters.Width; 31 | m_jpegImage.Height = parameters.Height; 32 | m_jpegImage.BitsPerComponent = 8; 33 | m_jpegImage.ComponentsPerSample = (byte)parameters.ComponentsPerSample; 34 | m_jpegImage.Colorspace = parameters.Colorspace; 35 | } 36 | 37 | public void BeginWrite() 38 | { 39 | } 40 | 41 | public void ProcessPixelsRow(byte[] row) 42 | { 43 | SampleRow samplesRow = new SampleRow(row, m_jpegImage.Width, m_jpegImage.BitsPerComponent, m_jpegImage.ComponentsPerSample); 44 | m_jpegImage.addSampleRow(samplesRow); 45 | } 46 | 47 | public void EndWrite() 48 | { 49 | } 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/DecompressorToJpegImage.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a715980c57b8ec04e9fef192519fabc9 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Enumerations.cs: -------------------------------------------------------------------------------- 1 | #define SILVERLIGHT 2 | 3 | using System; 4 | using System.Collections.Generic; 5 | using System.Text; 6 | 7 | namespace BitMiracle.LibJpeg 8 | { 9 | /// 10 | /// Known color spaces. 11 | /// 12 | #if EXPOSE_LIBJPEG 13 | public 14 | #endif 15 | enum Colorspace 16 | { 17 | /// 18 | /// Unspecified colorspace 19 | /// 20 | Unknown, 21 | 22 | /// 23 | /// Grayscale 24 | /// 25 | Grayscale, 26 | 27 | /// 28 | /// RGB 29 | /// 30 | RGB, 31 | 32 | /// 33 | /// YCbCr (also known as YUV) 34 | /// 35 | YCbCr, 36 | 37 | /// 38 | /// CMYK 39 | /// 40 | CMYK, 41 | 42 | /// 43 | /// YCbCrK 44 | /// 45 | YCCK 46 | } 47 | 48 | /// 49 | /// DCT/IDCT algorithm options. 50 | /// 51 | enum DCTMethod 52 | { 53 | IntegerSlow, /* slow but accurate integer algorithm */ 54 | IntegerFast, /* faster, less accurate integer method */ 55 | Float /* floating-point: accurate, fast on fast HW */ 56 | } 57 | 58 | /// 59 | /// Dithering options for decompression. 60 | /// 61 | enum DitherMode 62 | { 63 | None, /* no dithering */ 64 | Ordered, /* simple ordered dither */ 65 | FloydSteinberg /* Floyd-Steinberg error diffusion dither */ 66 | } 67 | } 68 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Enumerations.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0c5b98729f942ae4b9ada649cc098150 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/IDecompressDestination.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bef177862fff301478a9d51c93d740f7 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/IRawImage.cs: -------------------------------------------------------------------------------- 1 | #define WINDOWS_PHONE 2 | #define SILVERLIGHT 3 | 4 | namespace BitMiracle.LibJpeg 5 | { 6 | interface IRawImage 7 | { 8 | int Width 9 | { get; } 10 | 11 | int Height 12 | { get; } 13 | 14 | Colorspace Colorspace 15 | { get; } 16 | 17 | int ComponentsPerPixel 18 | { get; } 19 | 20 | void BeginRead(); 21 | byte[] GetPixelRow(); 22 | void EndRead(); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/IRawImage.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 74a70b9dd60caa44d9ec369e0826916c 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Jpeg.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9559e4fea999d6d419f2aefffda81c06 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/JpegImage.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 935d4c93dab876c46974f856176b2273 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/RawImage.cs: -------------------------------------------------------------------------------- 1 | #define WINDOWS_PHONE 2 | #define SILVERLIGHT 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Diagnostics; 7 | using System.Text; 8 | 9 | namespace BitMiracle.LibJpeg 10 | { 11 | class RawImage : IRawImage 12 | { 13 | private List m_samples; 14 | private Colorspace m_colorspace; 15 | 16 | private int m_currentRow = -1; 17 | 18 | internal RawImage(List samples, Colorspace colorspace) 19 | { 20 | Debug.Assert(samples != null); 21 | Debug.Assert(samples.Count > 0); 22 | Debug.Assert(colorspace != Colorspace.Unknown); 23 | 24 | m_samples = samples; 25 | m_colorspace = colorspace; 26 | } 27 | 28 | public int Width 29 | { 30 | get 31 | { 32 | return m_samples[0].Length; 33 | } 34 | } 35 | 36 | public int Height 37 | { 38 | get 39 | { 40 | return m_samples.Count; 41 | } 42 | } 43 | 44 | public Colorspace Colorspace 45 | { 46 | get 47 | { 48 | return m_colorspace; 49 | } 50 | } 51 | 52 | public int ComponentsPerPixel 53 | { 54 | get 55 | { 56 | return m_samples[0][0].ComponentCount; 57 | } 58 | } 59 | 60 | public void BeginRead() 61 | { 62 | m_currentRow = 0; 63 | } 64 | 65 | public byte[] GetPixelRow() 66 | { 67 | SampleRow row = m_samples[m_currentRow]; 68 | List result = new List(); 69 | for (int i = 0; i < row.Length; ++i) 70 | { 71 | Sample sample = row[i]; 72 | for (int j = 0; j < sample.ComponentCount; ++j) 73 | result.Add((byte)sample[j]); 74 | } 75 | ++m_currentRow; 76 | return result.ToArray(); 77 | } 78 | 79 | public void EndRead() 80 | { 81 | } 82 | } 83 | } 84 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/RawImage.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7ec7abd4b2ca62d4c8e861edfde3ae10 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Sample.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e7e6c916777708e4fb8cada502a742fa 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/SampleRow.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 06d595e6bbdb8ab40888765ba1ba9fbb 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/JPG/LibJpeg/Utils.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 424913fb3f281274abc4ddc331ac6a0e 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/MissingAPIs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 79eb0b7202d694b48b8cb12ea14cc711 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/MissingAPIs/Color.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a961ba3a34797c44a88e2acca5796e98 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/MissingAPIs/Contract.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bd2e35c56317bd042ba2b626ff98989e 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/MissingAPIs/ContractClassForAttribute.cs: -------------------------------------------------------------------------------- 1 | #region Assembly mscorlib.dll, v2.0.50727 2 | // C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll 3 | #endregion 4 | 5 | using System; 6 | using System.Diagnostics; 7 | 8 | namespace System.Diagnostics.Contracts.Reign 9 | { 10 | // Summary: 11 | // Specifies that a class is a contract for a type. 12 | [Conditional("CONTRACTS_FULL")] 13 | [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)] 14 | public sealed class ContractClassForAttribute : Attribute 15 | { 16 | // Summary: 17 | // Initializes a new instance of the System.Diagnostics.Contracts.ContractClassForAttribute 18 | // class, specifying the type the current class is a contract for. 19 | // 20 | // Parameters: 21 | // typeContractsAreFor: 22 | // The type the current class is a contract for. 23 | public ContractClassForAttribute(Type typeContractsAreFor) 24 | { 25 | this.TypeContractsAreFor = typeContractsAreFor; 26 | } 27 | 28 | // Summary: 29 | // Gets the type that this code contract applies to. 30 | // 31 | // Returns: 32 | // The type that this contract applies to. 33 | public Type TypeContractsAreFor { get; private set; } 34 | } 35 | } -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/MissingAPIs/ContractClassForAttribute.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7ed011818bca6a949ada0fd0d3bd606f 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/MissingAPIs/ContractVerificationAttribute.cs: -------------------------------------------------------------------------------- 1 | #region Assembly mscorlib.dll, v2.0.50727 2 | // C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll 3 | #endregion 4 | 5 | using System; 6 | using System.Diagnostics; 7 | 8 | namespace System.Diagnostics.Contracts.Reign 9 | { 10 | // Summary: 11 | // Instructs analysis tools to assume the correctness of an assembly, type, 12 | // or member without performing static verification. 13 | [Conditional("CONTRACTS_FULL")] 14 | [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property)] 15 | public sealed class ContractVerificationAttribute : Attribute 16 | { 17 | // Summary: 18 | // Initializes a new instance of the System.Diagnostics.Contracts.ContractVerificationAttribute 19 | // class. 20 | // 21 | // Parameters: 22 | // value: 23 | // true to require verification; otherwise, false. 24 | public ContractVerificationAttribute(bool value) 25 | { 26 | this.Value = value; 27 | } 28 | 29 | // Summary: 30 | // Gets the value that indicates whether to verify the contract of the target. 31 | // 32 | // Returns: 33 | // true if verification is required; otherwise, false. 34 | public bool Value { get; private set; } 35 | } 36 | } -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/MissingAPIs/ContractVerificationAttribute.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fa46628072c0c584886829b3fa31e91e 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/MissingAPIs/ObservableCollection.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 864507a415669684ab24a64af2c998ad 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/MissingAPIs/OpenReadCompletedEventArgs.cs: -------------------------------------------------------------------------------- 1 | //#region Assembly System.dll, v2.0.0.0 2 | //// C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.dll 3 | //#endregion 4 | 5 | //#if UNITY_METRO && !UNITY_EDITOR 6 | //using System.ComponentModel; 7 | //using System.IO; 8 | 9 | //namespace System.Net 10 | //{ 11 | // // Summary: 12 | // // Provides data for the System.Net.WebClient.OpenReadCompleted event. 13 | // public class OpenReadCompletedEventArgs : AsyncCompletedEventArgs 14 | // { 15 | // // Summary: 16 | // // Gets a readable stream that contains data downloaded by a Overload:System.Net.WebClient.DownloadDataAsync 17 | // // method. 18 | // // 19 | // // Returns: 20 | // // A System.IO.Stream that contains the downloaded data. 21 | // public Stream Result { get; private set; } 22 | // } 23 | //} 24 | //#endif -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/MissingAPIs/OpenReadCompletedEventArgs.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 81563f4771443614c880dfdd936a4967 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/MissingAPIs/OpenReadCompletedEventHandler.cs: -------------------------------------------------------------------------------- 1 | //#region Assembly System.dll, v2.0.0.0 2 | //// C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.dll 3 | //#endregion 4 | 5 | //#if UNITY_METRO && !UNITY_EDITOR 6 | //using System; 7 | 8 | //namespace System.Net 9 | //{ 10 | // // Summary: 11 | // // Represents the method that will handle the System.Net.WebClient.OpenReadCompleted 12 | // // event of a System.Net.WebClient. 13 | // // 14 | // // Parameters: 15 | // // sender: 16 | // // The source of the event. 17 | // // 18 | // // e: 19 | // // A System.Net.OpenReadCompletedEventArgs containing event data. 20 | // public delegate void OpenReadCompletedEventHandler(object sender, OpenReadCompletedEventArgs e); 21 | //} 22 | //#endif -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/MissingAPIs/OpenReadCompletedEventHandler.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6a14a324d8e2a444786ce95739367885 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/MissingAPIs/Point.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 63320d015e49529408b6a1976d336ceb 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/MissingAPIs/Pure.cs: -------------------------------------------------------------------------------- 1 | #region Assembly mscorlib.dll, v2.0.50727 2 | // C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll 3 | #endregion 4 | 5 | using System; 6 | using System.Diagnostics; 7 | 8 | namespace System.Diagnostics.Contracts.Reign 9 | { 10 | // Summary: 11 | // Indicates that a type or method is pure, that is, it does not make any visible 12 | // state changes. 13 | [Conditional("CONTRACTS_FULL")] 14 | [AttributeUsage(AttributeTargets.Class | AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Event | AttributeTargets.Parameter | AttributeTargets.Delegate, AllowMultiple = false, Inherited = true)] 15 | public sealed class PureAttribute : Attribute 16 | { 17 | // Summary: 18 | // Initializes a new instance of the System.Diagnostics.Contracts.PureAttribute 19 | // class. 20 | public PureAttribute() 21 | { 22 | 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/MissingAPIs/Pure.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 303b9049721411741a847128f481b021 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/MissingAPIs/Rect.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c3018c38527d80e42834bcd549af66c6 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/MissingAPIs/Size.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e30fd9eeda5d0f0468d8c8039e9cffc5 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/MissingAPIs/StreamResourceInfo.cs: -------------------------------------------------------------------------------- 1 | #region Assembly System.Windows.dll, v2.0.50727 2 | // C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Windows.dll 3 | #endregion 4 | 5 | using System; 6 | using System.IO; 7 | 8 | namespace System.Windows.Resources.Reign 9 | { 10 | // Summary: 11 | // Provides resource stream information for application resources or other packages 12 | // obtained through the System.Windows.Application.GetResourceStream(System.Windows.Resources.StreamResourceInfo,System.Uri) 13 | // method. 14 | public class StreamResourceInfo 15 | { 16 | private Stream stream; 17 | private string contentType; 18 | 19 | // Summary: 20 | // Initializes a new instance of the System.Windows.Resources.StreamResourceInfo 21 | // class. 22 | // 23 | // Parameters: 24 | // stream: 25 | // The stream to use to create the resource. 26 | // 27 | // contentType: 28 | // The MIME type of the content. 29 | // 30 | // Exceptions: 31 | // System.ArgumentNullException: 32 | // stream is null. 33 | public StreamResourceInfo(Stream stream, string contentType) 34 | { 35 | this.stream = stream; 36 | this.contentType = contentType; 37 | } 38 | 39 | // Summary: 40 | // Gets the MIME type of the content in the stream. 41 | // 42 | // Returns: 43 | // The MIME type of the content in the stream, as a string. 44 | public string ContentType { get{return contentType;} } 45 | // 46 | // Summary: 47 | // Gets the stream that is contained by the resource. 48 | // 49 | // Returns: 50 | // The stream that is contained by the resource. 51 | public Stream Stream { get{return stream;} } 52 | } 53 | } -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/MissingAPIs/StreamResourceInfo.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a7bc26451ae6aa1428928b18e64b2a29 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/PNG.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0cfbb4778bc7b9b4aa9ffbe25c2f6d51 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/PNG/GlobalSuppressions.cs: -------------------------------------------------------------------------------- 1 | #define WINDOWS_PHONE 2 | #define SILVERLIGHT 3 | 4 | // This file is used by Code Analysis to maintain SuppressMessage 5 | // attributes that are applied to this project. 6 | // Project-level suppressions either have no target or are given 7 | // a specific target and scoped to a namespace, type, member, etc. 8 | // 9 | // To add a suppression to this file, right-click the message in the 10 | // Error List, point to "Suppress Message(s)", and click 11 | // "In Project Suppression File". 12 | // You do not need to add suppressions to this file manually. 13 | 14 | [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1810:InitializeReferenceTypeStaticFieldsInline", Scope = "member", Target = "ImageTools.IO.Png.PngDecoder.#.cctor()")] 15 | [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2202:Do not dispose objects multiple times", Scope = "member", Target = "ImageTools.IO.Png.PngEncoder.#WriteDataChunks()")] 16 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/PNG/GlobalSuppressions.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b3b7fbcba3f12c54499c6a7937c8336b 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/PNG/GrayscaleReader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c13eb3d12c42f3e4fb36720cdb8b8197 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/PNG/IColorReader.cs: -------------------------------------------------------------------------------- 1 | #define WINDOWS_PHONE 2 | #define SILVERLIGHT 3 | 4 | // =============================================================================== 5 | // IColorReader.cs 6 | // .NET Image Tools 7 | // =============================================================================== 8 | // Copyright (c) .NET Image Tools Development Group. 9 | // All rights reserved. 10 | // =============================================================================== 11 | 12 | namespace ImageTools.IO.Png 13 | { 14 | /// 15 | /// Interface for color readers, which are responsible for reading 16 | /// different color formats from a png file. 17 | /// 18 | interface IColorReader 19 | { 20 | /// 21 | /// Reads the specified scanline. 22 | /// 23 | /// The scanline. 24 | /// The pixels, where the colors should be stored in RGBA format. 25 | /// The header, which contains information about the png file, like 26 | /// the width of the image and the height. 27 | void ReadScanline(byte[] scanline, byte[] pixels, PngHeader header); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/PNG/IColorReader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 45ba6e18db15c924e8d7af0ac3ff9467 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/PNG/PaletteIndexReader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b7c1002e86c5af04b9addd53af922701 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/PNG/PngChunk.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7beabf2fabd6d53428518f6c3edacf93 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/PNG/PngColorTypeInformation.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ef946857e1aad434db4fbac60a0a1e71 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/PNG/PngDecoder.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 03bd31e7910d90141aeb0be1e024bf17 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/PNG/PngEncoder.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 13ded16551f18774a8db7467f20600f8 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/PNG/PngHeader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4fc2f2804b08e84429ba7ee29ed151d6 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/ImageTools/PNG/TruecolorReader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b95f60d5f7b6f8c4c85e6f6d5a9c75f3 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 242d5e44f11d0d54d926c0b04bac2988 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/BZip2.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 37ba788c80d525b4292cbef3aafd6f95 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/BZip2/BZip2.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2f12644826912e849811f7242ce58e88 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/BZip2/BZip2Constants.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ec4925eb2e4371146a02324ec751f525 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/BZip2/BZip2Exception.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6db9852722072034da192f76b82900b0 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/BZip2/BZip2InputStream.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c08712fe04dc8774a9f0431fcb18f2cf 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/BZip2/BZip2OutputStream.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ac1d58809864bab4c91d4f10885e1def 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Checksums.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fdd4235c6f3cad04187247f26c1ee3eb 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Checksums/Adler32.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 45da9c6e3823d874a90e4fdffc8e3d0e 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Checksums/CRC32.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6941365158e9c064ebf66ad251596fce 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Checksums/IChecksum.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 549dd3369f5c8d04c99ef27de4536be0 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Checksums/StrangeCRC.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cbd7bb2faa9e9fa45bb2948d37c6d18b 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Core.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 901bb67309ad69b4a91644077250a60f 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Core/FileSystemScanner.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a21711d6415a9b0458b7f73606ac040b 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Core/INameTransform.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 68846beb98039114ebb80a7d9575bdda 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Core/IScanFilter.cs: -------------------------------------------------------------------------------- 1 | // IScanFilter.cs 2 | // 3 | // Copyright 2006 John Reilly 4 | // 5 | // This program is free software; you can redistribute it and/or 6 | // modify it under the terms of the GNU General Public License 7 | // as published by the Free Software Foundation; either version 2 8 | // of the License, or (at your option) any later version. 9 | // 10 | // This program is distributed in the hope that it will be useful, 11 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | // GNU General Public License for more details. 14 | // 15 | // You should have received a copy of the GNU General Public License 16 | // along with this program; if not, write to the Free Software 17 | // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 18 | // 19 | // Linking this library statically or dynamically with other modules is 20 | // making a combined work based on this library. Thus, the terms and 21 | // conditions of the GNU General Public License cover the whole 22 | // combination. 23 | // 24 | // As a special exception, the copyright holders of this library give you 25 | // permission to link this library with independent modules to produce an 26 | // executable, regardless of the license terms of these independent 27 | // modules, and to copy and distribute the resulting executable under 28 | // terms of your choice, provided that you also meet, for each linked 29 | // independent module, the terms and conditions of the license of that 30 | // module. An independent module is a module which is not derived from 31 | // or based on this library. If you modify this library, you may extend 32 | // this exception to your version of the library, but you are not 33 | // obligated to do so. If you do not wish to do so, delete this 34 | // exception statement from your version. 35 | 36 | namespace ICSharpCode.SharpZipLib.Core 37 | { 38 | /// 39 | /// Scanning filters support filtering of names. 40 | /// 41 | public interface IScanFilter 42 | { 43 | /// 44 | /// Test a name to see if it 'matches' the filter. 45 | /// 46 | /// The name to test. 47 | /// Returns true if the name matches the filter, false if it does not match. 48 | bool IsMatch(string name); 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Core/IScanFilter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 08ff4857c7a0b074391a9b138f3b3863 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Core/NameFilter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 44fdcd1f91f982a40a75aa7eb5954747 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Core/PathFilter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 91dbfba0ba18f0a45b4a756a825d1e36 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Core/StreamUtils.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b5951f2a7a8d5c64cb432f6e148d143f 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Core/WindowsPathUtils.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 96f71cb8b14c7da40806c6ae23974a68 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Encryption.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a5a14487c5a79ad489bb2dfb858a9c40 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Encryption/PkzipClassic.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e93ca8ba047f3c04cbe232e0cab52568 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Encryption/ZipAESStream.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3e38fa5e7b56dd546b87ea4fd7ce11b0 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Encryption/ZipAESTransform.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5bc34d77a32f9c24aac7faa146f5a2af 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/GZip.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d98e602908f15b24a871ad49abdea1b8 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/GZip/GZIPConstants.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5e721656ab589e547872a7c15ba329e0 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/GZip/GZipException.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 174f58e3fddb44e44ba37e7177f70706 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/GZip/GzipInputStream.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 29213edd6b02db446a7d796afa332e1c 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/GZip/GzipOutputStream.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 43a2164c8cff58e48a5cd70340fae2c3 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Lzw.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3f0448052a3e4b940811a4532b392d4a 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Lzw/LzwConstants.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d4d35b1fbb812f74788d0216122fb98d 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Lzw/LzwException.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bf759101b06a6a84f821c024ad9b59fa 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Lzw/LzwInputStream.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cc7bf3c71dc388a41850e9152590b68c 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Main.cs: -------------------------------------------------------------------------------- 1 | // Main.cs 2 | // 3 | // Copyright (C) 2001 Mike Krueger 4 | // 5 | // This program is free software; you can redistribute it and/or 6 | // modify it under the terms of the GNU General Public License 7 | // as published by the Free Software Foundation; either version 2 8 | // of the License, or (at your option) any later version. 9 | // 10 | // This program is distributed in the hope that it will be useful, 11 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | // GNU General Public License for more details. 14 | // 15 | // You should have received a copy of the GNU General Public License 16 | // along with this program; if not, write to the Free Software 17 | // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 18 | // 19 | // Linking this library statically or dynamically with other modules is 20 | // making a combined work based on this library. Thus, the terms and 21 | // conditions of the GNU General Public License cover the whole 22 | // combination. 23 | // 24 | // As a special exception, the copyright holders of this library give you 25 | // permission to link this library with independent modules to produce an 26 | // executable, regardless of the license terms of these independent 27 | // modules, and to copy and distribute the resulting executable under 28 | // terms of your choice, provided that you also meet, for each linked 29 | // independent module, the terms and conditions of the license of that 30 | // module. An independent module is a module which is not derived from 31 | // or based on this library. If you modify this library, you may extend 32 | // this exception to your version of the library, but you are not 33 | // obligated to do so. If you do not wish to do so, delete this 34 | // exception statement from your version. 35 | // 36 | 37 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Main.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 23cb2c6b117282d4db266c0fc344a6d3 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/SharpZipBaseException.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 48efff8f26781d0469322546e65b0bcc 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Tar.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c3788c02de62416489003ce93c4149b8 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Tar/InvalidHeaderException.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 64a93ff1c59ae804ebb636accbf31341 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Tar/TarArchive.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b6c52f1036c429544b12a6fbc64f12cd 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Tar/TarBuffer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f381078360970ea4eaccea566161baa6 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Tar/TarEntry.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 40681e7f57b82e549bd96fdb26eb83a4 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Tar/TarException.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f3ae16befe22cf042a7c223aca5887df 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Tar/TarHeader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9689ad92a29bd944c80ebf4c77b491e8 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Tar/TarInputStream.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 008f358961eb968418a64f89493a0484 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Tar/TarOutputStream.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 168d13b356fe8d647899dbc0f9d3ecb2 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Zip.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2736f314716c26443a045a0cf9fba8ac 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Zip/Compression.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2c5ff148cab802b49afba38538ee8cb0 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Zip/Compression/Deflater.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 017d9ad720e8c064dbfe9daf8d1e0753 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Zip/Compression/DeflaterConstants.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: db4d4e8545305fd4b95dfa70c550fbf9 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Zip/Compression/DeflaterEngine.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3eb1940095be6a34c8ba0c161bfe18a5 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Zip/Compression/DeflaterHuffman.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4a71e0467f7bf0f45b271d0e2d561ba4 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Zip/Compression/DeflaterPending.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 72081f44f9d8f2341b1e3ca84a925006 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Zip/Compression/Inflater.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d714b2d99ae150643b94f2310631867e 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Zip/Compression/InflaterDynHeader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ffb6b0bd1ab6d2d499979052d4cee7ee 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Zip/Compression/InflaterHuffmanTree.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c7f1d189b3dd9d749b009230746170f8 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Zip/Compression/PendingBuffer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 75b22168c542ee9439f0128f541bd1ea 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Zip/Compression/Streams.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8a3d0a11f028d8445aa42d06278a238d 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Zip/Compression/Streams/DeflaterOutputStream.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a6e5d266a5569dd45a1f2579b1815af4 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Zip/Compression/Streams/InflaterInputStream.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 068e53f579795884ab16ceb2e5681d15 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Zip/Compression/Streams/OutputWindow.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e58e8bf615fb73841b350ae7e65ae911 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Zip/Compression/Streams/StreamManipulator.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7f4bcadcf9fc24349a20e3ce9a53d4f6 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Zip/FastZip.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b0e9af05260208e48a4a60ceae4e90e5 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Zip/IEntryFactory.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1ce11701342734043947655c9a320012 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Zip/WindowsNameTransform.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f4595d0969bff314c84b0f2957a2c202 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Zip/ZipConstants.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0f02955077f86c846ab6f6251de8d5a3 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Zip/ZipEntry.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 78eb7e9c336502f45bad0baa90f39d58 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Zip/ZipEntryFactory.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8485fcfe3badea84c8f592db6914d1df 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Zip/ZipException.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d60781a5c6180ab4e940be01fdd39b14 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Zip/ZipExtraData.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 341d3d2bee0e2fd41b7f97c4ee310ccb 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Zip/ZipFile.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2ab22e6071f6a5343ac2afd3c2251808 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Zip/ZipHelperStream.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4ac3aed262e5a4e4d8e7300a13bd18ea 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Zip/ZipInputStream.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 39b16c1705c4c054b9332d74f59ed673 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Zip/ZipNameTransform.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3faa775c43bff7c4fa50283e93b17d70 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/SharpZipLib/Zip/ZipOutputStream.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 922421fdc6bfcd94f999a5ec7665855d 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/WinRT.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 76059317079215342a6a41ce6f79038a 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/Plugins/Reign/Shared/WinRT/WinRTPlugin.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8996c0dbc4f151940bac04a0cc3c29b8 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a153b512540ed7643a6b88a9cfb3b57c 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/Scenes/Reign.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f8c426d845e1d5941af860e729a90bf4 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/Scenes/Reign/Demo.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reignstudios/Reign-Unity-Plugin-OpenSource/b02c2f07bfb986bf830e0624e5b9ef3b86b84bc1/Assets/Scenes/Reign/Demo.unity -------------------------------------------------------------------------------- /Assets/Scenes/Reign/Demo.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3c1215d741df5354eb3948d23e814fa1 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | <<< ReignSDK >>> 2 | 3 | Copyright (C) 2009-2014 Reign-Studios (Andrew Witte & Philip Witte). 4 | All Rights Reserved. 5 | 6 | All other 3rd party libraries and or source code contained or used within the Reign-Unity-Plugin-OpenSource, are subject to there own legal agreements. 7 | 8 | ------------------------------------------------------------ 9 | 10 | This program is free software: you can redistribute it and/or modify 11 | it under the terms of the BSD 2-Clause License. 12 | 13 | This program is distributed in the hope that it will be useful, 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | BSD 2-Clause License for more details. 17 | 18 | You should have received a copy of the BSD 2-Clause License 19 | along with this program. If not, see "http://www.opensource.org/licenses/bsd-license.php". 20 | 21 | 22 | ------------------------------------------------------------- 23 | 24 | Copyright (c) 2009-2014, Andrew Witte & Philip Witte 25 | All rights reserved. 26 | 27 | Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 28 | 29 | - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 30 | 31 | - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 32 | 33 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 34 | -------------------------------------------------------------------------------- /ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reignstudios/Reign-Unity-Plugin-OpenSource/b02c2f07bfb986bf830e0624e5b9ef3b86b84bc1/ProjectSettings/AudioManager.asset -------------------------------------------------------------------------------- /ProjectSettings/DynamicsManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reignstudios/Reign-Unity-Plugin-OpenSource/b02c2f07bfb986bf830e0624e5b9ef3b86b84bc1/ProjectSettings/DynamicsManager.asset -------------------------------------------------------------------------------- /ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reignstudios/Reign-Unity-Plugin-OpenSource/b02c2f07bfb986bf830e0624e5b9ef3b86b84bc1/ProjectSettings/EditorBuildSettings.asset -------------------------------------------------------------------------------- /ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reignstudios/Reign-Unity-Plugin-OpenSource/b02c2f07bfb986bf830e0624e5b9ef3b86b84bc1/ProjectSettings/EditorSettings.asset -------------------------------------------------------------------------------- /ProjectSettings/GraphicsSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reignstudios/Reign-Unity-Plugin-OpenSource/b02c2f07bfb986bf830e0624e5b9ef3b86b84bc1/ProjectSettings/GraphicsSettings.asset -------------------------------------------------------------------------------- /ProjectSettings/InputManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reignstudios/Reign-Unity-Plugin-OpenSource/b02c2f07bfb986bf830e0624e5b9ef3b86b84bc1/ProjectSettings/InputManager.asset -------------------------------------------------------------------------------- /ProjectSettings/NavMeshLayers.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reignstudios/Reign-Unity-Plugin-OpenSource/b02c2f07bfb986bf830e0624e5b9ef3b86b84bc1/ProjectSettings/NavMeshLayers.asset -------------------------------------------------------------------------------- /ProjectSettings/NetworkManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reignstudios/Reign-Unity-Plugin-OpenSource/b02c2f07bfb986bf830e0624e5b9ef3b86b84bc1/ProjectSettings/NetworkManager.asset -------------------------------------------------------------------------------- /ProjectSettings/Physics2DSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reignstudios/Reign-Unity-Plugin-OpenSource/b02c2f07bfb986bf830e0624e5b9ef3b86b84bc1/ProjectSettings/Physics2DSettings.asset -------------------------------------------------------------------------------- /ProjectSettings/ProjectSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reignstudios/Reign-Unity-Plugin-OpenSource/b02c2f07bfb986bf830e0624e5b9ef3b86b84bc1/ProjectSettings/ProjectSettings.asset -------------------------------------------------------------------------------- /ProjectSettings/QualitySettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reignstudios/Reign-Unity-Plugin-OpenSource/b02c2f07bfb986bf830e0624e5b9ef3b86b84bc1/ProjectSettings/QualitySettings.asset -------------------------------------------------------------------------------- /ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reignstudios/Reign-Unity-Plugin-OpenSource/b02c2f07bfb986bf830e0624e5b9ef3b86b84bc1/ProjectSettings/TagManager.asset -------------------------------------------------------------------------------- /ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reignstudios/Reign-Unity-Plugin-OpenSource/b02c2f07bfb986bf830e0624e5b9ef3b86b84bc1/ProjectSettings/TimeManager.asset -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Reign Unity Plugin OpenSource 2 | ================== 3 | 4 | Supports MemoryStreams only for portability. If you wish to save files to a disk, use your file manager of choice. 5 | 6 | The "Reign Unity Plugin(s)" are copyright and owned by Andrew D. Witte and Philip J. Witte. 7 | 8 | This product is licenced under the BSD 2-Clause License. 9 | Please look at the licence for more info. 10 | 11 | This plugin is to be used at your own risk. Reign-Studios, Andrew Witte or Philip Witte take no responsibility. --------------------------------------------------------------------------------