v0.8.1: improved several item icons and added rough ring icons.

This commit is contained in:
Evan Debenham 2020-05-13 14:35:56 -04:00
parent 39450322aa
commit b81afadf80
4 changed files with 33 additions and 24 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@ -35,7 +35,7 @@ import com.watabou.noosa.Game;
public class ScrollOfPassage extends ExoticScroll {
{
icon = ItemSpriteSheet.Icons.SCROLL_ENCHANT;
icon = ItemSpriteSheet.Icons.SCROLL_PASSAGE;
}
@Override

View File

@ -712,8 +712,17 @@ public class ItemSpriteSheet {
public static final int RING_WEALTH = RINGS+10;
public static final int RING_UNUSED = RINGS+11;
static {
for (int i = RINGS; i < RINGS+16; i++)
assignIconRect(i, 8, 8);
assignIconRect( RING_ACCURACY, 7, 7 );
assignIconRect( RING_ELEMENTS, 7, 7 );
assignIconRect( RING_ENERGY, 7, 5 );
assignIconRect( RING_EVASION, 7, 7 );
assignIconRect( RING_FORCE, 7, 5 );
assignIconRect( RING_FUROR, 6, 6 );
assignIconRect( RING_HASTE, 6, 6 );
assignIconRect( RING_MIGHT, 7, 7 );
assignIconRect( RING_SHARPSHOOT, 7, 7 );
assignIconRect( RING_TENACITY, 6, 6 );
assignIconRect( RING_WEALTH, 6, 6 );
}
//16 free slots
@ -738,9 +747,9 @@ public class ItemSpriteSheet {
assignIconRect( SCROLL_MIRRORIMG, 7, 5 );
assignIconRect( SCROLL_RECHARGE, 7, 5 );
assignIconRect( SCROLL_TELEPORT, 7, 7 );
assignIconRect( SCROLL_LULLABY, 4, 5 );
assignIconRect( SCROLL_LULLABY, 7, 6 );
assignIconRect( SCROLL_MAGICMAP, 7, 7 );
assignIconRect( SCROLL_RAGE, 5, 5 );
assignIconRect( SCROLL_RAGE, 6, 6 );
assignIconRect( SCROLL_RETRIB, 5, 6 );
assignIconRect( SCROLL_TERROR, 5, 7 );
assignIconRect( SCROLL_TRANSMUTE, 7, 7 );
@ -761,14 +770,14 @@ public class ItemSpriteSheet {
public static final int SCROLL_POLYMORPH= EXOTIC_SCROLLS+11;
static {
assignIconRect( SCROLL_ENCHANT, 7, 7 );
assignIconRect( SCROLL_DIVINATE, 7, 7 );
assignIconRect( SCROLL_DIVINATE, 7, 6 );
assignIconRect( SCROLL_ANTIMAGIC, 7, 7 );
assignIconRect( SCROLL_PRISIMG, 5, 7 );
assignIconRect( SCROLL_MYSTENRG, 7, 5 );
assignIconRect( SCROLL_PASSAGE, 5, 7 );
assignIconRect( SCROLL_AFFECTION, 7, 6 );
assignIconRect( SCROLL_FORESIGHT, 7, 5 );
assignIconRect( SCROLL_CONFUSION, 4, 7 );
assignIconRect( SCROLL_CONFUSION, 7, 7 );
assignIconRect( SCROLL_PSIBLAST, 5, 6 );
assignIconRect( SCROLL_PETRIF, 7, 5 );
assignIconRect( SCROLL_POLYMORPH, 7, 6 );
@ -793,15 +802,15 @@ public class ItemSpriteSheet {
assignIconRect( POTION_STRENGTH, 7, 7 );
assignIconRect( POTION_HEALING, 6, 7 );
assignIconRect( POTION_MINDVIS, 7, 5 );
assignIconRect( POTION_FROST, 5, 7 );
assignIconRect( POTION_FROST, 7, 7 );
assignIconRect( POTION_LIQFLAME, 5, 7 );
assignIconRect( POTION_TOXICGAS, 7, 7 );
assignIconRect( POTION_HASTE, 6, 6 );
assignIconRect( POTION_INVIS, 5, 7 );
assignIconRect( POTION_LEVITATE, 5, 5 );
assignIconRect( POTION_LEVITATE, 6, 7 );
assignIconRect( POTION_PARAGAS, 7, 7 );
assignIconRect( POTION_PURITY, 5, 5 );
assignIconRect( POTION_EXP, 5, 5 );
assignIconRect( POTION_PURITY, 5, 7 );
assignIconRect( POTION_EXP, 7, 7 );
}
private static final int EXOTIC_POTIONS = xy(1, 7); //16 slots
@ -818,18 +827,18 @@ public class ItemSpriteSheet {
public static final int POTION_CLEANSE = EXOTIC_POTIONS+10;
public static final int POTION_HOLYFUROR= EXOTIC_POTIONS+11;
static {
assignIconRect( POTION_ARENSURGE, 7, 7);
assignIconRect( POTION_SHIELDING, 6, 7);
assignIconRect( POTION_MAGISIGHT, 7, 5);
assignIconRect( POTION_SNAPFREEZ, 5, 7);
assignIconRect( POTION_DRGBREATH, 5, 7);
assignIconRect( POTION_CORROGAS, 7, 7);
assignIconRect( POTION_STAMINA, 6, 6);
assignIconRect( POTION_SHROUDFOG, 5, 7);
assignIconRect( POTION_STRMCLOUD, 5, 5);
assignIconRect( POTION_EARTHARMR, 7, 7);
assignIconRect( POTION_CLEANSE, 5, 5);
assignIconRect( POTION_HOLYFUROR, 5, 5);
assignIconRect( POTION_ARENSURGE, 7, 7 );
assignIconRect( POTION_SHIELDING, 6, 6 );
assignIconRect( POTION_MAGISIGHT, 7, 5 );
assignIconRect( POTION_SNAPFREEZ, 7, 7 );
assignIconRect( POTION_DRGBREATH, 7, 7 );
assignIconRect( POTION_CORROGAS, 7, 7 );
assignIconRect( POTION_STAMINA, 6, 6 );
assignIconRect( POTION_SHROUDFOG, 7, 7 );
assignIconRect( POTION_STRMCLOUD, 7, 7 );
assignIconRect( POTION_EARTHARMR, 6, 6 );
assignIconRect( POTION_CLEANSE, 7, 7 );
assignIconRect( POTION_HOLYFUROR, 5, 7 );
}
//16 free slots

View File

@ -409,7 +409,7 @@ public class WndJournal extends WndTabbed {
ArrayList<QuickRecipe> toAdd = QuickRecipe.getRecipes(currentPageIdx);
float left;
float top = body.bottom();
float top = body.bottom()+1;
int w;
ArrayList<QuickRecipe> toAddThisRow = new ArrayList<>();
while (!toAdd.isEmpty()){