Class WorldMapRenderer.Drawer
java.lang.Object
zombie.core.textures.TextureDraw.GenericDrawer
zombie.worldMap.WorldMapRenderer.Drawer
- Enclosing class:
WorldMapRenderer
-
Field Summary
FieldsModifier and TypeFieldDescriptionintfinal WorldMapStylefinal SymbolsLayoutDatafinal SymbolsRenderDataintfloatfloatfloatintintfloat -
Method Summary
Modifier and TypeMethodDescriptionvoiddrawImagePyramid(int int1, int int2, String string, WorldMapStyleLayer.RGBAf rGBAf) voiddrawImagePyramid(int int1, int int2, WorldMapImages worldMapImages, WorldMapStyleLayer.RGBAf rGBAf) voiddrawLineString(WorldMapStyleLayer.RenderArgs args, WorldMapFeature feature, WorldMapStyleLayer.RGBAf color, float lineWidth) voiddrawLineStringTexture(WorldMapStyleLayer.RenderArgs args, WorldMapFeature feature, WorldMapStyleLayer.RGBAf color, float lineWidth, Texture texture) voiddrawLineStringXXX(WorldMapStyleLayer.RenderArgs args, WorldMapFeature feature, WorldMapStyleLayer.RGBAf color, float lineWidth) voiddrawLineStringYYY(WorldMapStyleLayer.RenderArgs args, WorldMapFeature feature, WorldMapStyleLayer.RGBAf color, float lineWidth) voiddrawTexture(Texture texture, WorldMapStyleLayer.RGBAf fill, int worldX1, int worldY1, int worldX2, int worldY2) voiddrawTexture(Texture texture, WorldMapStyleLayer.RGBAf rGBAf, int int0, int int1, int int2, int int3, int int4, int int5) voiddrawTextureTiled(Texture texture, WorldMapStyleLayer.RGBAf rGBAf, int int2, int int3, int int4, int int5) voiddrawTextureTiled(Texture texture, WorldMapStyleLayer.RGBAf fill, int worldX1, int worldY1, int worldX2, int worldY2, int cellX, int cellY) voidfillPolygon(WorldMapStyleLayer.RenderArgs args, WorldMapFeature feature, WorldMapStyleLayer.RGBAf color) voidfillPolygon(WorldMapStyleLayer.RenderArgs renderArgs, WorldMapFeature worldMapFeature, WorldMapStyleLayer.RGBAf rGBAf, Texture texture, float float4, WorldMapStyleLayer.TextureScaling textureScaling) intintintintgetWidth()floatvoidvoidrender()voidrenderImagePyramid(WorldMapImages worldMapImages) voidrenderVisibleCells(WorldMapStyleLayer worldMapStyleLayer) floatuiToWorldX(float uiX, float uiY) floatuiToWorldY(float uiX, float uiY) floatworldOriginUIX(float centerWorldX) floatworldOriginUIY(float centerWorldY) floatworldToUIX(float float0, float float1) floatworldToUIY(float float0, float float1) Methods inherited from class zombie.core.textures.TextureDraw.GenericDrawer
render
-
Field Details
-
m_renderer
-
m_style
-
m_worldMap
-
m_x
public int m_x -
m_y
public int m_y -
m_width
public int m_width -
m_height
public int m_height -
m_zoomF
public float m_zoomF -
m_worldScale
public float m_worldScale -
m_worldOriginUIX
public float m_worldOriginUIX -
m_worldOriginUIY
public float m_worldOriginUIY -
m_symbolsRenderData
-
m_symbolsLayoutData
-
-
Method Details
-
getAbsoluteX
public int getAbsoluteX() -
getAbsoluteY
public int getAbsoluteY() -
getWidth
public int getWidth() -
getHeight
public int getHeight() -
getWorldScale
public float getWorldScale() -
uiToWorldX
public float uiToWorldX(float uiX, float uiY) -
uiToWorldY
public float uiToWorldY(float uiX, float uiY) -
worldToUIX
public float worldToUIX(float float0, float float1) -
worldToUIY
public float worldToUIY(float float0, float float1) -
worldOriginUIX
public float worldOriginUIX(float centerWorldX) -
worldOriginUIY
public float worldOriginUIY(float centerWorldY) -
renderVisibleCells
-
drawLineStringXXX
public void drawLineStringXXX(WorldMapStyleLayer.RenderArgs args, WorldMapFeature feature, WorldMapStyleLayer.RGBAf color, float lineWidth) -
drawLineStringYYY
public void drawLineStringYYY(WorldMapStyleLayer.RenderArgs args, WorldMapFeature feature, WorldMapStyleLayer.RGBAf color, float lineWidth) -
drawLineString
public void drawLineString(WorldMapStyleLayer.RenderArgs args, WorldMapFeature feature, WorldMapStyleLayer.RGBAf color, float lineWidth) -
drawLineStringTexture
public void drawLineStringTexture(WorldMapStyleLayer.RenderArgs args, WorldMapFeature feature, WorldMapStyleLayer.RGBAf color, float lineWidth, Texture texture) -
fillPolygon
public void fillPolygon(WorldMapStyleLayer.RenderArgs args, WorldMapFeature feature, WorldMapStyleLayer.RGBAf color) -
fillPolygon
public void fillPolygon(WorldMapStyleLayer.RenderArgs renderArgs, WorldMapFeature worldMapFeature, WorldMapStyleLayer.RGBAf rGBAf, Texture texture, float float4, WorldMapStyleLayer.TextureScaling textureScaling) -
drawTexture
public void drawTexture(Texture texture, WorldMapStyleLayer.RGBAf fill, int worldX1, int worldY1, int worldX2, int worldY2) -
drawTexture
public void drawTexture(Texture texture, WorldMapStyleLayer.RGBAf rGBAf, int int0, int int1, int int2, int int3, int int4, int int5) -
drawTextureTiled
public void drawTextureTiled(Texture texture, WorldMapStyleLayer.RGBAf fill, int worldX1, int worldY1, int worldX2, int worldY2, int cellX, int cellY) -
drawTextureTiled
public void drawTextureTiled(Texture texture, WorldMapStyleLayer.RGBAf rGBAf, int int2, int int3, int int4, int int5) -
render
public void render()- Specified by:
renderin classTextureDraw.GenericDrawer
-
renderImagePyramid
-
drawImagePyramid
-
drawImagePyramid
public void drawImagePyramid(int int1, int int2, WorldMapImages worldMapImages, WorldMapStyleLayer.RGBAf rGBAf) -
postRender
public void postRender()- Overrides:
postRenderin classTextureDraw.GenericDrawer
-