cleaned up formatting:

- removed trailing whitespace
- changed all leading whitespace to tabs
- removed IDE created author comments
This commit is contained in:
Evan Debenham
2015-06-12 16:22:26 -04:00
parent baa83b7e43
commit cebdff0221
335 changed files with 8555 additions and 8714 deletions
@@ -65,7 +65,7 @@ public class WndBag extends WndTabbed {
ENCHANTABLE,
WAND,
SEED,
FOOD,
FOOD,
POTION,
SCROLL,
EQUIPMENT
@@ -123,8 +123,8 @@ public class WndBag extends WndTabbed {
Belongings stuff = Dungeon.hero.belongings;
Bag[] bags = {
stuff.backpack,
stuff.getItem( SeedPouch.class ),
stuff.backpack,
stuff.getItem( SeedPouch.class ),
stuff.getItem( ScrollHolder.class ),
stuff.getItem( PotionBandolier.class ),
stuff.getItem( WandHolster.class )};
@@ -142,7 +142,7 @@ public class WndBag extends WndTabbed {
public static WndBag lastBag( Listener listener, Mode mode, String title ) {
if (mode == lastMode && lastBag != null &&
if (mode == lastMode && lastBag != null &&
Dungeon.hero.belongings.backpack.contains( lastBag )) {
return new WndBag( lastBag, listener, mode, title );
@@ -287,7 +287,7 @@ public class WndBag extends WndTabbed {
}
}
private static class Placeholder extends Item {
private static class Placeholder extends Item {
{
name = null;
}
@@ -328,7 +328,7 @@ public class WndBag extends WndTabbed {
}
@Override
protected void createChildren() {
protected void createChildren() {
bg = new ColorBlock( SLOT_SIZE, SLOT_SIZE, NORMAL );
add( bg );
@@ -361,9 +361,9 @@ public class WndBag extends WndTabbed {
if (item.name() == null) {
enable( false );
} else {
enable(
enable(
mode == Mode.FOR_SALE && (item.price() > 0) && (!item.isEquipped( Dungeon.hero ) || !item.cursed) ||
mode == Mode.UPGRADEABLE && item.isUpgradable() ||
mode == Mode.UPGRADEABLE && item.isUpgradable() ||
mode == Mode.UNIDENTIFED && !item.isIdentified() ||
mode == Mode.QUICKSLOT && (item.defaultAction != null) ||
mode == Mode.WEAPON && (item instanceof MeleeWeapon || item instanceof Boomerang) ||
@@ -371,7 +371,7 @@ public class WndBag extends WndTabbed {
mode == Mode.ENCHANTABLE && (item instanceof MeleeWeapon || item instanceof Boomerang || item instanceof Armor) ||
mode == Mode.WAND && (item instanceof Wand) ||
mode == Mode.SEED && (item instanceof Seed) ||
mode == Mode.FOOD && (item instanceof Food) ||
mode == Mode.FOOD && (item instanceof Food) ||
mode == Mode.POTION && (item instanceof Potion) ||
mode == Mode.SCROLL && (item instanceof Scroll) ||
mode == Mode.EQUIPMENT && (item instanceof EquipableItem) ||