Package zombie.vehicles
Class BaseVehicle
java.lang.Object
zombie.iso.IsoObject
zombie.iso.IsoMovingObject
zombie.vehicles.BaseVehicle
- All Implemented Interfaces:
IFMODParameterUpdater
,java.io.Serializable
,Mover
,Thumpable
public final class BaseVehicle extends IsoMovingObject implements Thumpable, IFMODParameterUpdater
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BaseVehicle.engineStateTypes
static class
BaseVehicle.HitVars
static class
BaseVehicle.Matrix4fObjectPool
static class
BaseVehicle.MinMaxPosition
static class
BaseVehicle.ModelInfo
static class
BaseVehicle.Passenger
static class
BaseVehicle.QuaternionfObjectPool
static class
BaseVehicle.ServerVehicleState
protected static class
BaseVehicle.UpdateFlags
static class
BaseVehicle.Vector2fObjectPool
static class
BaseVehicle.Vector2ObjectPool
static class
BaseVehicle.Vector3fObjectPool
static class
BaseVehicle.WheelInfo
Nested classes/interfaces inherited from class zombie.iso.IsoMovingObject
IsoMovingObject.TreeSoundManager
Nested classes/interfaces inherited from class zombie.iso.IsoObject
IsoObject.IsoObjectFactory, IsoObject.OutlineShader, IsoObject.VisionResult
-
Field Summary
Fields inherited from class zombie.iso.IsoMovingObject
bOutline, Collidable, current, def, hitDir, ID, last, lx, ly, lz, MAX_ZOMBIES_EATING, movementLastFrame, movingSq, noDamage, nx, ny, outlineColor, ScriptModule, scriptnx, scriptny, shootable, solid, treeSoundMgr, weight, width, x, y, z
Fields inherited from class zombie.iso.IsoObject
AttachedAnimSprite, bAlphaForced, bmod, bMovedThumpable, bNeverDoneAlpha, container, Damage, dir, doNotSync, externalWaterSource, gmod, highlightFlags, isOutlineHighlight, isOutlineHlAttached, isOutlineHlBlink, keyId, lastRendered, lastRenderedRendered, LowLightingQualityHack, MAX_WALL_SPLATS, name, NoPicking, OBF_Blink, OBF_Highlighted, OBF_HighlightRenderOnce, objectRenderEffects, offsetX, offsetY, outlineHighlightCol, OutlineOnMouseover, overlaySprite, overlaySpriteColor, partialThumpDmg, rerouteCollide, rerouteMask, rmod, sheetRope, sheetRopeHealth, sprite, spriteName, square, sx, sy, table, tintb, tintg, tintr, usesExternalWaterSource, wallBloodSplats, windRenderEffects
-
Constructor Summary
Constructors Constructor Description BaseVehicle(IsoCell cell)
-
Method Summary
Modifier and Type Method Description void
addDamageFrontHitAChr(int int1)
void
addDamageRearHitAChr(int int1)
void
addHingeConstraint(BaseVehicle baseVehicle, java.lang.String string, java.lang.String string2)
void
addImpulse(Vector3f vector3f, Vector3f vector3f2)
void
addKeyToGloveBox()
boolean
addKeyToSquare(IsoGridSquare square)
void
addKeyToWorld()
void
addPointConstraint(BaseVehicle baseVehicle, java.lang.String string, java.lang.String string2)
void
addPointConstraint(BaseVehicle baseVehicle, java.lang.String string, java.lang.String string2, java.lang.Float Float1, java.lang.Boolean Boolean1)
void
addRandomDamageFromCrash(IsoGameCharacter gameCharacter, float float1)
void
addToWorld()
static Vector2
allocVector2()
void
ApplyImpulse(IsoObject object, float float1)
void
ApplyImpulse4Break(IsoObject object, float float1)
boolean
areAllDoorsLocked()
Vector2
areaPositionWorld(VehicleScript.Area area)
Vector2
areaPositionWorld(VehicleScript.Area area, Vector2 vector2)
Vector2
areaPositionWorld4PlayerInteract(VehicleScript.Area area)
Vector2
areaPositionWorld4PlayerInteract(VehicleScript.Area area, Vector2 vector2)
boolean
attachmentExist(java.lang.String string)
void
authorizationClientForecast(boolean boolean1)
void
authorizationServerCollide(short short1, boolean boolean1)
boolean
authorizationServerOnOwnerData(UdpConnection udpConnection)
void
authorizationServerOnSeat()
void
authorizationServerUpdate()
boolean
blocked(int int1, int int2, int int3)
void
breakConstraint(boolean boolean1, boolean boolean2)
void
brekingObjects()
int
calculateDamageWithCharacter(IsoGameCharacter gameCharacter)
boolean
canAccessContainer(int int1, IsoGameCharacter gameCharacter)
boolean
canAttachTrailer(BaseVehicle baseVehicle, java.lang.String string, java.lang.String string2)
boolean
canInstallPart(IsoGameCharacter gameCharacter, VehiclePart vehiclePart)
boolean
canLockDoor(VehiclePart vehiclePart, IsoGameCharacter gameCharacter)
boolean
canSwitchSeat(int int1, int int2)
boolean
canUninstallPart(IsoGameCharacter gameCharacter, VehiclePart vehiclePart)
boolean
canUnlockDoor(VehiclePart vehiclePart, IsoGameCharacter gameCharacter)
void
changeTransmission(TransmissionNumber transmissionNumber)
void
cheatHotwire(boolean boolean1, boolean boolean2)
BaseVehicle.HitVars
checkCollision(IsoGameCharacter gameCharacter)
void
checkPhysicsValidWithServer()
Vector3f
chooseBestAttackPosition(IsoGameCharacter gameCharacter, IsoGameCharacter gameCharacter2, Vector3f vector3f)
boolean
circleIntersects(float float1, float float2, float float3, float float4)
boolean
clearPassenger(int int1)
void
constraintChanged()
boolean
couldCrawlerAttackPassenger(IsoGameCharacter gameCharacter)
void
crash(float float1, boolean boolean1)
void
createPhysics()
InventoryItem
createVehicleKey()
void
Damage(float float1)
void
damageObjects(float float1)
void
damagePlayers(float float1)
void
debugSetStatic(boolean boolean1)
void
doBloodOverlay()
void
doChrHitImpulse(IsoObject object)
void
doDamageOverlay()
void
drainBatteryUpdateHack()
void
drawDirectionLine(Vector2 vector2, float float1, float float2, float float3, float float4)
void
engineDoIdle()
void
engineDoRetryingStarting()
void
engineDoRunning()
void
engineDoShuttingDown()
void
engineDoStalling()
void
engineDoStarting()
void
engineDoStartingFailed()
void
engineDoStartingFailedNoPower()
void
engineDoStartingSuccess()
boolean
enter(int int1, IsoGameCharacter gameCharacter)
boolean
enter(int int1, IsoGameCharacter gameCharacter, Vector3f vector3f)
boolean
enterRSync(int int1, IsoGameCharacter gameCharacter, BaseVehicle baseVehicle)
boolean
exit(IsoGameCharacter gameCharacter)
boolean
exitRSync(IsoGameCharacter gameCharacter)
void
fixLightbarModelLighting(IsoLightSource lightSource, Vector3f vector3f)
void
flipUpright()
float
getAngleX()
float
getAngleY()
float
getAngleZ()
AnimationPlayer
getAnimationPlayer()
Vector2
getAreaCenter(java.lang.String string)
Vector2
getAreaCenter(java.lang.String string, Vector2 vector2)
float
getAreaDist(java.lang.String string, IsoGameCharacter gameCharacter)
Vector3f
getAttachmentLocalPos(java.lang.String string, Vector3f vector3f)
Vector3f
getAttachmentWorldPos(java.lang.String string, Vector3f vector3f)
float
getBaseQuality()
VehiclePart
getBattery()
float
getBatteryCharge()
int
getBestSeat(IsoGameCharacter gameCharacter)
float
getBloodIntensity(java.lang.String string)
float
getBrakeSpeedBetweenUpdate()
float
getBrakingForce()
IsoGameCharacter
getCharacter(int int1)
java.util.HashMap
getChoosenParts()
float
getClientForce()
VehiclePart
getClosestWindow(IsoGameCharacter gameCharacter)
float
getColorHue()
float
getColorSaturation()
float
getColorValue()
CarController
getController()
InventoryItem
getCurrentKey()
float
getCurrentSpeedKmHour()
float
getCurrentSteering()
float
getDebugZ()
IsoGameCharacter
getDriver()
BaseSoundEmitter
getEmitter()
int
getEngineLoudness()
int
getEnginePower()
int
getEngineQuality()
double
getEngineSpeed()
void
getFacingPosition(IsoGameCharacter gameCharacter, Vector2 vector2)
static float
getFakeSpeedModifier()
FMODParameterList
getFMODParameters()
Vector3f
getForwardVector(Vector3f vector3f)
float
getFudgedMass()
boolean
getHeadlightCanEmmitLight()
boolean
getHeadlightsOn()
VehiclePart
getHeater()
short
getId()
float
getInitialMass()
float
getInsideTemperature()
int
getJoypad()
int
getKeyId()
boolean
getKeySpawned()
int
getLightbarLightsMode()
int
getLightbarSirenMode()
VehiclePart
getLightByIndex(int int1)
int
getLightCount()
Vector3f
getLinearVelocity(Vector3f vector3f)
Vector3f
getLocalPos(float float1, float float2, float float3, Vector3f vector3f)
Vector3f
getLocalPos(Vector3f vector3f, Vector3f vector3f2)
float
getMass()
int
getMaxPassengers()
float
getMaxSpeed()
int
getMechanicalID()
BaseVehicle.MinMaxPosition
getMinMaxPosition()
protected BaseVehicle.ModelInfo
getModelInfoForPart(VehiclePart vehiclePart)
VehiclePart
getNearestBodyworkPart(IsoGameCharacter gameCharacter)
int
getNumberOfPartsWithContainers()
java.lang.String
getObjectName()
protected float
getObjectX(IsoObject object)
protected float
getObjectY(IsoObject object)
float
getOffroadEfficiency()
VehiclePart
getPartById(java.lang.String string)
VehiclePart
getPartByIndex(int int1)
int
getPartCount()
VehiclePart
getPartForSeatContainer(int int1)
BaseVehicle.Passenger
getPassenger(int int1)
VehicleScript.Anim
getPassengerAnim(int int1, java.lang.String string)
java.lang.String
getPassengerArea(int int1)
VehiclePart
getPassengerDoor(int int1)
VehiclePart
getPassengerDoor2(int int1)
Vector3f
getPassengerLocalPos(int int1, Vector3f vector3f)
VehicleScript.Position
getPassengerPosition(int int1, java.lang.String string)
Vector3f
getPassengerPositionWorldPos(float float1, float float2, float float3, Vector3f vector3f)
Vector3f
getPassengerPositionWorldPos(VehicleScript.Position position, Vector3f vector3f)
VehicleScript.Passenger.SwitchSeat
getPassengerSwitchSeat(int int1, int int2)
int
getPassengerSwitchSeatCount(int int1)
Vector3f
getPassengerWorldPos(int int1, Vector3f vector3f)
Vector3f
getPlayerTrailerLocalPos(java.lang.String string, boolean boolean1, Vector3f vector3f)
Vector3f
getPlayerTrailerWorldPos(java.lang.String string, boolean boolean1, Vector3f vector3f)
PolygonalMap2.VehiclePoly
getPoly()
PolygonalMap2.VehiclePoly
getPolyPlusRadius()
float
getRegulatorSpeed()
float
getRemainingFuelPercentage()
float
getRust()
VehicleScript
getScript()
java.lang.String
getScriptName()
protected VehicleScript.Passenger
getScriptPassenger(int int1)
int
getSeat(IsoGameCharacter gameCharacter)
Texture
getShadowTexture()
double
getSirenStartTime()
java.lang.String
getSkin()
int
getSkinCount()
int
getSkinIndex()
float
getSpeed2D()
int
getSqlId()
IsoGridSquare
getSquare()
boolean
getStoplightsOn()
SurroundVehicle
getSurroundVehicle()
java.lang.String
getSwitchSeatAnimName(int int1, int int2)
float
getSwitchSeatAnimRate(int int1, int int2)
java.lang.String
getSwitchSeatSound(int int1, int int2)
Thumpable
getThumpableFor(IsoGameCharacter gameCharacter)
float
getThumpCondition()
java.lang.String
getTowAttachmentOther()
java.lang.String
getTowAttachmentSelf()
Vector3f
getTowedByLocalPos(java.lang.String string, Vector3f vector3f)
Vector3f
getTowedByWorldPos(java.lang.String string, Vector3f vector3f)
Vector3f
getTowingLocalPos(java.lang.String string, Vector3f vector3f)
Vector3f
getTowingWorldPos(java.lang.String string, Vector3f vector3f)
int
getTransmissionNumber()
java.lang.String
getTransmissionNumberLetter()
Vector3f
getUpVector(Vector3f vector3f)
float
getUpVectorDot()
VehiclePart
getUseablePart(IsoGameCharacter gameCharacter)
VehiclePart
getUseablePart(IsoGameCharacter gameCharacter, boolean boolean1)
VehicleEngineRPM
getVehicleEngineRPM()
BaseVehicle
getVehicleTowedBy()
BaseVehicle
getVehicleTowing()
java.lang.String
getVehicleType()
void
getWheelForwardVector(int int1, Vector3f vector3f)
boolean
getWindowLightsOn()
Vector3f
getWorldPos(float float1, float float2, float float3, Vector3f vector3f)
Vector3f
getWorldPos(float float1, float float2, float float3, Vector3f vector3f, VehicleScript vehicleScript)
Vector3f
getWorldPos(Vector3f vector3f, Vector3f vector3f2)
Vector3f
getWorldPos(Vector3f vector3f, Vector3f vector3f2, VehicleScript vehicleScript)
Transform
getWorldTransform(Transform transform)
java.lang.String
getZone()
boolean
hasBackSignal()
boolean
hasHeadlights()
boolean
hasHorn()
boolean
hasLightbar()
boolean
hasRoof(int int1)
boolean
haveOneDoorUnlocked()
void
HitByVehicle(BaseVehicle baseVehicle, float float1)
void
hitCharacter(IsoGameCharacter gameCharacter, BaseVehicle.HitVars hitVars)
void
hitCharacter(IsoZombie zombie)
void
hitVehicle(IsoGameCharacter gameCharacter, HandWeapon handWeapon)
boolean
isAlarmed()
boolean
isAnyDoorLocked()
boolean
isAnyListenerInside()
boolean
isAtRest()
boolean
isBackSignalEmitting()
boolean
isBraking()
boolean
isCharacterAdjacentTo(IsoGameCharacter gameCharacter)
boolean
isCollided(IsoGameCharacter gameCharacter)
boolean
isDoColor()
boolean
isDoingOffroad()
boolean
isDriveable()
boolean
isDriver(IsoGameCharacter gameCharacter)
boolean
isEngineRunning()
boolean
isEngineStarted()
boolean
isEngineWorking()
boolean
isEnterBlocked(IsoGameCharacter gameCharacter, int int1)
boolean
isEnterBlocked2(IsoGameCharacter gameCharacter, int int1)
boolean
isExitBlocked(int int1)
boolean
isExitBlocked2(int int1)
boolean
isGoodCar()
boolean
isHotwired()
boolean
isHotwiredBroken()
boolean
isInArea(java.lang.String string, IsoGameCharacter gameCharacter)
boolean
isInBounds(float float1, float float2)
boolean
isInForest()
boolean
isIntersectingSquare(int int1, int int2, int int3)
boolean
isIntersectingSquareWithShadow(int int1, int int2, int int3)
boolean
isInvalidChunkAhead()
boolean
isInvalidChunkAround()
boolean
isInvalidChunkAround(boolean boolean1, boolean boolean2, boolean boolean3, boolean boolean4)
boolean
isInvalidChunkBehind()
boolean
isKeyboardControlled()
boolean
isKeyIsOnDoor()
boolean
isKeysInIgnition()
boolean
isLocalPhysicSim()
boolean
isMechanicUIOpen()
boolean
isOperational()
boolean
isPassengerUseDoor2(IsoGameCharacter gameCharacter, int int1)
boolean
isPositionOnLeftOrRight(float float1, float float2)
boolean
isRegulator()
boolean
isRemovedFromWorld()
boolean
isSeatInstalled(int int1)
boolean
isSeatOccupied(int int1)
boolean
isStarting()
boolean
isTrunkLocked()
void
load(java.nio.ByteBuffer byteBuffer, int int1, boolean boolean1)
static void
LoadAllVehicleTextures()
void
loadChange(java.lang.String string, java.nio.ByteBuffer byteBuffer)
static Texture
LoadVehicleTexture(java.lang.String string)
static Texture
LoadVehicleTexture(java.lang.String string, int int1)
static void
LoadVehicleTextures(VehicleScript vehicleScript)
void
lockServerUpdate(long long1)
boolean
needPartsUpdate()
void
netPlayerFromServerUpdate(byte byte1, short short1)
void
netPlayerServerSendAuthorisation(java.nio.ByteBuffer byteBuffer)
void
onBackMoveSignalStart()
void
onBackMoveSignalStop()
void
onHornStart()
void
onHornStop()
void
permanentlyRemove()
void
playActorAnim(VehiclePart vehiclePart, java.lang.String string, IsoGameCharacter gameCharacter)
void
playPartAnim(VehiclePart vehiclePart, java.lang.String string)
void
playPartSound(VehiclePart vehiclePart, java.lang.String string)
void
playPassengerAnim(int int1, java.lang.String string)
void
playPassengerAnim(int int1, java.lang.String string, IsoGameCharacter gameCharacter)
void
playPassengerSound(int int1, java.lang.String string)
void
playSound(java.lang.String string)
long
playSoundImpl(java.lang.String string, IsoObject object)
void
playSwitchSeatAnim(int int1, int int2)
void
positionTrailer(BaseVehicle baseVehicle)
void
postupdate()
void
putKeyInIgnition(InventoryItem inventoryItem)
void
putKeyOnDoor(InventoryItem inventoryItem)
void
putKeyToContainer(ItemContainer itemContainer, IsoGridSquare square, IsoObject object)
void
putKeyToWorld(IsoGridSquare square)
void
putKeyToZombie(IsoZombie zombie)
void
releaseAnimationPlayers()
static void
releaseVector2(Vector2 vector2)
void
removeFromWorld()
void
removeKeyFromDoor()
void
removeKeyFromIgnition()
void
render(float float1, float float2, float float3, ColorInfo colorInfo, boolean boolean1, boolean boolean2, Shader shader)
void
renderlast()
void
renderShadow()
void
repair()
void
resumeRunningAfterLoad()
void
save(java.nio.ByteBuffer byteBuffer, boolean boolean1)
void
saveChange(java.lang.String string, KahluaTable kahluaTable, java.nio.ByteBuffer byteBuffer)
void
scriptReloaded()
boolean
Serialize()
void
serverUpdateSimulatorState()
void
setActiveInBullet(boolean boolean1)
void
setAddThumpWorldSound(boolean boolean1)
void
setAlarmed(boolean boolean1)
void
setAngles(float float1, float float2, float float3)
void
setBaseQuality(float float1)
void
setBloodIntensity(java.lang.String string, float float1)
void
setBraking(boolean boolean1)
void
setBrakingForce(float float1)
void
setCharacterPosition(IsoGameCharacter gameCharacter, int int1, java.lang.String string)
void
setCharacterPositionToAnim(IsoGameCharacter gameCharacter, int int1, java.lang.String string)
void
setClientForce(float float1)
void
setColor(float float1, float float2, float float3)
void
setColorHSV(float float1, float float2, float float3)
void
setCurrentKey(InventoryItem inventoryItem)
void
setCurrentSteering(float float1)
void
setDebugZ(float float1)
void
setDoColor(boolean boolean1)
void
setEngineFeature(int int1, int int2, int int3)
void
setGeneralPartCondition(float float1, float float2)
void
setGoodCar(boolean boolean1)
void
setHeadlightsOn(boolean boolean1)
void
setHotwired(boolean boolean1)
void
setHotwiredBroken(boolean boolean1)
void
setInitialMass(float float1)
void
setKeyIsOnDoor(boolean boolean1)
void
setKeysInIgnition(boolean boolean1)
void
setLightbarLightsMode(int int1)
void
setLightbarSirenMode(int int1)
void
setMass(float float1)
void
setMaxSpeed(float float1)
void
setMechanicalID(int int1)
void
setMechanicUIOpen(boolean boolean1)
protected BaseVehicle.ModelInfo
setModelVisible(VehiclePart vehiclePart, VehicleScript.Model model, boolean boolean1)
void
setNeedPartsUpdate(boolean boolean1)
void
setNetPlayerAuthorization(byte byte1)
boolean
setPassenger(int int1, IsoGameCharacter gameCharacter, Vector3f vector3f)
void
setPhysicsActive(boolean boolean1)
void
setRegulator(boolean boolean1)
void
setRegulatorSpeed(float float1)
void
setRust(float float1)
void
setScript()
void
setScript(java.lang.String string)
void
setScriptName(java.lang.String string)
void
setSirenStartTime(double double1)
void
setSkinIndex(int int1)
BaseVehicle
setSmashed(java.lang.String string)
BaseVehicle
setSmashed(java.lang.String string, boolean boolean1)
void
setStoplightsOn(boolean boolean1)
void
setTireInflation(int int1, float float1)
void
setTireRemoved(int int1, boolean boolean1)
void
setTrunkLocked(boolean boolean1)
void
setVehicleTowedBy(BaseVehicle baseVehicle, java.lang.String string, java.lang.String string2, float float1)
void
setVehicleTowing(BaseVehicle baseVehicle, java.lang.String string, java.lang.String string2, float float1)
void
setVehicleType(java.lang.String string)
void
setWindowLightsOn(boolean boolean1)
void
setWorldTransform(Transform transform)
void
setZone(java.lang.String string)
boolean
shouldCollideWithCharacters()
boolean
shouldCollideWithObjects()
boolean
showPassenger(int int1)
boolean
showPassenger(IsoGameCharacter gameCharacter)
void
shutOff()
boolean
sirenShutoffTimeExpired()
void
softReset()
void
startEvent(long long1, GameSoundClip gameSoundClip, java.util.BitSet bitSet)
void
stopEvent(long long1, GameSoundClip gameSoundClip, java.util.BitSet bitSet)
int
stopSound(long long1)
void
switchSeat(IsoGameCharacter gameCharacter, int int1)
void
switchSeatRSync(IsoGameCharacter gameCharacter, int int1)
void
syncKeyInIgnition(boolean boolean1, boolean boolean2, InventoryItem inventoryItem)
Vector2
testCollisionWithCharacter(IsoGameCharacter gameCharacter, float float1, Vector2 vector2)
int
testCollisionWithCorpse(IsoDeadBody deadBody, boolean boolean1)
Vector2
testCollisionWithObject(IsoObject object, float float1, Vector2 vector2)
int
testCollisionWithProneCharacter(IsoGameCharacter gameCharacter, boolean boolean1)
int
testCollisionWithProneCharacter(IsoMovingObject movingObject, float float1, float float2, boolean boolean1)
boolean
testCollisionWithVehicle(BaseVehicle baseVehicle)
void
Thump(IsoMovingObject movingObject)
void
toggleLockedDoor(VehiclePart vehiclePart, IsoGameCharacter gameCharacter, boolean boolean1)
void
transmitBlood()
void
transmitCharacterPosition(int int1, java.lang.String string)
void
transmitEngine()
void
transmitPartCondition(VehiclePart vehiclePart)
void
transmitPartDoor(VehiclePart vehiclePart)
void
transmitPartItem(VehiclePart vehiclePart)
void
transmitPartModData(VehiclePart vehiclePart)
void
transmitPartUsedDelta(VehiclePart vehiclePart)
void
transmitPartWindow(VehiclePart vehiclePart)
void
transmitRust()
void
triggerAlarm()
void
tryHotwire(int int1)
void
trySpawnKey()
void
tryStartEngine()
void
tryStartEngine(boolean boolean1)
void
update()
protected void
updateAnimationPlayer(AnimationPlayer animationPlayer, VehiclePart vehiclePart)
void
updateBulletStats()
void
updateConstraint(BaseVehicle baseVehicle)
void
updateControls()
void
updateEvent(long long1, GameSoundClip gameSoundClip)
void
updateHasExtendOffset(IsoGameCharacter gameCharacter)
void
updateHasExtendOffsetForExit(IsoGameCharacter gameCharacter)
void
updateHasExtendOffsetForExitEnd(IsoGameCharacter gameCharacter)
boolean
updateHitByVehicle(IsoGameCharacter gameCharacter)
void
updateLights()
void
updateParts()
void
updatePartStats()
void
updatePhysics()
void
updatePhysicsNetwork()
void
updateSounds()
void
updateTotalMass()
protected void
updateTransform()
void
WeaponHit(IsoGameCharacter gameCharacter, HandWeapon handWeapon)
int
windowsOpen()
Methods inherited from class zombie.iso.IsoMovingObject
canHaveMultipleHits, collideWith, compareToY, Despawn, DistTo, DistTo, distToNearestCamCharacter, DistToProper, DistToSquared, DistToSquared, DoCollideNorS, DoCollideWorE, doStairs, ensureOnTile, getBuilding, getBumpedType, getCollidedObject, getCollideType, getCurrentBuilding, getCurrentSquare, getCurrentZone, getDistanceSq, getEatingZombies, getFacingPosition, getFeelersize, getFeelerTile, getFuturWalkedSquare, getGlobalMovementMod, getGlobalMovementMod, getHitDir, getHitForce, getHitFromAngle, getID, getIDCount, getImpulsex, getImpulsey, getLastCollideTime, getLastSquare, getLastTargettedBy, getLimpulsex, getLimpulsey, getLx, getLy, getLz, getMasterRegion, getMovementLastFrame, getNoDamage, getNx, getNy, getPathFindIndex, getPosition, getScreenX, getScreenY, getScriptModule, getScriptnx, getScriptny, getStateEventDelayTimer, getThumpTarget, getTimeSinceZombieAttack, getVectorFromDirection, getVectorFromDirection, getWeight, getWeight, getWidth, getX, getY, getZ, Hit, isbAltCollide, isCharacter, isCloseKilled, isCollidable, isCollided, isCollidedE, isCollidedN, isCollidedS, isCollidedThisFrame, isCollidedW, isCollidedWithDoor, isCollidedWithVehicle, isDestroyed, isEatingOther, isFirstUpdate, isOnFloor, isPushableForSeparate, isPushedByForSeparate, isShootable, isSolid, isSolidForSeparate, isZombiesDontAttack, Move, MoveUnmodded, onMouseRightClick, onMouseRightReleased, preupdate, removeFromSquare, separate, setbAltCollide, setCloseKilled, setCollidable, setCollidedE, setCollidedN, setCollidedObject, setCollidedS, setCollidedThisFrame, setCollidedW, setCollidedWithDoor, setCollideType, setCurrent, setDestroyed, setEatingZombies, setFeelersize, setFirstUpdate, setHitDir, setHitForce, setHitFromAngle, setID, setIDCount, setImpulsex, setImpulsey, setLast, setLastCollideTime, setLastTargettedBy, setLimpulsex, setLimpulsey, setLx, setLy, setLz, setMovementLastFrame, setMovingSquareNow, setNoDamage, setNx, setNy, setOnFloor, setPathFindIndex, setScriptModule, setScriptnx, setScriptny, setShootable, setSolid, setStateEventDelayTimer, setThumpTarget, setTimeSinceZombieAttack, setWeight, setWidth, setX, setY, setZ, setZombiesDontAttack, spotted
Methods inherited from class zombie.iso.IsoObject
addChild, addItemsFromProperties, addSecondaryContainer, addSheetRope, AttachAnim, AttachExistingAnim, AttachExistingAnim, AttackObject, canAddSheetRope, checkHaveElectricity, checkMoveWithWind, checkMoveWithWind, cleanWallBlood, clearAttachedAnimSprite, Collision, countAddSheetRope, createContainersFromSpriteProperties, customHashCode, debugPrintout, destroyFence, DirtySlice, doFindExternalWaterSource, DoSpecialTooltip, DoTooltip, factoryClassFromFileInput, factoryFromFileInput, factoryFromFileInput, factoryFromFileInput_OLD, factoryGetClassID, FindExternalWaterSource, FindExternalWaterSource, FindWaterSourceOnSquare, getAlpha, getAlpha, getAlphaUpdateRateDiv, getAlphaUpdateRateMul, getAttachedAnimSprite, getCell, getChildSprites, getContainer, getContainerByEitherType, getContainerByIndex, getContainerByType, getContainerCount, getContainerIndex, getCustomColor, getDamage, getDir, getFacingPositionAlt, getFactoryVehicle, getHighlightColor, getIsSurfaceNormalOffset, getItemContainer, getLastRendered, getLastRenderedRendered, getMaskClickedY, getModData, getMovingObjectIndex, getName, getNew, getNew, getObjectIndex, getObjectRenderEffects, getObjectRenderEffectsToApply, getOffsetX, getOffsetY, getOutlineHighlightCol, getOutlineHighlightCol, getOutlineThickness, getOverlaySprite, getOverlaySpriteColor, getPipedFuelAmount, getProperties, getRenderEffectMaster, getRenderYOffset, getRerouteCollide, getRerouteMask, getRerouteMaskObject, getSpecialObjectIndex, getSprite, getSpriteGridObjects, getSpriteName, getStaticMovingObjectIndex, getSurfaceNormalOffset, getSurfaceOffset, getSurfaceOffsetNoTable, getTable, getTargetAlpha, getTargetAlpha, getTextureName, getTile, getType, getUsesExternalWaterSource, GetVehicleSlowFactor, getWaterAmount, getWaterMax, getWindRenderEffects, getWorldObjectIndex, hasExternalWaterSource, hasModData, HasTooltip, hasWater, haveSheetRope, haveSpecialTooltip, Hit, isAlphaAndTargetZero, isAlphaAndTargetZero, isAlphaZero, isAlphaZero, isBlink, isExistInTheWorld, isHighlighted, isHoppable, isItemAllowedInContainer, isMaskClicked, isMaskClicked, isMovedThumpable, isNoPicking, isNorthHoppable, isOutlineHighlight, isOutlineHighlight, isOutlineHlAttached, isOutlineHlAttached, isOutlineHlBlink, isOutlineHlBlink, isOutlineOnMouseover, isRemoveItemAllowedFromContainer, isSpriteInvisible, isStairsNorth, isStairsObject, isStairsWest, isTableSurface, isTableTopObject, isTaintedWater, isTargetAlphaZero, isUpdateAlphaDuringRender, isUpdateAlphaEnabled, isZombie, load, loadFromRemoteBuffer, loadFromRemoteBuffer, loadState, onMouseLeftClick, removeAllContainers, RemoveAttachedAnim, RemoveAttachedAnims, removeRenderEffect, removeSheetRope, renderAttachedAndOverlaySprites, renderFloorTile, renderFxMask, renderObjectPicker, renderWallTile, renderWallTileOnly, replaceItem, reset, reuseGridSquare, save, saveState, sendObjectChange, sendObjectChange, sendObjectChange, setAlpha, setAlpha, setAlphaAndTarget, setAlphaAndTarget, setAlphaToTarget, setAttachedAnimSprite, setBlink, setChildSprites, setContainer, setCustomColor, setCustomColor, setDamage, setDefaultCondition, setDir, setDir, setHighlightColor, setHighlightColor, setHighlighted, setHighlighted, setKeyId, setLastRendered, setLastRenderedRendered, setMovedThumpable, setName, SetName, setNoPicking, setOffsetX, setOffsetY, setOutlineHighlight, setOutlineHighlight, setOutlineHighlightCol, setOutlineHighlightCol, setOutlineHighlightCol, setOutlineHighlightCol, setOutlineHlAttached, setOutlineHlAttached, setOutlineHlBlink, setOutlineHlBlink, setOutlineOnMouseover, setOutlineThickness, setOverlaySprite, setOverlaySprite, setOverlaySprite, setOverlaySprite, setOverlaySpriteColor, setPipedFuelAmount, setRenderEffect, setRenderEffect, setRenderYOffset, setRerouteCollide, setRerouteMask, setSpecialTooltip, setSprite, setSprite, setSpriteFromName, setSquare, setTable, setTaintedWater, setTargetAlpha, setTargetAlpha, setType, setUsesExternalWaterSource, setWaterAmount, syncIsoObject, syncIsoObjectSend, TestCollide, TestPathfindCollide, TestVision, transmitCompleteItemToClients, transmitCompleteItemToServer, transmitCustomColor, transmitModData, transmitUpdatedSprite, transmitUpdatedSpriteToClients, transmitUpdatedSpriteToClients, transmitUpdatedSpriteToServer, UnCollision, unsetOutlineHighlight, updateAlpha, updateAlpha, updateAlpha, useItemOn, useWater, writeToRemoteBuffer
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface zombie.iso.objects.interfaces.Thumpable
isDestroyed
-
Field Details
-
RADIUS
public static final float RADIUS- See Also:
- Constant Field Values
-
FADE_DISTANCE
public static final int FADE_DISTANCE- See Also:
- Constant Field Values
-
RANDOMIZE_CONTAINER_CHANCE
public static final int RANDOMIZE_CONTAINER_CHANCE- See Also:
- Constant Field Values
-
authorizationOnServer
public static final byte authorizationOnServer- See Also:
- Constant Field Values
-
authorizationSimulation
public static final byte authorizationSimulation- See Also:
- Constant Field Values
-
authorizationServerSimulation
public static final byte authorizationServerSimulation- See Also:
- Constant Field Values
-
authorizationOwner
public static final byte authorizationOwner- See Also:
- Constant Field Values
-
authorizationServerOwner
public static final byte authorizationServerOwner- See Also:
- Constant Field Values
-
YURI_FORCE_FIELD
public static final boolean YURI_FORCE_FIELD- See Also:
- Constant Field Values
-
RENDER_TO_TEXTURE
public static boolean RENDER_TO_TEXTURE -
CENTER_OF_MASS_MAGIC
public static float CENTER_OF_MASS_MAGIC -
vehicleShadow
-
justBreakConstraintTimer
public int justBreakConstraintTimer -
wasTowedBy
-
inf
-
models
public final java.util.ArrayList models -
chunk
-
polyDirty
public boolean polyDirty -
VehicleID
public short VehicleID -
sqlID
public int sqlID -
serverRemovedFromWorld
public boolean serverRemovedFromWorld -
trace
public boolean trace -
interpolation
-
waitFullUpdate
public boolean waitFullUpdate -
throttle
public float throttle -
engineSpeed
public double engineSpeed -
transmissionNumber
-
transmissionChangeTime
-
hasExtendOffset
public boolean hasExtendOffset -
hasExtendOffsetExiting
public boolean hasExtendOffsetExiting -
savedPhysicsZ
public float savedPhysicsZ -
savedRot
-
jniTransform
-
jniSpeed
public float jniSpeed -
jniIsCollide
public boolean jniIsCollide -
jniLinearVelocity
-
netLinearVelocity
-
netPlayerAuthorization
public byte netPlayerAuthorization -
netPlayerId
public short netPlayerId -
netPlayerTimeout
public int netPlayerTimeout -
authSimulationHash
public int authSimulationHash -
authSimulationTime
public long authSimulationTime -
frontEndDurability
public int frontEndDurability -
rearEndDurability
public int rearEndDurability -
rust
public float rust -
colorHue
public float colorHue -
colorSaturation
public float colorSaturation -
colorValue
public float colorValue -
currentFrontEndDurability
public int currentFrontEndDurability -
currentRearEndDurability
public int currentRearEndDurability -
collideX
public float collideX -
collideY
public float collideY -
shadowCoord
-
engineState
-
engineLastUpdateStateTime
public long engineLastUpdateStateTime -
MAX_WHEELS
public static final int MAX_WHEELS- See Also:
- Constant Field Values
-
PHYSICS_PARAM_COUNT
public static final int PHYSICS_PARAM_COUNT- See Also:
- Constant Field Values
-
wheelInfo
-
skidding
public boolean skidding -
skidSound
public long skidSound -
ramSound
public long ramSound -
ramSoundTime
public long ramSoundTime -
new_EngineSoundId
public final long[] new_EngineSoundId -
engineSoundIndex
public int engineSoundIndex -
hornemitter
-
startTime
public float startTime -
headlightsOn
public boolean headlightsOn -
stoplightsOn
public boolean stoplightsOn -
windowLightsOn
public boolean windowLightsOn -
soundHornOn
public boolean soundHornOn -
soundBackMoveOn
public boolean soundBackMoveOn -
lightbarLightsMode
-
lightbarSirenMode
-
connectionState
-
passengers
-
scriptName
protected java.lang.String scriptName -
script
-
parts
protected final java.util.ArrayList parts -
battery
-
engineQuality
protected int engineQuality -
engineLoudness
protected int engineLoudness -
enginePower
protected int enginePower -
engineCheckTime
protected long engineCheckTime -
lights
protected final java.util.ArrayList lights -
createdModel
protected boolean createdModel -
lastLinearVelocity
-
skinIndex
protected int skinIndex -
physics
-
bCreated
protected boolean bCreated -
poly
-
polyPlusRadius
-
bDoDamageOverlay
protected boolean bDoDamageOverlay -
loaded
protected boolean loaded -
updateFlags
protected short updateFlags -
updateLockTimeout
protected long updateLockTimeout -
addedToWorld
public boolean addedToWorld -
soundSirenSignal
public long soundSirenSignal -
keySpawned
public byte keySpawned -
vehicleTransform
-
renderTransform
-
physicActiveCheck
public long physicActiveCheck -
specificDistributionId
public java.lang.String specificDistributionId -
constraintTowing
public int constraintTowing -
TL_vector2_pool
public static final java.lang.ThreadLocal TL_vector2_pool -
TL_vector2f_pool
public static final java.lang.ThreadLocal TL_vector2f_pool -
TL_vector3f_pool
public static final java.lang.ThreadLocal TL_vector3f_pool -
TL_matrix4f_pool
public static final java.lang.ThreadLocal TL_matrix4f_pool -
TL_quaternionf_pool
public static final java.lang.ThreadLocal TL_quaternionf_pool -
PHYSICS_Z_SCALE
public static final float PHYSICS_Z_SCALE- See Also:
- Constant Field Values
-
PLUS_RADIUS
public static float PLUS_RADIUS -
MASK1_FRONT
public static final int MASK1_FRONT- See Also:
- Constant Field Values
-
MASK1_REAR
public static final int MASK1_REAR- See Also:
- Constant Field Values
-
MASK1_DOOR_RIGHT_FRONT
public static final int MASK1_DOOR_RIGHT_FRONT- See Also:
- Constant Field Values
-
MASK1_DOOR_RIGHT_REAR
public static final int MASK1_DOOR_RIGHT_REAR- See Also:
- Constant Field Values
-
MASK1_DOOR_LEFT_FRONT
public static final int MASK1_DOOR_LEFT_FRONT- See Also:
- Constant Field Values
-
MASK1_DOOR_LEFT_REAR
public static final int MASK1_DOOR_LEFT_REAR- See Also:
- Constant Field Values
-
MASK1_WINDOW_RIGHT_FRONT
public static final int MASK1_WINDOW_RIGHT_FRONT- See Also:
- Constant Field Values
-
MASK1_WINDOW_RIGHT_REAR
public static final int MASK1_WINDOW_RIGHT_REAR- See Also:
- Constant Field Values
-
MASK1_WINDOW_LEFT_FRONT
public static final int MASK1_WINDOW_LEFT_FRONT- See Also:
- Constant Field Values
-
MASK1_WINDOW_LEFT_REAR
public static final int MASK1_WINDOW_LEFT_REAR- See Also:
- Constant Field Values
-
MASK1_WINDOW_FRONT
public static final int MASK1_WINDOW_FRONT- See Also:
- Constant Field Values
-
MASK1_WINDOW_REAR
public static final int MASK1_WINDOW_REAR- See Also:
- Constant Field Values
-
MASK1_GUARD_RIGHT_FRONT
public static final int MASK1_GUARD_RIGHT_FRONT- See Also:
- Constant Field Values
-
MASK1_GUARD_RIGHT_REAR
public static final int MASK1_GUARD_RIGHT_REAR- See Also:
- Constant Field Values
-
MASK1_GUARD_LEFT_FRONT
public static final int MASK1_GUARD_LEFT_FRONT- See Also:
- Constant Field Values
-
MASK1_GUARD_LEFT_REAR
public static final int MASK1_GUARD_LEFT_REAR- See Also:
- Constant Field Values
-
MASK2_ROOF
public static final int MASK2_ROOF- See Also:
- Constant Field Values
-
MASK2_LIGHT_RIGHT_FRONT
public static final int MASK2_LIGHT_RIGHT_FRONT- See Also:
- Constant Field Values
-
MASK2_LIGHT_LEFT_FRONT
public static final int MASK2_LIGHT_LEFT_FRONT- See Also:
- Constant Field Values
-
MASK2_LIGHT_RIGHT_REAR
public static final int MASK2_LIGHT_RIGHT_REAR- See Also:
- Constant Field Values
-
MASK2_LIGHT_LEFT_REAR
public static final int MASK2_LIGHT_LEFT_REAR- See Also:
- Constant Field Values
-
MASK2_BRAKE_RIGHT
public static final int MASK2_BRAKE_RIGHT- See Also:
- Constant Field Values
-
MASK2_BRAKE_LEFT
public static final int MASK2_BRAKE_LEFT- See Also:
- Constant Field Values
-
MASK2_LIGHTBAR_RIGHT
public static final int MASK2_LIGHTBAR_RIGHT- See Also:
- Constant Field Values
-
MASK2_LIGHTBAR_LEFT
public static final int MASK2_LIGHTBAR_LEFT- See Also:
- Constant Field Values
-
MASK2_HOOD
public static final int MASK2_HOOD- See Also:
- Constant Field Values
-
MASK2_BOOT
public static final int MASK2_BOOT- See Also:
- Constant Field Values
-
forcedFriction
public float forcedFriction -
hitVars
-
-
Constructor Details
-
BaseVehicle
-
-
Method Details
-
getSqlId
public int getSqlId() -
allocVector2
-
releaseVector2
-
LoadAllVehicleTextures
public static void LoadAllVehicleTextures() -
LoadVehicleTextures
-
LoadVehicleTexture
-
LoadVehicleTexture
-
setNetPlayerAuthorization
public void setNetPlayerAuthorization(byte byte1) -
getFakeSpeedModifier
public static float getFakeSpeedModifier() -
isLocalPhysicSim
public boolean isLocalPhysicSim() -
addImpulse
-
getEngineSpeed
public double getEngineSpeed() -
getTransmissionNumberLetter
public java.lang.String getTransmissionNumberLetter() -
getTransmissionNumber
public int getTransmissionNumber() -
setClientForce
public void setClientForce(float float1) -
getClientForce
public float getClientForce() -
getObjectName
public java.lang.String getObjectName()- Overrides:
getObjectName
in classIsoMovingObject
-
Serialize
public boolean Serialize() -
createPhysics
public void createPhysics() -
getKeyId
public int getKeyId() -
getKeySpawned
public boolean getKeySpawned() -
putKeyToZombie
-
putKeyToContainer
-
putKeyToWorld
-
addKeyToWorld
public void addKeyToWorld() -
addKeyToGloveBox
public void addKeyToGloveBox() -
createVehicleKey
-
addKeyToSquare
-
toggleLockedDoor
public void toggleLockedDoor(VehiclePart vehiclePart, IsoGameCharacter gameCharacter, boolean boolean1) -
canLockDoor
-
canUnlockDoor
-
setGeneralPartCondition
public void setGeneralPartCondition(float float1, float float2) -
getController
-
getSurroundVehicle
-
getSkinCount
public int getSkinCount() -
getSkinIndex
public int getSkinIndex() -
setSkinIndex
public void setSkinIndex(int int1) -
getShadowTexture
-
getScript
-
setScript
public void setScript(java.lang.String string) -
getScriptName
public java.lang.String getScriptName()- Overrides:
getScriptName
in classIsoObject
-
setScriptName
public void setScriptName(java.lang.String string) -
setScript
public void setScript() -
scriptReloaded
public void scriptReloaded() -
getSkin
public java.lang.String getSkin() -
setModelVisible
protected BaseVehicle.ModelInfo setModelVisible(VehiclePart vehiclePart, VehicleScript.Model model, boolean boolean1) -
getModelInfoForPart
-
getScriptPassenger
-
getMaxPassengers
public int getMaxPassengers() -
setPassenger
-
clearPassenger
public boolean clearPassenger(int int1) -
getPassenger
-
getCharacter
-
getSeat
-
isDriver
-
getWorldPos
-
getWorldPos
public Vector3f getWorldPos(float float1, float float2, float float3, Vector3f vector3f, VehicleScript vehicleScript) -
getWorldPos
-
getWorldPos
-
getLocalPos
-
getLocalPos
-
getPassengerLocalPos
-
getPassengerWorldPos
-
getPassengerPositionWorldPos
-
getPassengerPositionWorldPos
-
getPassengerAnim
-
getPassengerPosition
-
getPassengerDoor
-
getPassengerDoor2
-
isPositionOnLeftOrRight
public boolean isPositionOnLeftOrRight(float float1, float float2) -
haveOneDoorUnlocked
public boolean haveOneDoorUnlocked() -
getPassengerArea
public java.lang.String getPassengerArea(int int1) -
playPassengerAnim
public void playPassengerAnim(int int1, java.lang.String string) -
playPassengerAnim
-
playPassengerSound
public void playPassengerSound(int int1, java.lang.String string) -
playPartAnim
-
playActorAnim
public void playActorAnim(VehiclePart vehiclePart, java.lang.String string, IsoGameCharacter gameCharacter) -
playPartSound
-
setCharacterPosition
public void setCharacterPosition(IsoGameCharacter gameCharacter, int int1, java.lang.String string) -
transmitCharacterPosition
public void transmitCharacterPosition(int int1, java.lang.String string) -
setCharacterPositionToAnim
public void setCharacterPositionToAnim(IsoGameCharacter gameCharacter, int int1, java.lang.String string) -
getPassengerSwitchSeatCount
public int getPassengerSwitchSeatCount(int int1) -
getPassengerSwitchSeat
-
getSwitchSeatAnimName
public java.lang.String getSwitchSeatAnimName(int int1, int int2) -
getSwitchSeatAnimRate
public float getSwitchSeatAnimRate(int int1, int int2) -
getSwitchSeatSound
public java.lang.String getSwitchSeatSound(int int1, int int2) -
canSwitchSeat
public boolean canSwitchSeat(int int1, int int2) -
switchSeat
-
switchSeatRSync
-
playSwitchSeatAnim
public void playSwitchSeatAnim(int int1, int int2) -
isSeatOccupied
public boolean isSeatOccupied(int int1) -
isSeatInstalled
public boolean isSeatInstalled(int int1) -
getBestSeat
-
updateHasExtendOffsetForExit
-
updateHasExtendOffsetForExitEnd
-
updateHasExtendOffset
-
getUseablePart
-
getUseablePart
-
getClosestWindow
-
getFacingPosition
-
enter
-
enter
-
enterRSync
-
exit
-
exitRSync
-
hasRoof
public boolean hasRoof(int int1) -
showPassenger
public boolean showPassenger(int int1) -
showPassenger
-
save
public void save(java.nio.ByteBuffer byteBuffer, boolean boolean1) throws java.io.IOException- Overrides:
save
in classIsoMovingObject
- Throws:
java.io.IOException
-
load
public void load(java.nio.ByteBuffer byteBuffer, int int1, boolean boolean1) throws java.io.IOException- Overrides:
load
in classIsoMovingObject
- Throws:
java.io.IOException
-
softReset
public void softReset() -
trySpawnKey
public void trySpawnKey() -
shouldCollideWithCharacters
public boolean shouldCollideWithCharacters() -
shouldCollideWithObjects
public boolean shouldCollideWithObjects() -
brekingObjects
public void brekingObjects() -
damageObjects
public void damageObjects(float float1) -
update
public void update()- Overrides:
update
in classIsoMovingObject
-
getFudgedMass
public float getFudgedMass() -
isInvalidChunkAround
public boolean isInvalidChunkAround() -
isInvalidChunkAhead
public boolean isInvalidChunkAhead() -
isInvalidChunkBehind
public boolean isInvalidChunkBehind() -
isInvalidChunkAround
public boolean isInvalidChunkAround(boolean boolean1, boolean boolean2, boolean boolean3, boolean boolean4) -
postupdate
public void postupdate()- Overrides:
postupdate
in classIsoMovingObject
-
updateAnimationPlayer
-
saveChange
public void saveChange(java.lang.String string, KahluaTable kahluaTable, java.nio.ByteBuffer byteBuffer)- Overrides:
saveChange
in classIsoObject
-
loadChange
public void loadChange(java.lang.String string, java.nio.ByteBuffer byteBuffer)- Overrides:
loadChange
in classIsoObject
-
authorizationClientForecast
public void authorizationClientForecast(boolean boolean1) -
authorizationServerUpdate
public void authorizationServerUpdate() -
authorizationServerCollide
public void authorizationServerCollide(short short1, boolean boolean1) -
authorizationServerOnSeat
public void authorizationServerOnSeat() -
authorizationServerOnOwnerData
-
netPlayerServerSendAuthorisation
public void netPlayerServerSendAuthorisation(java.nio.ByteBuffer byteBuffer) -
netPlayerFromServerUpdate
public void netPlayerFromServerUpdate(byte byte1, short short1) -
getWorldTransform
-
setWorldTransform
-
flipUpright
public void flipUpright() -
setAngles
public void setAngles(float float1, float float2, float float3) -
getAngleX
public float getAngleX() -
getAngleY
public float getAngleY() -
getAngleZ
public float getAngleZ() -
setDebugZ
public void setDebugZ(float float1) -
setPhysicsActive
public void setPhysicsActive(boolean boolean1) -
getDebugZ
public float getDebugZ() -
getPoly
-
getPolyPlusRadius
-
getForwardVector
-
getUpVector
-
getUpVectorDot
public float getUpVectorDot() -
getCurrentSpeedKmHour
public float getCurrentSpeedKmHour() -
getLinearVelocity
-
getSpeed2D
public float getSpeed2D() -
isAtRest
public boolean isAtRest() -
updateTransform
protected void updateTransform() -
serverUpdateSimulatorState
public void serverUpdateSimulatorState() -
updatePhysics
public void updatePhysics() -
updatePhysicsNetwork
public void updatePhysicsNetwork() -
checkPhysicsValidWithServer
public void checkPhysicsValidWithServer() -
updateControls
public void updateControls() -
isKeyboardControlled
public boolean isKeyboardControlled() -
getJoypad
public int getJoypad() -
Damage
public void Damage(float float1) -
HitByVehicle
- Overrides:
HitByVehicle
in classIsoObject
-
crash
public void crash(float float1, boolean boolean1) -
addDamageFrontHitAChr
public void addDamageFrontHitAChr(int int1) -
addDamageRearHitAChr
public void addDamageRearHitAChr(int int1) -
isCharacterAdjacentTo
-
testCollisionWithCharacter
public Vector2 testCollisionWithCharacter(IsoGameCharacter gameCharacter, float float1, Vector2 vector2) -
testCollisionWithProneCharacter
-
testCollisionWithCorpse
-
testCollisionWithProneCharacter
public int testCollisionWithProneCharacter(IsoMovingObject movingObject, float float1, float float2, boolean boolean1) -
testCollisionWithObject
-
testCollisionWithVehicle
-
getObjectX
-
getObjectY
-
ApplyImpulse
-
ApplyImpulse4Break
-
hitCharacter
-
calculateDamageWithCharacter
-
blocked
public boolean blocked(int int1, int int2, int int3) -
isIntersectingSquare
public boolean isIntersectingSquare(int int1, int int2, int int3) -
isIntersectingSquareWithShadow
public boolean isIntersectingSquareWithShadow(int int1, int int2, int int3) -
circleIntersects
public boolean circleIntersects(float float1, float float2, float float3, float float4) -
updateLights
public void updateLights() -
fixLightbarModelLighting
-
doDamageOverlay
public void doDamageOverlay() -
getBloodIntensity
public float getBloodIntensity(java.lang.String string) -
setBloodIntensity
public void setBloodIntensity(java.lang.String string, float float1) -
transmitBlood
public void transmitBlood() -
doBloodOverlay
public void doBloodOverlay() -
render
-
renderlast
public void renderlast()- Overrides:
renderlast
in classIsoMovingObject
-
renderShadow
public void renderShadow() -
isEnterBlocked
-
isExitBlocked
public boolean isExitBlocked(int int1) -
isPassengerUseDoor2
-
isEnterBlocked2
-
isExitBlocked2
public boolean isExitBlocked2(int int1) -
areaPositionWorld
-
areaPositionWorld
-
areaPositionWorld4PlayerInteract
-
areaPositionWorld4PlayerInteract
-
getWheelForwardVector
-
tryStartEngine
public void tryStartEngine(boolean boolean1) -
tryStartEngine
public void tryStartEngine() -
engineDoIdle
public void engineDoIdle() -
engineDoStarting
public void engineDoStarting() -
isStarting
public boolean isStarting() -
engineDoRetryingStarting
public void engineDoRetryingStarting() -
engineDoStartingSuccess
public void engineDoStartingSuccess() -
engineDoStartingFailed
public void engineDoStartingFailed() -
engineDoStartingFailedNoPower
public void engineDoStartingFailedNoPower() -
engineDoRunning
public void engineDoRunning() -
engineDoStalling
public void engineDoStalling() -
engineDoShuttingDown
public void engineDoShuttingDown() -
shutOff
public void shutOff() -
resumeRunningAfterLoad
public void resumeRunningAfterLoad() -
isEngineStarted
public boolean isEngineStarted() -
isEngineRunning
public boolean isEngineRunning() -
isEngineWorking
public boolean isEngineWorking() -
isOperational
public boolean isOperational() -
isDriveable
public boolean isDriveable() -
getEmitter
-
playSoundImpl
-
stopSound
public int stopSound(long long1) -
playSound
public void playSound(java.lang.String string) -
updateSounds
public void updateSounds() -
updateParts
public void updateParts() -
drainBatteryUpdateHack
public void drainBatteryUpdateHack() -
getHeadlightsOn
public boolean getHeadlightsOn() -
setHeadlightsOn
public void setHeadlightsOn(boolean boolean1) -
getWindowLightsOn
public boolean getWindowLightsOn() -
setWindowLightsOn
public void setWindowLightsOn(boolean boolean1) -
getHeadlightCanEmmitLight
public boolean getHeadlightCanEmmitLight() -
getStoplightsOn
public boolean getStoplightsOn() -
setStoplightsOn
public void setStoplightsOn(boolean boolean1) -
hasHeadlights
public boolean hasHeadlights() -
addToWorld
public void addToWorld()- Overrides:
addToWorld
in classIsoObject
-
removeFromWorld
public void removeFromWorld()- Overrides:
removeFromWorld
in classIsoMovingObject
-
permanentlyRemove
public void permanentlyRemove() -
getBattery
-
setEngineFeature
public void setEngineFeature(int int1, int int2, int int3) -
getEngineQuality
public int getEngineQuality() -
getEngineLoudness
public int getEngineLoudness() -
getEnginePower
public int getEnginePower() -
getBatteryCharge
public float getBatteryCharge() -
getPartCount
public int getPartCount() -
getPartByIndex
-
getPartById
-
getNumberOfPartsWithContainers
public int getNumberOfPartsWithContainers() -
getPartForSeatContainer
-
transmitPartCondition
-
transmitPartItem
-
transmitPartModData
-
transmitPartUsedDelta
-
transmitPartDoor
-
transmitPartWindow
-
getLightCount
public int getLightCount() -
getLightByIndex
-
getZone
public java.lang.String getZone() -
setZone
public void setZone(java.lang.String string) -
isInArea
-
getAreaDist
-
getAreaCenter
-
getAreaCenter
-
isInBounds
public boolean isInBounds(float float1, float float2) -
canAccessContainer
-
canInstallPart
-
canUninstallPart
-
getId
public short getId() -
setTireInflation
public void setTireInflation(int int1, float float1) -
setTireRemoved
public void setTireRemoved(int int1, boolean boolean1) -
chooseBestAttackPosition
public Vector3f chooseBestAttackPosition(IsoGameCharacter gameCharacter, IsoGameCharacter gameCharacter2, Vector3f vector3f) -
getMinMaxPosition
-
getVehicleType
public java.lang.String getVehicleType() -
setVehicleType
public void setVehicleType(java.lang.String string) -
getMaxSpeed
public float getMaxSpeed() -
setMaxSpeed
public void setMaxSpeed(float float1) -
lockServerUpdate
public void lockServerUpdate(long long1) -
changeTransmission
-
tryHotwire
public void tryHotwire(int int1) -
cheatHotwire
public void cheatHotwire(boolean boolean1, boolean boolean2) -
isKeyIsOnDoor
public boolean isKeyIsOnDoor() -
setKeyIsOnDoor
public void setKeyIsOnDoor(boolean boolean1) -
isHotwired
public boolean isHotwired() -
setHotwired
public void setHotwired(boolean boolean1) -
isHotwiredBroken
public boolean isHotwiredBroken() -
setHotwiredBroken
public void setHotwiredBroken(boolean boolean1) -
getDriver
-
isKeysInIgnition
public boolean isKeysInIgnition() -
setKeysInIgnition
public void setKeysInIgnition(boolean boolean1) -
putKeyInIgnition
-
removeKeyFromIgnition
public void removeKeyFromIgnition() -
putKeyOnDoor
-
removeKeyFromDoor
public void removeKeyFromDoor() -
syncKeyInIgnition
-
hasHorn
public boolean hasHorn() -
hasLightbar
public boolean hasLightbar() -
onHornStart
public void onHornStart() -
onHornStop
public void onHornStop() -
hasBackSignal
public boolean hasBackSignal() -
isBackSignalEmitting
public boolean isBackSignalEmitting() -
onBackMoveSignalStart
public void onBackMoveSignalStart() -
onBackMoveSignalStop
public void onBackMoveSignalStop() -
getLightbarLightsMode
public int getLightbarLightsMode() -
setLightbarLightsMode
public void setLightbarLightsMode(int int1) -
getLightbarSirenMode
public int getLightbarSirenMode() -
setLightbarSirenMode
public void setLightbarSirenMode(int int1) -
getChoosenParts
public java.util.HashMap getChoosenParts() -
getMass
public float getMass() -
setMass
public void setMass(float float1) -
getInitialMass
public float getInitialMass() -
setInitialMass
public void setInitialMass(float float1) -
updateTotalMass
public void updateTotalMass() -
getBrakingForce
public float getBrakingForce() -
setBrakingForce
public void setBrakingForce(float float1) -
getBaseQuality
public float getBaseQuality() -
setBaseQuality
public void setBaseQuality(float float1) -
getCurrentSteering
public float getCurrentSteering() -
setCurrentSteering
public void setCurrentSteering(float float1) -
isDoingOffroad
public boolean isDoingOffroad() -
isBraking
public boolean isBraking() -
setBraking
public void setBraking(boolean boolean1) -
updatePartStats
public void updatePartStats() -
transmitEngine
public void transmitEngine() -
setRust
public void setRust(float float1) -
getRust
public float getRust() -
transmitRust
public void transmitRust() -
updateBulletStats
public void updateBulletStats() -
setActiveInBullet
public void setActiveInBullet(boolean boolean1) -
areAllDoorsLocked
public boolean areAllDoorsLocked() -
isAnyDoorLocked
public boolean isAnyDoorLocked() -
getRemainingFuelPercentage
public float getRemainingFuelPercentage() -
getMechanicalID
public int getMechanicalID() -
setMechanicalID
public void setMechanicalID(int int1) -
needPartsUpdate
public boolean needPartsUpdate() -
setNeedPartsUpdate
public void setNeedPartsUpdate(boolean boolean1) -
getHeater
-
windowsOpen
public int windowsOpen() -
isAlarmed
public boolean isAlarmed() -
setAlarmed
public void setAlarmed(boolean boolean1) -
triggerAlarm
public void triggerAlarm() -
isMechanicUIOpen
public boolean isMechanicUIOpen() -
setMechanicUIOpen
public void setMechanicUIOpen(boolean boolean1) -
damagePlayers
public void damagePlayers(float float1) -
addRandomDamageFromCrash
-
hitVehicle
-
isTrunkLocked
public boolean isTrunkLocked() -
setTrunkLocked
public void setTrunkLocked(boolean boolean1) -
getNearestBodyworkPart
-
getSirenStartTime
public double getSirenStartTime() -
setSirenStartTime
public void setSirenStartTime(double double1) -
sirenShutoffTimeExpired
public boolean sirenShutoffTimeExpired() -
repair
public void repair() -
isAnyListenerInside
public boolean isAnyListenerInside() -
couldCrawlerAttackPassenger
-
isGoodCar
public boolean isGoodCar() -
setGoodCar
public void setGoodCar(boolean boolean1) -
getCurrentKey
-
setCurrentKey
-
isInForest
public boolean isInForest() -
getOffroadEfficiency
public float getOffroadEfficiency() -
doChrHitImpulse
-
isDoColor
public boolean isDoColor() -
setDoColor
public void setDoColor(boolean boolean1) -
getBrakeSpeedBetweenUpdate
public float getBrakeSpeedBetweenUpdate() -
getSquare
- Overrides:
getSquare
in classIsoMovingObject
-
setColor
public void setColor(float float1, float float2, float float3) -
setColorHSV
public void setColorHSV(float float1, float float2, float float3) -
getColorHue
public float getColorHue() -
getColorSaturation
public float getColorSaturation() -
getColorValue
public float getColorValue() -
isRemovedFromWorld
public boolean isRemovedFromWorld() -
getInsideTemperature
public float getInsideTemperature() -
getAnimationPlayer
-
releaseAnimationPlayers
public void releaseAnimationPlayers() -
setAddThumpWorldSound
public void setAddThumpWorldSound(boolean boolean1) -
Thump
-
WeaponHit
-
getThumpableFor
- Specified by:
getThumpableFor
in interfaceThumpable
- Overrides:
getThumpableFor
in classIsoObject
-
getThumpCondition
public float getThumpCondition()- Specified by:
getThumpCondition
in interfaceThumpable
- Overrides:
getThumpCondition
in classIsoObject
-
isRegulator
public boolean isRegulator() -
setRegulator
public void setRegulator(boolean boolean1) -
getRegulatorSpeed
public float getRegulatorSpeed() -
setRegulatorSpeed
public void setRegulatorSpeed(float float1) -
setVehicleTowing
public void setVehicleTowing(BaseVehicle baseVehicle, java.lang.String string, java.lang.String string2, float float1) -
setVehicleTowedBy
public void setVehicleTowedBy(BaseVehicle baseVehicle, java.lang.String string, java.lang.String string2, float float1) -
getVehicleTowing
-
getVehicleTowedBy
-
attachmentExist
public boolean attachmentExist(java.lang.String string) -
getAttachmentLocalPos
-
getAttachmentWorldPos
-
getTowingLocalPos
-
getTowedByLocalPos
-
getTowingWorldPos
-
getTowedByWorldPos
-
getPlayerTrailerLocalPos
-
getPlayerTrailerWorldPos
-
addHingeConstraint
public void addHingeConstraint(BaseVehicle baseVehicle, java.lang.String string, java.lang.String string2) -
drawDirectionLine
public void drawDirectionLine(Vector2 vector2, float float1, float float2, float float3, float float4) -
updateConstraint
-
addPointConstraint
public void addPointConstraint(BaseVehicle baseVehicle, java.lang.String string, java.lang.String string2) -
addPointConstraint
public void addPointConstraint(BaseVehicle baseVehicle, java.lang.String string, java.lang.String string2, java.lang.Float Float1, java.lang.Boolean Boolean1) -
constraintChanged
public void constraintChanged() -
breakConstraint
public void breakConstraint(boolean boolean1, boolean boolean2) -
canAttachTrailer
public boolean canAttachTrailer(BaseVehicle baseVehicle, java.lang.String string, java.lang.String string2) -
positionTrailer
-
getTowAttachmentSelf
public java.lang.String getTowAttachmentSelf() -
getTowAttachmentOther
public java.lang.String getTowAttachmentOther() -
getVehicleEngineRPM
-
getFMODParameters
- Specified by:
getFMODParameters
in interfaceIFMODParameterUpdater
-
startEvent
- Specified by:
startEvent
in interfaceIFMODParameterUpdater
-
updateEvent
- Specified by:
updateEvent
in interfaceIFMODParameterUpdater
-
stopEvent
- Specified by:
stopEvent
in interfaceIFMODParameterUpdater
-
debugSetStatic
public void debugSetStatic(boolean boolean1) -
setSmashed
-
setSmashed
-
isCollided
-
checkCollision
-
updateHitByVehicle
-
hitCharacter
-