Package zombie.iso
Class LightingJNI
java.lang.Object
zombie.iso.LightingJNI
public final class LightingJNI
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LightingJNI.JNILighting
-
Field Summary
Fields Modifier and Type Field Description static int[][]
ForcedVis
static boolean
init
static boolean
newLightingMethod
static int
ROOM_SPAWN_DIST
-
Constructor Summary
Constructors Constructor Description LightingJNI()
-
Method Summary
Modifier and Type Method Description static void
addLight(int int1, int int2, int int3, int int4, int int5, float float1, float float2, float float3, int int6, boolean boolean1)
static void
addRoomLight(int int1, int int2, int int3, int int4, int int5, int int6, int int7, boolean boolean1)
static void
addTempLight(int int1, int int2, int int3, int int4, int int5, float float1, float float2, float float3, int int6)
static void
chunkBeginUpdate(int int1, int int2)
static void
chunkEndUpdate()
static boolean
chunkLightingDone(int int1, int int2)
static void
configure(float float1)
static void
destroy()
static void
DoLightingUpdateNew(long long1)
static boolean
getCanSee(int int1, int int2, int int3, int int4)
static boolean
getCouldSee(int int1, int int2, int int3, int int4)
static float
getDarkMulti(int int1, int int2, int int3, int int4)
static float
getLightInfo(int int1, int int2, int int3, int int4, int int5)
static boolean
getSeen(int int1, int int2, int int3, int int4)
static boolean
getSquareLighting(int int1, int int2, int int3, int int4, int[] intArray)
static float
getTargetDarkMulti(int int1, int int2, int int3, int int4)
static void
getTorches(java.util.ArrayList arrayList)
static int
getVertLight(int int1, int int2, int int3, int int4, int int5)
static void
init()
static void
playerBeginUpdate()
static void
playerEndUpdate()
static void
playerSet(float float1, float float2, float float3, float float4, float float5, boolean boolean1, boolean boolean2, boolean boolean3, boolean boolean4, float float6, float float7, float float8)
static void
removeLight(int int1)
static void
removeRoomLight(int int1)
static void
removeTorch(int int1)
static void
scrollDown(int int1)
static void
scrollLeft(int int1)
static void
scrollRight(int int1)
static void
scrollUp(int int1)
static void
setLightActive(int int1, boolean boolean1)
static void
setLightColor(int int1, float float1, float float2, float float3)
static void
setRoomLightActive(int int1, boolean boolean1)
static void
squareAddCurtain(int int1, boolean boolean1)
static void
squareAddDoor(boolean boolean1, boolean boolean2, boolean boolean3)
static void
squareAddThumpable(boolean boolean1, boolean boolean2, boolean boolean3, boolean boolean4)
static void
squareAddWindow(boolean boolean1, boolean boolean2, boolean boolean3)
static void
squareBeginUpdate(int int1, int int2, int int3)
static void
squareEndUpdate()
static void
squareSet(boolean boolean1, boolean boolean2, boolean boolean3, boolean boolean4, boolean boolean5, int int1, int int2, int int3)
static void
squareSetNull(int int1, int int2, int int3)
static void
stateBeginUpdate(int int1, int int2, int int3, int int4, int int5)
static void
stateEndFrame(float float1, float float2, float float3, float float4, float float5, float float6, float float7, boolean boolean1, float float8)
static void
stateEndUpdate()
static int
stateUpdateCounter(int int1)
static void
stop()
static void
teleport(int int1, int int2, int int3)
static void
update()
static void
updateChunk(IsoChunk chunk)
static void
updatePlayer(int int1)
static void
updateTorch(int int1, float float1, float float2, float float3, float float4, float float5, float float6, float float7, boolean boolean1, float float8, int int2)
static boolean
WaitingForMain()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
newLightingMethod
public static boolean newLightingMethod -
init
public static boolean init -
ForcedVis
public static int[][] ForcedVis -
ROOM_SPAWN_DIST
public static final int ROOM_SPAWN_DIST- See Also:
- Constant Field Values
-
-
Constructor Details
-
LightingJNI
public LightingJNI()
-
-
Method Details
-
init
public static void init() -
updatePlayer
public static void updatePlayer(int int1) -
updateChunk
-
update
public static void update() -
getTorches
public static void getTorches(java.util.ArrayList arrayList) -
stop
public static void stop() -
configure
public static void configure(float float1) -
scrollLeft
public static void scrollLeft(int int1) -
scrollRight
public static void scrollRight(int int1) -
scrollUp
public static void scrollUp(int int1) -
scrollDown
public static void scrollDown(int int1) -
stateBeginUpdate
public static void stateBeginUpdate(int int1, int int2, int int3, int int4, int int5) -
stateEndFrame
public static void stateEndFrame(float float1, float float2, float float3, float float4, float float5, float float6, float float7, boolean boolean1, float float8) -
stateEndUpdate
public static void stateEndUpdate() -
stateUpdateCounter
public static int stateUpdateCounter(int int1) -
teleport
public static void teleport(int int1, int int2, int int3) -
DoLightingUpdateNew
public static void DoLightingUpdateNew(long long1) -
WaitingForMain
public static boolean WaitingForMain() -
playerBeginUpdate
public static void playerBeginUpdate() -
playerSet
public static void playerSet(float float1, float float2, float float3, float float4, float float5, boolean boolean1, boolean boolean2, boolean boolean3, boolean boolean4, float float6, float float7, float float8) -
playerEndUpdate
public static void playerEndUpdate() -
chunkLightingDone
public static boolean chunkLightingDone(int int1, int int2) -
chunkBeginUpdate
public static void chunkBeginUpdate(int int1, int int2) -
chunkEndUpdate
public static void chunkEndUpdate() -
squareSetNull
public static void squareSetNull(int int1, int int2, int int3) -
squareBeginUpdate
public static void squareBeginUpdate(int int1, int int2, int int3) -
squareSet
public static void squareSet(boolean boolean1, boolean boolean2, boolean boolean3, boolean boolean4, boolean boolean5, int int1, int int2, int int3) -
squareAddCurtain
public static void squareAddCurtain(int int1, boolean boolean1) -
squareAddDoor
public static void squareAddDoor(boolean boolean1, boolean boolean2, boolean boolean3) -
squareAddThumpable
public static void squareAddThumpable(boolean boolean1, boolean boolean2, boolean boolean3, boolean boolean4) -
squareAddWindow
public static void squareAddWindow(boolean boolean1, boolean boolean2, boolean boolean3) -
squareEndUpdate
public static void squareEndUpdate() -
getVertLight
public static int getVertLight(int int1, int int2, int int3, int int4, int int5) -
getLightInfo
public static float getLightInfo(int int1, int int2, int int3, int int4, int int5) -
getDarkMulti
public static float getDarkMulti(int int1, int int2, int int3, int int4) -
getTargetDarkMulti
public static float getTargetDarkMulti(int int1, int int2, int int3, int int4) -
getSeen
public static boolean getSeen(int int1, int int2, int int3, int int4) -
getCanSee
public static boolean getCanSee(int int1, int int2, int int3, int int4) -
getCouldSee
public static boolean getCouldSee(int int1, int int2, int int3, int int4) -
getSquareLighting
public static boolean getSquareLighting(int int1, int int2, int int3, int int4, int[] intArray) -
addLight
public static void addLight(int int1, int int2, int int3, int int4, int int5, float float1, float float2, float float3, int int6, boolean boolean1) -
addTempLight
public static void addTempLight(int int1, int int2, int int3, int int4, int int5, float float1, float float2, float float3, int int6) -
removeLight
public static void removeLight(int int1) -
setLightActive
public static void setLightActive(int int1, boolean boolean1) -
setLightColor
public static void setLightColor(int int1, float float1, float float2, float float3) -
addRoomLight
public static void addRoomLight(int int1, int int2, int int3, int int4, int int5, int int6, int int7, boolean boolean1) -
removeRoomLight
public static void removeRoomLight(int int1) -
setRoomLightActive
public static void setRoomLightActive(int int1, boolean boolean1) -
updateTorch
public static void updateTorch(int int1, float float1, float float2, float float3, float float4, float float5, float float6, float float7, boolean boolean1, float float8, int int2) -
removeTorch
public static void removeTorch(int int1) -
destroy
public static void destroy()
-