Changes resulting from #62

This commit is contained in:
Collin Smith 2019-10-22 22:27:04 -07:00
parent c2883766f6
commit 019257511d
3 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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());
} }
} }

View File

@ -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;