kamegami13 / MonsterHunter4UDatabase

MIT License
114 stars 41 forks source link

Drawsharpness #10

Closed jaysondc closed 9 years ago

jaysondc commented 9 years ago

Sharpness values are stored in the database in the format "1.2.3.4.5.6.7 1.2.3.4.5.6.7" where each position is the value of a particular color of sharpness. From the MH3U data it doesn't look like any sharpness bar exceeds 50 units, so that's what the bar scales to. If this is not the case for MH4U let me know.

I haven't been able to test the error handling because I'm not sure how to update the database on my device, but it should detect errors with Integer.parseInt() and set the entire sharpness bar to 0. Sharpness bars with over 50 units of sharpness should display properly but the sharpness will just be "off the charts", so to speak. Let me know the results if you get a chance to push bad data to it.

Nexus 6 detail nexus 6 detail

Nexus 6 list view nexus 6 list

Nexus s detail nexus s detail

Nexus s list view nexus s list