Package zombie.characterTextures
Class CharacterSmartTexture
java.lang.Object
zombie.asset.Asset
zombie.core.textures.Texture
zombie.core.textures.SmartTexture
zombie.characterTextures.CharacterSmartTexture
- All Implemented Interfaces:
java.io.Serializable
,IDestroyable
,IMaskerable
,ITexture
public final class CharacterSmartTexture extends SmartTexture
- See Also:
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from class zombie.core.textures.Texture
Texture.PZFileformat, Texture.TextureAssetParams
Nested classes/interfaces inherited from class zombie.asset.Asset
Asset.ObserverCallback, Asset.State
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String[]
BasicPatchesMaskFiles
static int
BodyCategory
static int
ClothingBottomCategory
static int
ClothingItemCategory
static int
ClothingTopCategory
static int
DecalOverlayCategory
static java.lang.String[]
DenimPatchesMaskFiles
static int
DirtOverlayCategory
static java.lang.String[]
LeatherPatchesMaskFiles
static java.lang.String[]
MaskFiles
Fields inherited from class zombie.core.textures.SmartTexture
commands, result
Fields inherited from class zombie.core.textures.Texture
ASSET_TYPE, assetParams, bDoingQuad, bindAlways, BindCount, dataid, flip, height, heightOrig, la, lastlastTextureID, lastTextureID, lb, lg, lr, mask, name, nullTextures, offsetX, offsetY, solid, subTexture, totalTextureID, WarnFailFindTexture, width, widthOrig, xEnd, xStart, yEnd, yStart
Fields inherited from class zombie.asset.Asset
m_asset_manager
-
Constructor Summary
Constructors Constructor Description CharacterSmartTexture()
-
Method Summary
Modifier and Type Method Description float
addBlood(BloodBodyPartType bloodBodyPartType, float float1, IsoGameCharacter gameCharacter)
float
addDirt(BloodBodyPartType bloodBodyPartType, float float1, IsoGameCharacter gameCharacter)
void
addShirtDecal(java.lang.String string)
void
removeBlood()
void
removeBlood(BloodBodyPartType bloodBodyPartType)
void
setBlood(BloodBodyPartType bloodBodyPartType, float float1)
void
setDirt(BloodBodyPartType bloodBodyPartType, float float1)
Methods inherited from class zombie.core.textures.SmartTexture
add, add, add, add, add, add, add, add, add, add, addDirtOverlay, addHole, addHue, addHue, addMaskedTexture, addMaskedTexture, addOverlay, addOverlay, addOverlayPatches, addRect, addTexture, addTint, addTint, bind, calculate, clear, destroy, getData, getFirstFromCategory, getID, isEmpty, isFailure, isReady, mask, mask, maskHue, maskHue, maskTint, maskTint, removeHole, removeHole, removeHole, save, setDirty
Methods inherited from class zombie.core.textures.Texture
bind, bindNone, clearTextures, collectAllIcons, copyMaskRegion, createMask, createMask, createMask, createMask, equals, flipPixels, forgetTexture, getEngineMipmapTexture, getErrorTexture, getHeight, getHeightHW, getHeightOrig, getMask, getName, getOffsetX, getOffsetY, getRealHeight, getRealWidth, getSharedTexture, getSharedTexture, getSharedTexture, getSharedTexture, getSteamAvatar, getTexture, getTextureId, getType, getUseAlphaChannel, getUVScale, getWhite, getWidth, getWidthHW, getWidthOrig, getXEnd, getXStart, getYEnd, getYStart, isCollisionable, isDestroyed, isSolid, isValid, loadMaskRegion, makeTransp, onBeforeReady, onTexturePacksChanged, processFilePath, reload, reloadFromFile, render, render, render, render, renderdiamond, rendershader2, renderstrip, renderwalln, renderwallnw, renderwallw, saveMask, saveMaskRegion, setAlphaForeach, setCustomizedTexture, setData, setHeight, setMask, setName, setNameOnly, setOffsetX, setOffsetY, setRealHeight, setRealWidth, setRegion, setUseAlphaChannel, setWidth, split, split, split, split2D, splitIcon, steamAvatarChanged, toString, trygetTexture
Methods inherited from class zombie.asset.Asset
addDependency, getAssetManager, getObserverCb, getPath, getRefCount, getState, onBeforeEmpty, onCreated, removeDependency, setAssetParams
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
BodyCategory
public static int BodyCategory -
ClothingBottomCategory
public static int ClothingBottomCategory -
ClothingTopCategory
public static int ClothingTopCategory -
ClothingItemCategory
public static int ClothingItemCategory -
DecalOverlayCategory
public static int DecalOverlayCategory -
DirtOverlayCategory
public static int DirtOverlayCategory -
MaskFiles
public static final java.lang.String[] MaskFiles -
BasicPatchesMaskFiles
public static final java.lang.String[] BasicPatchesMaskFiles -
DenimPatchesMaskFiles
public static final java.lang.String[] DenimPatchesMaskFiles -
LeatherPatchesMaskFiles
public static final java.lang.String[] LeatherPatchesMaskFiles
-
-
Constructor Details
-
CharacterSmartTexture
public CharacterSmartTexture()
-
-
Method Details
-
setBlood
-
setDirt
-
removeBlood
public void removeBlood() -
removeBlood
-
addBlood
public float addBlood(BloodBodyPartType bloodBodyPartType, float float1, IsoGameCharacter gameCharacter) -
addDirt
public float addDirt(BloodBodyPartType bloodBodyPartType, float float1, IsoGameCharacter gameCharacter) -
addShirtDecal
public void addShirtDecal(java.lang.String string)
-