v0.7.5: cleaned up some todos
This commit is contained in:
parent
f309f249e0
commit
f2f976c36b
|
@ -77,8 +77,7 @@ public class Electricity extends Blob {
|
|||
ch.damage(Math.round(Random.Float(2 + Dungeon.depth / 5f)), this);
|
||||
if (!ch.isAlive() && ch == Dungeon.hero){
|
||||
Dungeon.fail( getClass() );
|
||||
//FIXME add other languages in next update
|
||||
if (SPDSettings.language() == Languages.ENGLISH) GLog.n( Messages.get(this, "ondeath") );
|
||||
GLog.n( Messages.get(this, "ondeath") );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1306,9 +1306,11 @@ public class Hero extends Char {
|
|||
|
||||
if (levelUp) {
|
||||
|
||||
GLog.p( Messages.get(this, "new_level"), lvl );
|
||||
sprite.showStatus( CharSprite.POSITIVE, Messages.get(Hero.class, "level_up") );
|
||||
Sample.INSTANCE.play( Assets.SND_LEVELUP );
|
||||
if (sprite != null) {
|
||||
GLog.p( Messages.get(this, "new_level"), lvl );
|
||||
sprite.showStatus( CharSprite.POSITIVE, Messages.get(Hero.class, "level_up") );
|
||||
Sample.INSTANCE.play( Assets.SND_LEVELUP );
|
||||
}
|
||||
|
||||
Item.updateQuickslot();
|
||||
|
||||
|
|
|
@ -104,7 +104,6 @@ public abstract class Recipe {
|
|||
|
||||
int[] needed = inQuantity.clone();
|
||||
|
||||
//TODO is this right?
|
||||
for (Item ingredient : ingredients){
|
||||
if (!ingredient.isIdentified()) return false;
|
||||
for (int i = 0; i < inputs.length; i++){
|
||||
|
|
|
@ -69,7 +69,6 @@ public class RingOfElements extends Ring {
|
|||
return new Resistance();
|
||||
}
|
||||
|
||||
//FIXME probably should add wands here
|
||||
public static final HashSet<Class> RESISTS = new HashSet<>();
|
||||
static {
|
||||
RESISTS.add( Burning.class );
|
||||
|
|
|
@ -55,7 +55,6 @@ public class SewerBossLevel extends SewerLevel {
|
|||
protected ArrayList<Room> initRooms() {
|
||||
ArrayList<Room> initRooms = new ArrayList<>();
|
||||
|
||||
//TODO it would be nice for these rooms to have some custom tile visuals
|
||||
initRooms.add( roomEntrance = new SewerBossEntranceRoom() );
|
||||
initRooms.add( roomExit = new SewerBossExitRoom() );
|
||||
|
||||
|
@ -67,7 +66,6 @@ public class SewerBossLevel extends SewerLevel {
|
|||
initRooms.add(s);
|
||||
}
|
||||
|
||||
//TODO need to improve the visual appearance of goo's nest
|
||||
GooBossRoom gooRoom = GooBossRoom.randomGooRoom();
|
||||
initRooms.add(gooRoom);
|
||||
((FigureEightBuilder)builder).setLandmarkRoom(gooRoom);
|
||||
|
|
|
@ -57,7 +57,6 @@ public abstract class GooBossRoom extends StandardRoom {
|
|||
level.customTiles.add(nest);
|
||||
}
|
||||
|
||||
//TODO no texturing on this atm
|
||||
public static class GooNest extends CustomTilemap {
|
||||
|
||||
{
|
||||
|
|
|
@ -74,8 +74,6 @@ public final class ShadowCaster {
|
|||
|
||||
}
|
||||
|
||||
//TODO this is slightly less permissive that the previous algorithm, decide if that's okay
|
||||
|
||||
//scans a single 45 degree octant of the FOV.
|
||||
//This can add up to a whole FOV by mirroring in X(mX), Y(mY), and X=Y(mXY)
|
||||
private static void scanOctant(int distance, boolean[] fov, boolean[] blocking, int row,
|
||||
|
|
Loading…
Reference in New Issue
Block a user