Package zombie.iso.sprite
Class IsoSprite
java.lang.Object
zombie.iso.sprite.IsoSprite
public class IsoSprite
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description static float
alphaStep
boolean
alwaysDraw
float
Angle
boolean
Animate
boolean
AnimateWhenPaused
java.util.HashMap
AnimMap
java.util.ArrayList
AnimStack
boolean
attachedFloor
java.lang.String
burntTile
boolean
canBeRemoved
IsoAnim
CurrentAnim
boolean
cutN
boolean
cutW
IsoSpriteInstance
def
boolean
DeleteWhenFinished
int
firerequirement
boolean
forceAmbient
static int
globalOffsetX
static int
globalOffsetY
int
ID
boolean
invisible
boolean
isBush
boolean
Loop
static int
maxCount
ModelManager.ModelSlot
modelSlot
boolean
moveWithWind
java.lang.String
name
PropertyContainer
Properties
boolean
Scissor
short
soffX
short
soffY
boolean
solid
boolean
solidfloor
boolean
solidTrans
short
sprOffX
ColorInfo
TintMod
int
windType
-
Constructor Summary
Constructors Constructor Description IsoSprite()
IsoSprite(IsoSpriteManager spriteManager)
-
Method Summary
Modifier and Type Method Description void
AddFramesUseOtherFrame(java.lang.String string, java.lang.String string2, java.lang.String string3, java.lang.String string4, int int1, java.lang.String string5)
void
AddProperties(IsoSprite sprite)
void
CacheAnims(java.lang.String string)
void
ChangeTintMod(ColorInfo colorInfo)
static IsoSprite
CreateSprite(IsoSpriteManager spriteManager)
void
Dispose()
static void
DisposeAll()
void
drawAt(IsoSpriteInstance spriteInstance, IsoObject object, int int1, int int2, IsoDirections directions)
void
DupeFrame()
IsoSpriteInstance
getDefaultSpriteInst()
float
getMaskClickedY(IsoDirections directions, int int1, int int2, boolean boolean1)
java.lang.String
getName()
java.lang.String
getParentObjectName()
PropertyContainer
getProperties()
float
getScreenX(float float1, float float2, float float3, float float4, float float5)
float
getScreenY(float float1, float float2, float float3, float float4, float float5)
int
getSheetGridIdFromName()
static int
getSheetGridIdFromName(java.lang.String string)
static IsoSprite
getSprite(IsoSpriteManager spriteManager, int int1)
static IsoSprite
getSprite(IsoSpriteManager spriteManager, java.lang.String string, int int1)
static IsoSprite
getSprite(IsoSpriteManager spriteManager, IsoSprite sprite, int int1)
IsoSpriteGrid
getSpriteGrid()
ColorInfo
getTintMod()
IsoObjectType
getType()
boolean
hasActiveModel()
static boolean
HasCache(java.lang.String string)
boolean
isMaskClicked(IsoDirections directions, int int1, int int2)
boolean
isMaskClicked(IsoDirections directions, int int1, int int2, boolean boolean1)
boolean
isMoveWithWind()
void
load(java.io.DataInputStream dataInputStream)
void
LoadCache(java.lang.String string)
void
LoadExtraFrame(java.lang.String string, java.lang.String string2, int int1)
Texture
LoadFrameExplicit(java.lang.String string)
void
LoadFrames(java.lang.String string, java.lang.String string2, int int1)
void
LoadFramesBitRepeatFrame(java.lang.String string, java.lang.String string2, int int1)
void
LoadFramesBitRepeatFrame(java.lang.String string, java.lang.String string2, java.lang.String string3, int int1, java.lang.String string4)
void
LoadFramesBits(java.lang.String string, java.lang.String string2, int int1)
void
LoadFramesBits(java.lang.String string, java.lang.String string2, java.lang.String string3, int int1)
void
LoadFramesBits(java.lang.String string, java.lang.String string2, java.lang.String string3, int int1, java.lang.String string4)
void
LoadFramesNoDir(java.lang.String string, java.lang.String string2, int int1)
void
LoadFramesNoDirPage(java.lang.String string, java.lang.String string2, int int1)
void
LoadFramesNoDirPageDirect(java.lang.String string, java.lang.String string2, int int1)
void
LoadFramesNoDirPageSimple(java.lang.String string)
void
LoadFramesNoDirPalette(java.lang.String string, java.lang.String string2, int int1, java.lang.String string3)
void
LoadFramesPageSimple(java.lang.String string, java.lang.String string2, java.lang.String string3, java.lang.String string4)
void
LoadFramesPalette(java.lang.String string, java.lang.String string2, int int1, java.lang.String string3)
void
LoadFramesPalette(java.lang.String string, java.lang.String string2, int int1, PaletteManager.PaletteInfo paletteInfo)
void
LoadFramesPcx(java.lang.String string, java.lang.String string2, int int1)
void
LoadFramesReverseAltName(java.lang.String string, java.lang.String string2, java.lang.String string3, int int1)
void
LoadFramesUseOtherFrame(java.lang.String string, java.lang.String string2, java.lang.String string3, java.lang.String string4, int int1, java.lang.String string5)
IsoSpriteInstance
newInstance()
void
PlayAnim(java.lang.String string)
void
PlayAnim(IsoAnim anim)
void
PlayAnimNoReset(java.lang.String string)
void
PlayAnimUnlooped(java.lang.String string)
void
render(IsoObject object, float float1, float float2, float float3, IsoDirections directions, float float4, float float5, ColorInfo colorInfo)
void
render(IsoObject object, float float1, float float2, float float3, IsoDirections directions, float float4, float float5, ColorInfo colorInfo, boolean boolean1)
void
render(IsoSpriteInstance spriteInstance, IsoObject object, float float1, float float2, float float3, IsoDirections directions, float float4, float float5, ColorInfo colorInfo)
void
render(IsoSpriteInstance spriteInstance, IsoObject object, float float1, float float2, float float3, IsoDirections directions, float float4, float float5, ColorInfo colorInfo, boolean boolean1)
void
renderBloodSplat(float float1, float float2, float float3, ColorInfo colorInfo)
void
RenderGhostTile(int int1, int int2, int int3)
void
RenderGhostTileColor(int int1, int int2, int int3, float float1, float float2, float float3, float float4)
void
RenderGhostTileColor(int int1, int int2, int int3, float float1, float float2, float float3, float float4, float float5, float float6)
void
RenderGhostTileRed(int int1, int int2, int int3)
void
renderObjectPicker(IsoSpriteInstance spriteInstance, IsoObject object, float float1, float float2, float float3, IsoDirections directions, float float4, float float5, ColorInfo colorInfo)
void
renderVehicle(IsoSpriteInstance spriteInstance, IsoObject object, float float1, float float2, float float3, IsoDirections directions, float float4, float float5, ColorInfo colorInfo, boolean boolean1)
void
ReplaceCurrentAnimFrames(java.lang.String string)
void
save(java.io.DataOutputStream dataOutputStream)
void
setAnimate(boolean boolean1)
void
setAnimateWhenPaused(boolean boolean1)
void
setName(java.lang.String string)
void
setParentObjectName(java.lang.String string)
void
setProperties(PropertyContainer propertyContainer)
void
setSpriteGrid(IsoSpriteGrid spriteGrid)
static void
setSpriteID(IsoSpriteManager spriteManager, int int1, IsoSprite sprite)
void
setTintMod(ColorInfo colorInfo)
void
setType(IsoObjectType objectType)
void
update()
void
update(IsoSpriteInstance spriteInstance)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
maxCount
public static int maxCount -
firerequirement
public int firerequirement -
burntTile
public java.lang.String burntTile -
forceAmbient
public boolean forceAmbient -
solidfloor
public boolean solidfloor -
canBeRemoved
public boolean canBeRemoved -
attachedFloor
public boolean attachedFloor -
cutW
public boolean cutW -
cutN
public boolean cutN -
solid
public boolean solid -
solidTrans
public boolean solidTrans -
invisible
public boolean invisible -
alwaysDraw
public boolean alwaysDraw -
moveWithWind
public boolean moveWithWind -
isBush
public boolean isBush -
windType
public int windType -
alphaStep
public static float alphaStep -
Animate
public boolean Animate -
AnimateWhenPaused
public boolean AnimateWhenPaused -
CurrentAnim
-
DeleteWhenFinished
public boolean DeleteWhenFinished -
sprOffX
public short sprOffX -
Loop
public boolean Loop -
soffX
public short soffX -
soffY
public short soffY -
Properties
-
TintMod
-
AnimMap
public java.util.HashMap AnimMap -
AnimStack
public java.util.ArrayList AnimStack -
Angle
public float Angle -
name
public java.lang.String name -
Scissor
public boolean Scissor -
ID
public int ID -
def
-
globalOffsetX
public static int globalOffsetX -
globalOffsetY
public static int globalOffsetY -
modelSlot
-
-
Constructor Details
-
IsoSprite
public IsoSprite() -
IsoSprite
-
-
Method Details
-
newInstance
-
getProperties
-
setProperties
-
getParentObjectName
public java.lang.String getParentObjectName() -
save
public void save(java.io.DataOutputStream dataOutputStream) throws java.io.IOException- Throws:
java.io.IOException
-
load
public void load(java.io.DataInputStream dataInputStream) throws java.io.IOException- Throws:
java.io.IOException
-
CreateSprite
-
getSprite
-
setSpriteID
-
getSprite
-
getSprite
public static IsoSprite getSprite(IsoSpriteManager spriteManager, java.lang.String string, int int1) -
getSheetGridIdFromName
public int getSheetGridIdFromName() -
getSheetGridIdFromName
public static int getSheetGridIdFromName(java.lang.String string) -
DisposeAll
public static void DisposeAll() -
Dispose
public void Dispose() -
isMaskClicked
-
isMaskClicked
-
getMaskClickedY
-
LoadFrameExplicit
-
LoadFrames
public void LoadFrames(java.lang.String string, java.lang.String string2, int int1) -
LoadFramesReverseAltName
public void LoadFramesReverseAltName(java.lang.String string, java.lang.String string2, java.lang.String string3, int int1) -
DupeFrame
public void DupeFrame() -
LoadExtraFrame
public void LoadExtraFrame(java.lang.String string, java.lang.String string2, int int1) -
LoadFramesBits
public void LoadFramesBits(java.lang.String string, java.lang.String string2, java.lang.String string3, int int1) -
LoadFramesUseOtherFrame
public void LoadFramesUseOtherFrame(java.lang.String string, java.lang.String string2, java.lang.String string3, java.lang.String string4, int int1, java.lang.String string5) -
AddFramesUseOtherFrame
public void AddFramesUseOtherFrame(java.lang.String string, java.lang.String string2, java.lang.String string3, java.lang.String string4, int int1, java.lang.String string5) -
LoadFramesBits
public void LoadFramesBits(java.lang.String string, java.lang.String string2, java.lang.String string3, int int1, java.lang.String string4) -
LoadFramesBits
public void LoadFramesBits(java.lang.String string, java.lang.String string2, int int1) -
LoadFramesBitRepeatFrame
public void LoadFramesBitRepeatFrame(java.lang.String string, java.lang.String string2, java.lang.String string3, int int1, java.lang.String string4) -
LoadFramesBitRepeatFrame
public void LoadFramesBitRepeatFrame(java.lang.String string, java.lang.String string2, int int1) -
LoadFramesNoDir
public void LoadFramesNoDir(java.lang.String string, java.lang.String string2, int int1) -
LoadFramesNoDirPage
public void LoadFramesNoDirPage(java.lang.String string, java.lang.String string2, int int1) -
LoadFramesNoDirPageDirect
public void LoadFramesNoDirPageDirect(java.lang.String string, java.lang.String string2, int int1) -
LoadFramesNoDirPageSimple
public void LoadFramesNoDirPageSimple(java.lang.String string) -
ReplaceCurrentAnimFrames
public void ReplaceCurrentAnimFrames(java.lang.String string) -
LoadFramesPageSimple
public void LoadFramesPageSimple(java.lang.String string, java.lang.String string2, java.lang.String string3, java.lang.String string4) -
LoadFramesNoDirPalette
public void LoadFramesNoDirPalette(java.lang.String string, java.lang.String string2, int int1, java.lang.String string3) -
LoadFramesPalette
public void LoadFramesPalette(java.lang.String string, java.lang.String string2, int int1, PaletteManager.PaletteInfo paletteInfo) -
LoadFramesPalette
public void LoadFramesPalette(java.lang.String string, java.lang.String string2, int int1, java.lang.String string3) -
LoadFramesPcx
public void LoadFramesPcx(java.lang.String string, java.lang.String string2, int int1) -
PlayAnimNoReset
public void PlayAnimNoReset(java.lang.String string) -
PlayAnim
-
PlayAnim
public void PlayAnim(java.lang.String string) -
PlayAnimUnlooped
public void PlayAnimUnlooped(java.lang.String string) -
ChangeTintMod
-
RenderGhostTile
public void RenderGhostTile(int int1, int int2, int int3) -
RenderGhostTileRed
public void RenderGhostTileRed(int int1, int int2, int int3) -
RenderGhostTileColor
public void RenderGhostTileColor(int int1, int int2, int int3, float float1, float float2, float float3, float float4) -
RenderGhostTileColor
public void RenderGhostTileColor(int int1, int int2, int int3, float float1, float float2, float float3, float float4, float float5, float float6) -
render
public void render(IsoObject object, float float1, float float2, float float3, IsoDirections directions, float float4, float float5, ColorInfo colorInfo) -
render
public void render(IsoObject object, float float1, float float2, float float3, IsoDirections directions, float float4, float float5, ColorInfo colorInfo, boolean boolean1) -
getScreenY
public float getScreenY(float float1, float float2, float float3, float float4, float float5) -
getScreenX
public float getScreenX(float float1, float float2, float float3, float float4, float float5) -
drawAt
public void drawAt(IsoSpriteInstance spriteInstance, IsoObject object, int int1, int int2, IsoDirections directions) -
render
public void render(IsoSpriteInstance spriteInstance, IsoObject object, float float1, float float2, float float3, IsoDirections directions, float float4, float float5, ColorInfo colorInfo) -
hasActiveModel
public boolean hasActiveModel() -
renderVehicle
public void renderVehicle(IsoSpriteInstance spriteInstance, IsoObject object, float float1, float float2, float float3, IsoDirections directions, float float4, float float5, ColorInfo colorInfo, boolean boolean1) -
render
public void render(IsoSpriteInstance spriteInstance, IsoObject object, float float1, float float2, float float3, IsoDirections directions, float float4, float float5, ColorInfo colorInfo, boolean boolean1) -
renderBloodSplat
-
renderObjectPicker
public void renderObjectPicker(IsoSpriteInstance spriteInstance, IsoObject object, float float1, float float2, float float3, IsoDirections directions, float float4, float float5, ColorInfo colorInfo) -
update
public void update() -
update
-
CacheAnims
public void CacheAnims(java.lang.String string) -
HasCache
public static boolean HasCache(java.lang.String string) -
LoadCache
public void LoadCache(java.lang.String string) -
setName
public void setName(java.lang.String string) -
setParentObjectName
public void setParentObjectName(java.lang.String string) -
getType
-
setType
-
AddProperties
-
getDefaultSpriteInst
-
getName
public java.lang.String getName() -
setTintMod
-
getTintMod
-
setAnimate
public void setAnimate(boolean boolean1) -
setAnimateWhenPaused
public void setAnimateWhenPaused(boolean boolean1) -
setSpriteGrid
-
getSpriteGrid
-
isMoveWithWind
public boolean isMoveWithWind()
-