diff options
author | Blood-Asp <bloodasphendrik@gmail.com> | 2017-09-03 15:54:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-03 15:54:24 +0200 |
commit | ec1460d2da67e95e8b8ba00d88fa17b24c7d63b9 (patch) | |
tree | f09b69e32f604a0d832f6026fc350982fda468b9 /src/main/java/gregtech/api/enums | |
parent | a377bcea632bf80abb74d33b4814e62c456dcbb8 (diff) | |
parent | 8eade43a195ac74ee28880d8833eeaf7dbd7d64f (diff) | |
download | GT5-Unofficial-ec1460d2da67e95e8b8ba00d88fa17b24c7d63b9.tar.gz GT5-Unofficial-ec1460d2da67e95e8b8ba00d88fa17b24c7d63b9.tar.bz2 GT5-Unofficial-ec1460d2da67e95e8b8ba00d88fa17b24c7d63b9.zip |
Merge pull request #1184 from GTNewHorizons/texture_overhaul
Texture overhaul
Diffstat (limited to 'src/main/java/gregtech/api/enums')
-rw-r--r-- | src/main/java/gregtech/api/enums/Textures.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/java/gregtech/api/enums/Textures.java b/src/main/java/gregtech/api/enums/Textures.java index 3154c4dc76..f60fa257be 100644 --- a/src/main/java/gregtech/api/enums/Textures.java +++ b/src/main/java/gregtech/api/enums/Textures.java @@ -612,13 +612,16 @@ public class Textures { new GT_RenderedTexture(OVERLAY_LOCKER_012), new GT_RenderedTexture(OVERLAY_LOCKER_013), }, - CASING_BLOCKS = new ITexture[128], + CASING_BLOCKS = new ITexture[128],//original variable still limited to 128 MACHINE_CASINGS[] = new ITexture[10][17]; + public static ITexture[][] casingTexturePages = new ITexture[128][];//page holder so we don't make an short long array + static { for (byte i = 0; i < MACHINE_CASINGS.length; i++) for (byte j = 0; j < MACHINE_CASINGS[i].length; j++) MACHINE_CASINGS[i][j] = new GT_SidedTexture(MACHINECASINGS_BOTTOM[i], MACHINECASINGS_TOP[i], MACHINECASINGS_SIDE[i], Dyes.getModulation(j - 1, Dyes.MACHINE_METAL.mRGBa)); + casingTexturePages[0]=CASING_BLOCKS; } protected IIcon mIcon; |