=  java/lang/Object()V   zombie/core/textures/ImageDatasolidZ   mipMapCountI   alphaPaddingDone   bPreserveTransparentColor  id zombie/core/textures/MipMapLevel  zombie/core/textures/TextureIDwidthHW " #heightHW % &&(IILzombie/core/utils/WrappedBuffer;)V ( )*data"Lzombie/core/textures/MipMapLevel; , -width ,  1 2height 1 "  7.txt 9:; <=java/lang/Stringcontains(Ljava/lang/CharSequence;)Z?.png 9A BCreplaceD(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String; EFG HIzombie/core/textures/TextureprocessFilePath&(Ljava/lang/String;)Ljava/lang/String; KLM NOzombie/ZomboidFileSysteminstanceLzombie/ZomboidFileSystem; KQ RI getStringTjava/io/FileInputStream SV W(Ljava/lang/String;)VYjava/io/BufferedInputStream X[ \(Ljava/io/InputStream;)V^zombie/core/textures/PNGDecoder ]` a(Ljava/io/InputStream;Z)V ]c degetWidth()I ]g he getHeight jkl mnzombie/core/utils/ImageUtilsgetNextPowerOfTwoHW(I)I p q(II)V s tu getBuffer()Ljava/nio/ByteBuffer; wxy zujava/nio/ByteBufferrewind w| }~put(IB)Ljava/nio/ByteBuffer;  &zombie/core/textures/PNGDecoder$FormatRGBA(Lzombie/core/textures/PNGDecoder$Format; ] decodeA(Ljava/nio/ByteBuffer;ILzombie/core/textures/PNGDecoder$Format;)V X closejava/lang/Throwable  addSuppressed(Ljava/lang/Throwable;)V java/io/InputStreamjava/lang/Exception  disposezombie/core/textures/Pcx '(Ljava/lang/String;Ljava/lang/String;)V  imageWidth  imageHeight  setData(Lzombie/core/textures/Pcx;)V palette[I   makeTransp(BBBB)V (Ljava/lang/String;[I)V  )zombie/core/textures/Texture$PZFileformatDDS+Lzombie/core/textures/Texture$PZFileformat; runS(Lzombie/core/textures/ImageData;Ljava/io/BufferedInputStream;)Ljava/lang/Runnable;  zombie/core/opengl/RenderThreadinvokeOnRenderContext(Ljava/lang/Runnable;)V  .com/evildevil/engines/bubble/texture/DDSLoaderlastWid lastHei  z ] maskLzombie/core/utils/BooleanGrid;   'zombie/core/utils/DirectBufferAllocatorallocate$(I)Lzombie/core/utils/WrappedBuffer; szombie/core/utils/WrappedBuffer  zombie/core/znet/SteamFriendsCreateSteamAvatar(JLjava/nio/ByteBuffer;)I w eposition w uflip % w get()B w }(B)Ljava/nio/ByteBuffer; w (I)Ljava/nio/ByteBuffer;  java/awt/image/BufferedImagegetData()Ljava/awt/image/Raster;  (Ljava/awt/image/Raster;)V   printStackTrace cjava/awt/image/Raster g     getPixels (IIII[I)[I    java/io/ObjectInputStreamdefaultReadObject   readByte   imageData[B  java/io/ObjectOutputStreamdefaultWriteObject   writeByte(I)V ! "#calculateNumMips(II)I % &performAlphaPadding ( )$()Lzombie/core/textures/MipMapLevel; + ,-mipMaps#[Lzombie/core/textures/MipMapLevel; / 0generateMipMaps 2 3egetMipMapCount 567 8#zombie/core/math/PZMathmin : ;< getMipMapData%(I)Lzombie/core/textures/MipMapLevel;  ? @ngetNextMipDimension B CDscaleMipLevelMaxAlphaH(Lzombie/core/textures/MipMapLevel;Lzombie/core/textures/MipMapLevel;I)V F GDscaleMipLevelAverage I &J%(Lzombie/core/textures/MipMapLevel;)V L MNTL_generateMipMapsLjava/lang/ThreadLocal; PQR Sjava/lang/ThreadLocal()Ljava/lang/Object;U0zombie/core/textures/ImageData$L_generateMipMaps , 1 TY Z pixelBytes T\ ] originalPixel T_ `resultPixelBytes b cdgetPixelClamped(Ljava/nio/ByteBuffer;IIII[I)[I fgh ijzombie/util/list/PZArrayUtil arrayCopy ([I[III)[I fl mnarraySet([II)[I p qrsampleNeighborPixelDiscard (Ljava/nio/ByteBuffer;IIII[I[I)I tuv Nwzombie/debug/DebugOptionsLzombie/debug/DebugOptions; ty z{ IsoSprite Lzombie/debug/options/IsoSprite; }~ zombie/debug/options/IsoSpriteWorldMipmapColors!Lzombie/debug/BooleanDebugOption;  zombie/debug/BooleanDebugOptiongetValue()Z  setMipmapDebugColors(I[I)V  setPixel(Ljava/nio/ByteBuffer;IIII[I)V  getPixelDiscard(Ljava/nio/ByteBuffer;IIII[I)I  "n 5 #max  )!Lzombie/core/utils/WrappedBuffer;  NTL_performAlphaPadding4zombie/core/textures/ImageData$L_performAlphaPadding w (I)B   pixelRGBA   newPixelRGBA  pixelRGBA_neighbor 5 clamp(III)I  dds0Lcom/evildevil/engines/bubble/texture/DDSLoader;   loadDDSFile (Ljava/io/BufferedInputStream;)I  ()Ljava/util/function/Supplier; P  withInitial6(Ljava/util/function/Supplier;)Ljava/lang/ThreadLocal;java/io/SerializableserialVersionUIDJ ConstantValueu b, BufferSizeMIP_LEVEL_IDX_OFFSET SignatureKLjava/lang/ThreadLocal;OLjava/lang/ThreadLocal;D(Lzombie/core/textures/TextureID;Lzombie/core/utils/WrappedBuffer;)VCodeLineNumberTable StackMapTable ExceptionsL(Ljava/io/BufferedInputStream;ZLzombie/core/textures/Texture$PZFileformat;)VcreateSteamAvatar#(J)Lzombie/core/textures/ImageData;(BBB)V!(Ljava/awt/image/BufferedImage;)V readObject(Ljava/io/ObjectInputStream;)Vjava/io/IOException java/lang/ClassNotFoundException writeObject(Ljava/io/ObjectOutputStream;)V getHeightHWisSolid getWidthHW initMipMaps lambda$new$0 (Ljava/io/BufferedInputStream;)V SourceFileImageData.java NestMembersBootstrapMethods  "java/lang/invoke/LambdaMetafactory metafactory(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;  S T4()Lzombie/core/textures/ImageData$L_generateMipMaps; 8()Lzombie/core/textures/ImageData$L_performAlphaPadding; InnerClassesFormat PZFileformatL_generateMipMapsL_performAlphaPadding%java/lang/invoke/MethodHandles$Lookupjava/lang/invoke/MethodHandlesLookup1)*,-2# -   MNN)Z*** ****Y++!,$'*++.*+/*+03*+!4*+56 W4 EJLTX1Y9ZA[I\Q_Y`W *** ***+68 +6>@L+DLJ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#(.148?FO\boy$I % &CDF MKOT:,r:vW+V6+W6+r:,V6 ,W6 6   6   X: [:^: h haW* .eW6 kW6* h` h o`6* h h` o`6* h` h` o`6<\.lO\.lO\.lO\.lOsx|       ! #)/5?IPW^r   + 1$@FL'[8 Tww =  TwwGDKOT:,r:vW+V6+W6+r:,V6 ,W6 6   6   ^: 6 h h aW h` h `6 h h` `6 h` h` `6 \.lO \.lO \.lO \.lO .sx|        9 )n+ -.01#2)4/557?9I;P>S?gBCDIJKLOQSW9 7Z28 Tww  "#0=>^_ a "nL<= z=fgi gl  &W*'L+ +*+H*qruxz{ &J& fOM+rN+V6+W66C63h`h6-`~6   -,a: ,:  kW  .O6  *-d, o`6  *-d, o`6  *-dd, o`6  *-`, o`6  *-`, o`6  *-``, o`6  4 \. lO \. lO \. lO  .O- ̄~ %/;IQTYkqx#(1:CKY_e*w +qr\ +aW.1\..`O\..`O\..`O\..`O* %,7BMXZA l h`h6\.*~`O\.*`~`O\.*`~`O\.*`~`O" 1DWj cd_d>d6h`h6*~O*`~O*`~O*`~O" ,<L\ }Qh`h6*.~{W*`.~{W*`.~{W*`.~{W ,>P @n4 z;  i/@Qbu+O+O+O+O+O+Op+O+O+O_+O+O+OL+O+O+O9+O+O+O*+O+O+O+O+O+O!06:>AEKOR V Z ` ciosv| !#$%( 0$ *+A!YKR 2T *]@E@T