mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-02-11 11:27:16 +07:00
Changes resulting from #62
This commit is contained in:
parent
c2883766f6
commit
019257511d
@ -384,7 +384,7 @@ public class Client extends Game {
|
|||||||
if (DEBUG_VIEWPORTS) {
|
if (DEBUG_VIEWPORTS) {
|
||||||
shapes.begin(ShapeRenderer.ShapeType.Filled);
|
shapes.begin(ShapeRenderer.ShapeType.Filled);
|
||||||
shapes.setColor(Color.DARK_GRAY);
|
shapes.setColor(Color.DARK_GRAY);
|
||||||
shapes.rect(0, 0, 853, 480);
|
shapes.rect(0, 0, 854, 480);
|
||||||
shapes.setColor(Color.GRAY);
|
shapes.setColor(Color.GRAY);
|
||||||
shapes.rect(0, 0, 640, 480);
|
shapes.rect(0, 0, 640, 480);
|
||||||
shapes.setColor(Color.BLUE);
|
shapes.setColor(Color.BLUE);
|
||||||
|
@ -637,7 +637,7 @@ public class MapRenderer {
|
|||||||
texture = tile.tile.texture;
|
texture = tile.tile.texture;
|
||||||
}
|
}
|
||||||
//if (texture.getTexture().getTextureObjectHandle() == 0) return;
|
//if (texture.getTexture().getTextureObjectHandle() == 0) return;
|
||||||
batch.draw(texture, px, py, texture.getRegionWidth(), texture.getRegionHeight() + 1);
|
batch.draw(texture, px, py, texture.getRegionWidth(), texture.getRegionHeight());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -79,7 +79,7 @@ public class DesktopLauncher {
|
|||||||
//config.height = 720;//480;
|
//config.height = 720;//480;
|
||||||
config.allowSoftwareMode = cmd != null && cmd.hasOption("allowSoftwareMode");
|
config.allowSoftwareMode = cmd != null && cmd.hasOption("allowSoftwareMode");
|
||||||
|
|
||||||
int width = NumberUtils.toInt(cmd.getOptionValue('i', "853"));
|
int width = NumberUtils.toInt(cmd.getOptionValue('i', "854"));
|
||||||
int height = NumberUtils.toInt(cmd.getOptionValue('o', "480"));
|
int height = NumberUtils.toInt(cmd.getOptionValue('o', "480"));
|
||||||
config.width = width;
|
config.width = width;
|
||||||
config.height = height;
|
config.height = height;
|
||||||
|
Loading…
Reference in New Issue
Block a user