Package zombie.worldMap
Class WorldMapRenderer
java.lang.Object
zombie.worldMap.WorldMapRenderer
public final class WorldMapRenderer
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WorldMapRenderer.Drawer
class
WorldMapRenderer.WorldMapBooleanOption
class
WorldMapRenderer.WorldMapDoubleOption
-
Field Summary
Fields Modifier and Type Field Description WorldMapStyle
m_style
protected static VBOLines
m_vboLines
protected static VBOLinesUV
m_vboLinesUV
-
Constructor Summary
Constructors Constructor Description WorldMapRenderer()
-
Method Summary
Modifier and Type Method Description void
centerOn(float float1, float float2)
int
getAbsoluteX()
int
getAbsoluteY()
float
getBaseZoom()
boolean
getBoolean(java.lang.String string)
float
getCenterWorldX()
float
getCenterWorldY()
float
getDisplayZoomF()
double
getDouble(java.lang.String string, double double1)
int
getHeight()
Matrix4f
getModelViewMatrix()
ConfigOption
getOptionByIndex(int int1)
ConfigOption
getOptionByName(java.lang.String string)
int
getOptionCount()
Matrix4f
getProjectionMatrix()
int
getWidth()
WorldMap
getWorldMap()
float
getWorldScale(float float1)
int
getZoom()
float
getZoomF()
double
log2(double double1)
void
moveView(int int1, int int2)
void
render(UIWorldMap uIWorldMap)
void
resetView()
Vector3f
sceneToUI(float float1, float float2, float float3, Matrix4f matrix4f, Matrix4f matrix4f2, Vector3f vector3f)
void
setBoolean(java.lang.String string, boolean boolean1)
void
setDouble(java.lang.String string, double double1)
void
setDropShadowWidth(int int1)
void
setMap(WorldMap worldMap, int int1, int int2, int int3, int int4)
void
setVisited(WorldMapVisited worldMapVisited)
void
setZoom(float float1)
Vector3f
uiToScene(float float1, float float2, Matrix4f matrix4f, Matrix4f matrix4f2, Vector3f vector3f)
float
uiToWorldX(float float1, float float2, float float3, float float4, float float5)
float
uiToWorldX(float float1, float float2, float float3, float float4, float float5, Matrix4f matrix4f, Matrix4f matrix4f2)
float
uiToWorldY(float float1, float float2, float float3, float float4, float float5)
float
uiToWorldY(float float1, float float2, float float3, float float4, float float5, Matrix4f matrix4f, Matrix4f matrix4f2)
void
updateView()
float
worldOriginUIX(float float1, float float2)
float
worldOriginUIY(float float1, float float2)
float
worldToUIX(float float1, float float2, float float3, float float4, float float5, Matrix4f matrix4f, Matrix4f matrix4f2)
float
worldToUIY(float float1, float float2, float float3, float float4, float float5, Matrix4f matrix4f, Matrix4f matrix4f2)
void
zoomAt(int int1, int int2, int int3)
float
zoomMult()
float
zoomMult(float float1)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
m_style
-
m_vboLines
-
m_vboLinesUV
-
-
Constructor Details
-
WorldMapRenderer
public WorldMapRenderer()
-
-
Method Details
-
getAbsoluteX
public int getAbsoluteX() -
getAbsoluteY
public int getAbsoluteY() -
getWidth
public int getWidth() -
getHeight
public int getHeight() -
uiToScene
-
sceneToUI
-
uiToWorldX
public float uiToWorldX(float float1, float float2, float float3, float float4, float float5) -
uiToWorldY
public float uiToWorldY(float float1, float float2, float float3, float float4, float float5) -
uiToWorldX
-
uiToWorldY
-
worldToUIX
-
worldToUIY
-
worldOriginUIX
public float worldOriginUIX(float float1, float float2) -
worldOriginUIY
public float worldOriginUIY(float float1, float float2) -
getZoom
public int getZoom() -
getZoomF
public float getZoomF() -
getDisplayZoomF
public float getDisplayZoomF() -
zoomMult
public float zoomMult() -
zoomMult
public float zoomMult(float float1) -
getWorldScale
public float getWorldScale(float float1) -
zoomAt
public void zoomAt(int int1, int int2, int int3) -
getCenterWorldX
public float getCenterWorldX() -
getCenterWorldY
public float getCenterWorldY() -
centerOn
public void centerOn(float float1, float float2) -
moveView
public void moveView(int int1, int int2) -
log2
public double log2(double double1) -
getBaseZoom
public float getBaseZoom() -
setZoom
public void setZoom(float float1) -
resetView
public void resetView() -
getProjectionMatrix
-
getModelViewMatrix
-
setMap
-
getWorldMap
-
setVisited
-
updateView
public void updateView() -
render
-
setDropShadowWidth
public void setDropShadowWidth(int int1) -
getOptionByName
-
getOptionCount
public int getOptionCount() -
getOptionByIndex
-
setBoolean
public void setBoolean(java.lang.String string, boolean boolean1) -
getBoolean
public boolean getBoolean(java.lang.String string) -
setDouble
public void setDouble(java.lang.String string, double double1) -
getDouble
public double getDouble(java.lang.String string, double double1)
-