Skip to content

Commit

Permalink
Added First person morph hand render override.
Browse files Browse the repository at this point in the history
  • Loading branch information
iChun committed Aug 8, 2013
1 parent 64e080d commit 7f5d3b9
Show file tree
Hide file tree
Showing 9 changed files with 440 additions and 95 deletions.
5 changes: 5 additions & 0 deletions morph/client/core/TickHandlerClient.java
Expand Up @@ -12,6 +12,7 @@
import morph.client.morph.MorphInfoClient;
import morph.client.render.EntityRendererProxy;
import morph.client.render.RenderMorph;
import morph.client.render.RenderPlayerHand;
import morph.common.Morph;
import morph.common.core.ObfHelper;
import morph.common.morph.MorphInfo;
Expand Down Expand Up @@ -56,6 +57,9 @@ public TickHandlerClient()
renderMorphInstance = new RenderMorph(new ModelMorph(), 0.0F);
renderMorphInstance.setRenderManager(RenderManager.instance);

renderHandInstance = new RenderPlayerHand();
renderHandInstance.setRenderManager(RenderManager.instance);

showWarning = ObfHelper.obfuscation;
}

Expand Down Expand Up @@ -738,6 +742,7 @@ public static boolean isPressed(int key)
public boolean showWarning;

public RenderMorph renderMorphInstance;
public RenderPlayerHand renderHandInstance;

public HashMap<String, MorphInfoClient> playerMorphInfo = new HashMap<String, MorphInfoClient>();

Expand Down

0 comments on commit 7f5d3b9

Please sign in to comment.