Class ModelManager
java.lang.Object
zombie.core.skinnedmodel.ModelManager
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd(IsoGameCharacter chr) Add the supplied character to the visible render list.voidaddAnimationClip(String name, AnimationClip clip) addStatic(ModelInstance parentInst, String modelName, String attachNameSelf, String attachNameParent) addStatic(ModelManager.ModelSlot slot, String meshName, String texName, String boneName, String shaderName) addStaticForcedTex(ModelInstance parentInst, String modelName, String attachNameSelf, String attachNameParent, String forcedTex) voidaddVehicle(BaseVehicle vehicle) voidanimationAssetLoaded(AnimationAsset animationAsset) booleanReturns TRUE if the character is currently in the visible render list, and has not been flagged for removal.voidcreate()voidderefModelInstance(ModelInstance modelInstance) voidderefModelInstances(ArrayList<ModelInstance> modelInstances) voidgetAnimationAsset(String string1) getAnimationClip(String name) getLoadedModel(String meshName) getLoadedModel(String meshName, String tex, boolean isStatic, String shaderName) getSlot(IsoGameCharacter chr) voidgetSquareLighting(int int1, IsoMovingObject movingObject, ModelInstance.EffectLight[] effectLights) intvoidinitAnimationMeshes(boolean bReloading) booleanbooleanvoidloadAdditionalModel(String meshName, String tex, boolean bStatic, String shaderName) voidloadStaticModel(String meshName, String tex, String shaderName) newAdditionalModelInstance(String meshName, String tex, IsoGameCharacter chr, AnimationPlayer animPlayer, String shaderName) newInstance(Model model, IsoGameCharacter chr, AnimationPlayer player) newStaticInstance(ModelManager.ModelSlot slot, String meshName, String texName, String boneName, String shaderName) voidputLoadedModel(String name, String tex, boolean isStatic, String shaderName, Model model) voidvoidreloadModelsMatching(String meshName) voidRemove(IsoGameCharacter chr) voidRemove(BaseVehicle vehicle) voidRenderParticles(TextureDraw texd, int userId, int va11) voidRenderPuddles(int int1, int int2, int int3, int int4) voidRenderSkyBox(TextureDraw texd, int shaderID, int userId, int apiId, int bufferId) voidRenderWater(TextureDraw texd, int shaderID, int userId, boolean bShore) voidReset()voidReset(IsoGameCharacter chr) Reset Resets the specified character.voidvoidResetEquippedNextFrame(IsoGameCharacter isoGameCharacter) voidresetModelInstance(ModelInstance modelInstance, Object expectedOwner) voidresetModelInstanceRecurse(ModelInstance modelInstance, Object expectedOwner) voidresetModelInstancesRecurse(ArrayList<ModelInstance> modelInstances, Object expectedOwner) voidResetNextFrame(IsoGameCharacter isoGameCharacter) voidsetModelMetaData(String meshName, String texName, String shaderName, boolean bStatic) voidsetModelMetaData(String modelId, String meshName, String texName, String shaderName, boolean bStatic) booleanshouldHideModel(ItemVisuals itemVisuals, String string) booleanshouldLimitTextureSize(String string) tryGetLoadedModel(String meshName, String tex, boolean isStatic, String shaderName, boolean logError) voidupdate()
-
Field Details
-
NoOpenGL
public static boolean NoOpenGL -
instance
-
m_maleModel
-
m_femaleModel
-
m_skeletonMaleModel
-
m_skeletonFemaleModel
-
bitmap
-
bDebugEnableModels
public boolean bDebugEnableModels -
bCreateSoftwareMeshes
public boolean bCreateSoftwareMeshes -
SoftwareMeshAnims
-
-
Constructor Details
-
ModelManager
public ModelManager()
-
-
Method Details
-
isCreated
public boolean isCreated() -
create
public void create() -
loadAdditionalModel
-
newAdditionalModelInstance
public ModelInstance newAdditionalModelInstance(String meshName, String tex, IsoGameCharacter chr, AnimationPlayer animPlayer, String shaderName) -
RenderSkyBox
-
RenderWater
-
RenderPuddles
public void RenderPuddles(int int1, int int2, int int3, int int4) -
RenderParticles
-
Reset
Reset Resets the specified character.- Parameters:
chr- the character to reset
-
reloadAllOutfits
public void reloadAllOutfits() -
Add
Add the supplied character to the visible render list. -
dressInRandomOutfit
-
getBodyModel
-
ContainsChar
Returns TRUE if the character is currently in the visible render list, and has not been flagged for removal. -
ResetCharacterEquippedHands
-
shouldHideModel
-
resetModelInstance
-
resetModelInstanceRecurse
-
resetModelInstancesRecurse
public void resetModelInstancesRecurse(ArrayList<ModelInstance> modelInstances, Object expectedOwner) -
derefModelInstance
-
derefModelInstances
-
update
public void update() -
getSlot
-
Remove
-
Remove
-
ResetNextFrame
-
ResetEquippedNextFrame
-
Reset
public void Reset() -
getSquareLighting
public void getSquareLighting(int int1, IsoMovingObject movingObject, ModelInstance.EffectLight[] effectLights) -
addVehicle
-
addStatic
public ModelInstance addStatic(ModelManager.ModelSlot slot, String meshName, String texName, String boneName, String shaderName) -
newStaticInstance
public ModelInstance newStaticInstance(ModelManager.ModelSlot slot, String meshName, String texName, String boneName, String shaderName) -
addStatic
public ModelInstance addStatic(ModelInstance parentInst, String modelName, String attachNameSelf, String attachNameParent) -
addStaticForcedTex
public ModelInstance addStaticForcedTex(ModelInstance parentInst, String modelName, String attachNameSelf, String attachNameParent, String forcedTex) -
getTextureFlags
public int getTextureFlags() -
shouldLimitTextureSize
-
setModelMetaData
-
setModelMetaData
-
loadStaticModel
-
loadModel
-
getLoadedModel
-
getLoadedModel
-
tryGetLoadedModel
-
putLoadedModel
-
getAnimationAsset
-
addAnimationClip
-
getAnimationClip
-
getAllAnimationClips
-
newInstance
-
isLoadingAnimations
public boolean isLoadingAnimations() -
reloadModelsMatching
-
loadModAnimations
public void loadModAnimations() -
animationAssetLoaded
-
initAnimationMeshes
public void initAnimationMeshes(boolean bReloading)
-