Skip to content
Permalink
Browse files

Changes resulting from #62

  • Loading branch information...
collinsmith committed Oct 23, 2019
1 parent c288376 commit 019257511deb85813731531ab8a8b6d118b3d95c
@@ -384,7 +384,7 @@ public void render() {
if (DEBUG_VIEWPORTS) {
shapes.begin(ShapeRenderer.ShapeType.Filled);
shapes.setColor(Color.DARK_GRAY);
shapes.rect(0, 0, 853, 480);
shapes.rect(0, 0, 854, 480);
shapes.setColor(Color.GRAY);
shapes.rect(0, 0, 640, 480);
shapes.setColor(Color.BLUE);
@@ -637,7 +637,7 @@ void drawFloors(PaletteIndexedBatch batch, Map.Zone zone, int tx, int ty, float
texture = tile.tile.texture;
}
//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 static void main(String[] args) {
//config.height = 720;//480;
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"));
config.width = width;
config.height = height;

0 comments on commit 0192575

Please sign in to comment.
You can’t perform that action at this time.