From 24a2a946b35279605e645349bd6b82e9e60aac88 Mon Sep 17 00:00:00 2001 From: Normand Briere <nbriere@noware.ca> Date: Wed, 14 Aug 2019 23:35:34 -0400 Subject: [PATCH] Fix textures in jar. --- cTexture.java | 22 +++++++++++++--------- 1 files changed, 13 insertions(+), 9 deletions(-) diff --git a/cTexture.java b/cTexture.java index 34de4de..51caa46 100644 --- a/cTexture.java +++ b/cTexture.java @@ -1,14 +1,9 @@ -/* - * To change this template, choose Tools | Templates - * and open the template in the editor. - */ +import java.awt.image.BufferedImage; -/** - * - * @author nbriere - */ public class cTexture implements java.io.Serializable { + static final long serialVersionUID = 8278178842384985286L; + public cTexture(String n) { name = n; @@ -35,5 +30,14 @@ return toString().equals(o.toString()); } - public String name; + String name; + + transient String pigment; + transient String bump; + + int pw, ph; + byte[] pigmentdata; + + int bw, bh; + byte[] bumpdata; } -- Gitblit v1.6.2