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.TextureAssetParamsNested classes/interfaces inherited from class zombie.asset.Asset
Asset.ObserverCallback, Asset.State -
Field Summary
Fields Modifier and Type Field Description static java.lang.String[]BasicPatchesMaskFilesstatic intBodyCategorystatic intClothingBottomCategorystatic intClothingItemCategorystatic intClothingTopCategorystatic intDecalOverlayCategorystatic java.lang.String[]DenimPatchesMaskFilesstatic intDirtOverlayCategorystatic java.lang.String[]LeatherPatchesMaskFilesstatic java.lang.String[]MaskFilesFields inherited from class zombie.core.textures.SmartTexture
commands, resultFields 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, yStartFields inherited from class zombie.asset.Asset
m_asset_manager -
Constructor Summary
Constructors Constructor Description CharacterSmartTexture() -
Method Summary
Modifier and Type Method Description floataddBlood(BloodBodyPartType bloodBodyPartType, float float1, IsoGameCharacter gameCharacter)floataddDirt(BloodBodyPartType bloodBodyPartType, float float1, IsoGameCharacter gameCharacter)voidaddShirtDecal(java.lang.String string)voidremoveBlood()voidremoveBlood(BloodBodyPartType bloodBodyPartType)voidsetBlood(BloodBodyPartType bloodBodyPartType, float float1)voidsetDirt(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, setDirtyMethods 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, trygetTextureMethods inherited from class zombie.asset.Asset
addDependency, getAssetManager, getObserverCb, getPath, getRefCount, getState, onBeforeEmpty, onCreated, removeDependency, setAssetParamsMethods 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)
-