diff --git a/data/newtiles/blank.bmp b/data/newtiles/blank.bmp index 25506ba..a2970f3 100644 Binary files a/data/newtiles/blank.bmp and b/data/newtiles/blank.bmp differ diff --git a/edit.c b/edit.c index 75e7934..900a072 100644 --- a/edit.c +++ b/edit.c @@ -1019,72 +1019,12 @@ int isplacabletile(int tid) { } int isplacablesprite(int sid) { - switch (sid) { - case P_SPEED: - case P_NUMNETS: - case P_BIGNET: - case P_BLACKCLOUD: - case P_PINKCLOUD: - case P_SPIT: - case P_PUFF: - case P_SMASH: - case P_BOXING: - case P_GLOVE: - case P_DIAMOND: - case P_FTODIAMOND: - case P_FTOGEM: - case P_BOMB: - case P_SHIELD: - case P_MACEPOWERUP: - case P_MACE: - case P_GEMRED: - case P_GEMYELLOW: - case P_GEMPURPLE: - case P_SPRAY: - case P_CANNONPOWERUP: - case P_CANNON: - case P_TROPHY: - case P_SNOWMAN: - case P_RINGSILVER: - case P_RINGGOLD: - case P_CLOCK: - case P_BELL: - case P_ARMOUR: - case P_GEMBOOST: - case P_HELMET: - case P_PHONE: - case P_BUBBLE: - case P_HONEY: - case P_STARPOWERUP: - case P_STAR: - case P_UFO: - case P_METEOR: - case P_LIFE: - case P_BIGSPEED: - case P_BIGNUMNETS: - case P_MOVINGCARD: - case P_FIVECARDS: - case P_MASKPOWERUP: - case P_MASK: - case P_TAP: - case P_CLOVER: - case P_SKULL: - case P_WINGLEFT: - case P_WINGRIGHT: - case P_WINGBOOTS: - case P_ACCORDION: - case P_GUN: - case P_ZAPPOWERUP: - return B_FALSE; - } + if (sid == P_HELP) return B_TRUE; + if (sid == P_POWERUPPOS) return B_TRUE; + if (ismonster(sid) && (sid != P_BLACKCLOUD)) return B_TRUE; + if (isfruit(sid) == FT_GEM) return B_TRUE; - if (iseffect(sid) && (sid != P_POWERUPPOS)) { - return B_FALSE; - } - if (iscard(sid)) { - return B_FALSE; - } - return B_TRUE; + return B_FALSE; } // like drawtile but adjusts transparncy based on current layer