mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-23 21:38:00 +01:00
Fix regressions
This commit is contained in:
parent
02b62372cf
commit
49847d1479
2 changed files with 10 additions and 2 deletions
|
@ -101,6 +101,11 @@ public class DismissSpellScreen extends GameGui {
|
||||||
matrices.pop();
|
matrices.pop();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void renderBackground(DrawContext context, int mouseX, int mouseY, float delta) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean shouldPause() {
|
public boolean shouldPause() {
|
||||||
return false;
|
return false;
|
||||||
|
|
|
@ -103,7 +103,7 @@ public class TribeConfirmationScreen extends GameGui implements HidesHud {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void render(DrawContext context, int mouseX, int mouseY, float delta) {
|
public void renderBackground(DrawContext context, int mouseX, int mouseY, float delta) {
|
||||||
context.getMatrices().push();
|
context.getMatrices().push();
|
||||||
context.getMatrices().translate(0, 0, -2);
|
context.getMatrices().translate(0, 0, -2);
|
||||||
if (parent != null) {
|
if (parent != null) {
|
||||||
|
@ -112,6 +112,7 @@ public class TribeConfirmationScreen extends GameGui implements HidesHud {
|
||||||
parent.render(context, -1, -1, delta);
|
parent.render(context, -1, -1, delta);
|
||||||
context.getMatrices().pop();
|
context.getMatrices().pop();
|
||||||
}
|
}
|
||||||
|
renderInGameBackground(context);
|
||||||
|
|
||||||
final int columnHeight = 180;
|
final int columnHeight = 180;
|
||||||
final int columnWidth = 310;
|
final int columnWidth = 310;
|
||||||
|
@ -132,9 +133,11 @@ public class TribeConfirmationScreen extends GameGui implements HidesHud {
|
||||||
context.drawTexture(TribeSelectionScreen.TEXTURE, left + 35, top, 148, 70, 21, 50);
|
context.drawTexture(TribeSelectionScreen.TEXTURE, left + 35, top, 148, 70, 21, 50);
|
||||||
textBody.render(context, mouseX, mouseY, delta);
|
textBody.render(context, mouseX, mouseY, delta);
|
||||||
context.getMatrices().pop();
|
context.getMatrices().pop();
|
||||||
|
|
||||||
context.drawTexture(TribeSelectionScreen.TEXTURE, left - 35, top - 5, 10, 70, 69, 50);
|
context.drawTexture(TribeSelectionScreen.TEXTURE, left - 35, top - 5, 10, 70, 69, 50);
|
||||||
context.drawTexture(TribeSelectionScreen.TEXTURE, left - 35, top - 15, 10, 70, 69, 50);
|
context.drawTexture(TribeSelectionScreen.TEXTURE, left - 35, top - 15, 10, 70, 69, 50);
|
||||||
super.render(context, mouseX, mouseY, delta);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue