Removed old korean font / Fixed targeting going through UI

This commit is contained in:
Anuken 2018-09-18 09:17:50 -04:00
parent 0968981aef
commit 0c63b27eea
5 changed files with 3 additions and 2455 deletions

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 85 KiB

View File

@ -10,11 +10,6 @@ Font: {
markup: false,
scale: 0.5
},
korean: {
file: korean.fnt,
markup: true,
scale: 0.5
},
trad-chinese: {
file: trad_chinese.fnt,
markup: true,

View File

@ -117,7 +117,7 @@ public class UI extends SceneModule{
font.getData().setScale(Vars.fontScale);
font.getData().down += Unit.dp.scl(4f);
font.getData().lineHeight -= Unit.dp.scl(4.3f);
}, skin.font(), skin.getFont("default-font-chat"), skin.getFont("korean"), skin.getFont("trad-chinese"), skin.getFont("simp-chinese"));
}, skin.font(), skin.getFont("default-font-chat"), skin.getFont("trad-chinese"), skin.getFont("simp-chinese"));
}
@Override

View File

@ -546,14 +546,14 @@ public class MobileInput extends InputHandler implements GestureListener{
float worldx = Graphics.world(x, y).x, worldy = Graphics.world(x, y).y;
checkTargets(worldx, worldy);
//get tile on cursor
Tile cursor = tileAt(x, y);
//ignore off-screen taps
if(cursor == null || ui.hasMouse(x, y)) return false;
checkTargets(worldx, worldy);
//remove if request present
if(hasRequest(cursor)){
removeRequest(getRequest(cursor));