IMG_BD_ROCK
},
{
- EL_BD_ROCK, -1, GFX_ACTION_FALLING,
+ EL_BD_ROCK, -1, ACTION_FALLING,
IMG_BD_ROCK_FALLING
},
{
- EL_BD_ROCK, MV_LEFT, GFX_ACTION_MOVING,
+ EL_BD_ROCK, MV_LEFT, ACTION_MOVING,
IMG_BD_ROCK_MOVING_LEFT
},
{
- EL_BD_ROCK, MV_RIGHT, GFX_ACTION_MOVING,
+ EL_BD_ROCK, MV_RIGHT, ACTION_MOVING,
IMG_BD_ROCK_MOVING_RIGHT
},
{
IMG_BD_DIAMOND
},
{
- EL_BD_DIAMOND, -1, GFX_ACTION_MOVING,
+ EL_BD_DIAMOND, -1, ACTION_MOVING,
IMG_BD_DIAMOND_MOVING
},
{
- EL_BD_DIAMOND, -1, GFX_ACTION_FALLING,
+ EL_BD_DIAMOND, -1, ACTION_FALLING,
IMG_BD_DIAMOND_FALLING
},
{
IMG_BD_BUTTERFLY
},
{
- EL_BD_BUTTERFLY, -1, GFX_ACTION_MOVING,
+ EL_BD_BUTTERFLY, -1, ACTION_MOVING,
IMG_BD_BUTTERFLY_MOVING
},
{
IMG_BD_FIREFLY
},
{
- EL_BD_FIREFLY, -1, GFX_ACTION_MOVING,
+ EL_BD_FIREFLY, -1, ACTION_MOVING,
IMG_BD_FIREFLY_MOVING
},
{
IMG_SP_ZONK
},
{
- EL_SP_ZONK, -1, GFX_ACTION_FALLING,
+ EL_SP_ZONK, -1, ACTION_FALLING,
IMG_SP_ZONK_FALLING
},
{
- EL_SP_ZONK, MV_LEFT, GFX_ACTION_MOVING,
+ EL_SP_ZONK, MV_LEFT, ACTION_MOVING,
IMG_SP_ZONK_MOVING_LEFT
},
{
- EL_SP_ZONK, MV_RIGHT, GFX_ACTION_MOVING,
+ EL_SP_ZONK, MV_RIGHT, ACTION_MOVING,
IMG_SP_ZONK_MOVING_RIGHT
},
{
IMG_SP_MURPHY_LEFT
},
{
- EL_SP_MURPHY, MV_LEFT, GFX_ACTION_MOVING,
+ EL_SP_MURPHY, MV_LEFT, ACTION_MOVING,
IMG_SP_MURPHY_LEFT_MOVING
},
{
- EL_SP_MURPHY, MV_LEFT, GFX_ACTION_DIGGING,
+ EL_SP_MURPHY, MV_LEFT, ACTION_DIGGING,
IMG_SP_MURPHY_LEFT_DIGGING
},
{
- EL_SP_MURPHY, MV_LEFT, GFX_ACTION_PUSHING,
+ EL_SP_MURPHY, MV_LEFT, ACTION_PUSHING,
IMG_SP_MURPHY_LEFT_PUSHING
},
{
- EL_SP_MURPHY, MV_LEFT, GFX_ACTION_SNAPPING,
+ EL_SP_MURPHY, MV_LEFT, ACTION_SNAPPING,
IMG_SP_MURPHY_LEFT_SNAPPING
},
{
IMG_SP_MURPHY_RIGHT
},
{
- EL_SP_MURPHY, MV_RIGHT, GFX_ACTION_MOVING,
+ EL_SP_MURPHY, MV_RIGHT, ACTION_MOVING,
IMG_SP_MURPHY_RIGHT_MOVING
},
{
- EL_SP_MURPHY, MV_RIGHT, GFX_ACTION_DIGGING,
+ EL_SP_MURPHY, MV_RIGHT, ACTION_DIGGING,
IMG_SP_MURPHY_RIGHT_DIGGING
},
{
- EL_SP_MURPHY, MV_RIGHT, GFX_ACTION_PUSHING,
+ EL_SP_MURPHY, MV_RIGHT, ACTION_PUSHING,
IMG_SP_MURPHY_RIGHT_PUSHING
},
{
- EL_SP_MURPHY, MV_RIGHT, GFX_ACTION_SNAPPING,
+ EL_SP_MURPHY, MV_RIGHT, ACTION_SNAPPING,
IMG_SP_MURPHY_RIGHT_SNAPPING
},
{
IMG_SP_MURPHY_UP
},
{
- EL_SP_MURPHY, MV_UP, GFX_ACTION_SNAPPING,
+ EL_SP_MURPHY, MV_UP, ACTION_SNAPPING,
IMG_SP_MURPHY_UP_SNAPPING
},
{
IMG_SP_MURPHY_DOWN
},
{
- EL_SP_MURPHY, MV_DOWN, GFX_ACTION_SNAPPING,
+ EL_SP_MURPHY, MV_DOWN, ACTION_SNAPPING,
IMG_SP_MURPHY_DOWN_SNAPPING
},
{
IMG_SP_INFOTRON
},
{
- EL_SP_INFOTRON, -1, GFX_ACTION_FALLING,
+ EL_SP_INFOTRON, -1, ACTION_FALLING,
IMG_SP_INFOTRON_FALLING
},
{
IMG_SP_DISK_ORANGE
},
{
- EL_SP_DISK_ORANGE, -1, GFX_ACTION_FALLING,
+ EL_SP_DISK_ORANGE, -1, ACTION_FALLING,
IMG_SP_DISK_ORANGE_FALLING
},
{
- EL_SP_DISK_ORANGE, -1, GFX_ACTION_PUSHING,
+ EL_SP_DISK_ORANGE, -1, ACTION_PUSHING,
IMG_SP_DISK_ORANGE_PUSHING
},
{
IMG_SP_DISK_YELLOW
},
{
- EL_SP_DISK_YELLOW, -1, GFX_ACTION_PUSHING,
+ EL_SP_DISK_YELLOW, -1, ACTION_PUSHING,
IMG_SP_DISK_YELLOW_PUSHING
},
{
IMG_SP_DISK_RED
},
{
- EL_SP_DISK_RED, -1, GFX_ACTION_COLLECTING,
+ EL_SP_DISK_RED, -1, ACTION_COLLECTING,
IMG_SP_DISK_RED_COLLECTING
},
{
IMG_ROCK
},
{
- EL_ROCK, -1, GFX_ACTION_FALLING,
+ EL_ROCK, -1, ACTION_FALLING,
IMG_ROCK_FALLING
},
{
- EL_ROCK, MV_LEFT, GFX_ACTION_MOVING,
+ EL_ROCK, MV_LEFT, ACTION_MOVING,
IMG_ROCK_MOVING_LEFT
},
{
- EL_ROCK, MV_RIGHT, GFX_ACTION_MOVING,
+ EL_ROCK, MV_RIGHT, ACTION_MOVING,
IMG_ROCK_MOVING_RIGHT
},
{
IMG_EMERALD
},
{
- EL_EMERALD, -1, GFX_ACTION_MOVING,
+ EL_EMERALD, -1, ACTION_MOVING,
IMG_EMERALD_MOVING
},
{
- EL_EMERALD, -1, GFX_ACTION_FALLING,
+ EL_EMERALD, -1, ACTION_FALLING,
IMG_EMERALD_FALLING
},
{
IMG_DIAMOND
},
{
- EL_DIAMOND, -1, GFX_ACTION_MOVING,
+ EL_DIAMOND, -1, ACTION_MOVING,
IMG_DIAMOND_MOVING
},
{
- EL_DIAMOND, -1, GFX_ACTION_FALLING,
+ EL_DIAMOND, -1, ACTION_FALLING,
IMG_DIAMOND_FALLING
},
{
IMG_NUT
},
{
- EL_NUT, -1, GFX_ACTION_FALLING,
+ EL_NUT, -1, ACTION_FALLING,
IMG_NUT_FALLING
},
{
- EL_NUT, MV_LEFT, GFX_ACTION_MOVING,
+ EL_NUT, MV_LEFT, ACTION_MOVING,
IMG_NUT_MOVING_LEFT
},
{
- EL_NUT, MV_RIGHT, GFX_ACTION_MOVING,
+ EL_NUT, MV_RIGHT, ACTION_MOVING,
IMG_NUT_MOVING_RIGHT
},
{
IMG_YAMYAM
},
{
- EL_YAMYAM, -1, GFX_ACTION_MOVING,
+ EL_YAMYAM, -1, ACTION_MOVING,
IMG_YAMYAM_MOVING
},
{
IMG_ROBOT
},
{
- EL_ROBOT, -1, GFX_ACTION_MOVING,
+ EL_ROBOT, -1, ACTION_MOVING,
IMG_ROBOT_MOVING
},
{
IMG_AMOEBA_FULL
},
{
- EL_AMOEBA_FULL, -1, GFX_ACTION_OTHER,
+ EL_AMOEBA_FULL, -1, ACTION_OTHER,
IMG_AMOEBA_FULL_PART1
},
{
- EL_AMOEBA_FULL, -1, GFX_ACTION_OTHER,
+ EL_AMOEBA_FULL, -1, ACTION_OTHER,
IMG_AMOEBA_FULL_PART2
},
{
- EL_AMOEBA_FULL, -1, GFX_ACTION_OTHER,
+ EL_AMOEBA_FULL, -1, ACTION_OTHER,
IMG_AMOEBA_FULL_PART3
},
{
- EL_AMOEBA_FULL, -1, GFX_ACTION_OTHER,
+ EL_AMOEBA_FULL, -1, ACTION_OTHER,
IMG_AMOEBA_FULL_PART4
},
{
IMG_BALLOON
},
{
- EL_BALLOON, -1, GFX_ACTION_MOVING,
+ EL_BALLOON, -1, ACTION_MOVING,
IMG_BALLOON_MOVING
},
{
IMG_SPRING
},
{
- EL_SPRING, -1, GFX_ACTION_MOVING,
+ EL_SPRING, -1, ACTION_MOVING,
IMG_SPRING_MOVING
},
{
IMG_EMERALD_YELLOW
},
{
- EL_EMERALD_YELLOW, -1, GFX_ACTION_MOVING,
+ EL_EMERALD_YELLOW, -1, ACTION_MOVING,
IMG_EMERALD_YELLOW_MOVING
},
{
- EL_EMERALD_YELLOW, -1, GFX_ACTION_FALLING,
+ EL_EMERALD_YELLOW, -1, ACTION_FALLING,
IMG_EMERALD_YELLOW_FALLING
},
{
IMG_EMERALD_RED
},
{
- EL_EMERALD_RED, -1, GFX_ACTION_MOVING,
+ EL_EMERALD_RED, -1, ACTION_MOVING,
IMG_EMERALD_RED_MOVING
},
{
- EL_EMERALD_RED, -1, GFX_ACTION_FALLING,
+ EL_EMERALD_RED, -1, ACTION_FALLING,
IMG_EMERALD_RED_FALLING
},
{
IMG_EMERALD_PURPLE
},
{
- EL_EMERALD_PURPLE, -1, GFX_ACTION_MOVING,
+ EL_EMERALD_PURPLE, -1, ACTION_MOVING,
IMG_EMERALD_PURPLE_MOVING
},
{
- EL_EMERALD_PURPLE, -1, GFX_ACTION_FALLING,
+ EL_EMERALD_PURPLE, -1, ACTION_FALLING,
IMG_EMERALD_PURPLE_FALLING
},
{
IMG_PIG_DOWN
},
{
- EL_PIG, MV_DOWN, GFX_ACTION_MOVING,
+ EL_PIG, MV_DOWN, ACTION_MOVING,
IMG_PIG_DOWN_MOVING
},
{
- EL_PIG, MV_DOWN, GFX_ACTION_EATING,
+ EL_PIG, MV_DOWN, ACTION_EATING,
IMG_PIG_DOWN_EATING
},
{
IMG_PIG_UP
},
{
- EL_PIG, MV_UP, GFX_ACTION_MOVING,
+ EL_PIG, MV_UP, ACTION_MOVING,
IMG_PIG_UP_MOVING
},
{
- EL_PIG, MV_UP, GFX_ACTION_EATING,
+ EL_PIG, MV_UP, ACTION_EATING,
IMG_PIG_UP_EATING
},
{
IMG_PIG_LEFT
},
{
- EL_PIG, MV_LEFT, GFX_ACTION_MOVING,
+ EL_PIG, MV_LEFT, ACTION_MOVING,
IMG_PIG_LEFT_MOVING
},
{
- EL_PIG, MV_LEFT, GFX_ACTION_EATING,
+ EL_PIG, MV_LEFT, ACTION_EATING,
IMG_PIG_LEFT_EATING
},
{
IMG_PIG_RIGHT
},
{
- EL_PIG, MV_RIGHT, GFX_ACTION_MOVING,
+ EL_PIG, MV_RIGHT, ACTION_MOVING,
IMG_PIG_RIGHT_MOVING
},
{
- EL_PIG, MV_RIGHT, GFX_ACTION_EATING,
+ EL_PIG, MV_RIGHT, ACTION_EATING,
IMG_PIG_RIGHT_EATING
},
{
IMG_DRAGON_DOWN
},
{
- EL_DRAGON, MV_DOWN, GFX_ACTION_MOVING,
+ EL_DRAGON, MV_DOWN, ACTION_MOVING,
IMG_DRAGON_DOWN_MOVING
},
{
- EL_DRAGON, MV_DOWN, GFX_ACTION_ATTACKING,
+ EL_DRAGON, MV_DOWN, ACTION_ATTACKING,
IMG_DRAGON_DOWN_ATTACKING
},
{
IMG_DRAGON_UP
},
{
- EL_DRAGON, MV_UP, GFX_ACTION_MOVING,
+ EL_DRAGON, MV_UP, ACTION_MOVING,
IMG_DRAGON_UP_MOVING
},
{
- EL_DRAGON, MV_UP, GFX_ACTION_ATTACKING,
+ EL_DRAGON, MV_UP, ACTION_ATTACKING,
IMG_DRAGON_UP_ATTACKING
},
{
IMG_DRAGON_LEFT
},
{
- EL_DRAGON, MV_LEFT, GFX_ACTION_MOVING,
+ EL_DRAGON, MV_LEFT, ACTION_MOVING,
IMG_DRAGON_LEFT_MOVING
},
{
- EL_DRAGON, MV_LEFT, GFX_ACTION_ATTACKING,
+ EL_DRAGON, MV_LEFT, ACTION_ATTACKING,
IMG_DRAGON_LEFT_ATTACKING
},
{
IMG_DRAGON_RIGHT
},
{
- EL_DRAGON, MV_RIGHT, GFX_ACTION_MOVING,
+ EL_DRAGON, MV_RIGHT, ACTION_MOVING,
IMG_DRAGON_RIGHT_MOVING
},
{
- EL_DRAGON, MV_RIGHT, GFX_ACTION_ATTACKING,
+ EL_DRAGON, MV_RIGHT, ACTION_ATTACKING,
IMG_DRAGON_RIGHT_ATTACKING
},
{
IMG_MOLE_DOWN
},
{
- EL_MOLE_DOWN, -1, GFX_ACTION_MOVING,
+ EL_MOLE_DOWN, -1, ACTION_MOVING,
IMG_MOLE_DOWN_MOVING
},
{
- EL_MOLE, MV_DOWN, GFX_ACTION_MOVING,
+ EL_MOLE, MV_DOWN, ACTION_MOVING,
IMG_MOLE_DOWN_MOVING
},
{
- EL_MOLE_DOWN, -1, GFX_ACTION_DIGGING,
+ EL_MOLE_DOWN, -1, ACTION_DIGGING,
IMG_MOLE_DOWN_DIGGING
},
{
- EL_MOLE, MV_DOWN, GFX_ACTION_DIGGING,
+ EL_MOLE, MV_DOWN, ACTION_DIGGING,
IMG_MOLE_DOWN_DIGGING
},
{
IMG_MOLE_UP
},
{
- EL_MOLE_UP, -1, GFX_ACTION_MOVING,
+ EL_MOLE_UP, -1, ACTION_MOVING,
IMG_MOLE_UP_MOVING
},
{
- EL_MOLE, MV_UP, GFX_ACTION_MOVING,
+ EL_MOLE, MV_UP, ACTION_MOVING,
IMG_MOLE_UP_MOVING
},
{
- EL_MOLE_UP, -1, GFX_ACTION_DIGGING,
+ EL_MOLE_UP, -1, ACTION_DIGGING,
IMG_MOLE_UP_DIGGING
},
{
- EL_MOLE, MV_UP, GFX_ACTION_DIGGING,
+ EL_MOLE, MV_UP, ACTION_DIGGING,
IMG_MOLE_UP_DIGGING
},
{
IMG_MOLE_LEFT
},
{
- EL_MOLE_LEFT, -1, GFX_ACTION_MOVING,
+ EL_MOLE_LEFT, -1, ACTION_MOVING,
IMG_MOLE_LEFT_MOVING
},
{
- EL_MOLE, MV_LEFT, GFX_ACTION_MOVING,
+ EL_MOLE, MV_LEFT, ACTION_MOVING,
IMG_MOLE_LEFT_MOVING
},
{
- EL_MOLE_LEFT, -1, GFX_ACTION_DIGGING,
+ EL_MOLE_LEFT, -1, ACTION_DIGGING,
IMG_MOLE_LEFT_DIGGING
},
{
- EL_MOLE, MV_LEFT, GFX_ACTION_DIGGING,
+ EL_MOLE, MV_LEFT, ACTION_DIGGING,
IMG_MOLE_LEFT_DIGGING
},
{
IMG_MOLE_RIGHT
},
{
- EL_MOLE_RIGHT, -1, GFX_ACTION_MOVING,
+ EL_MOLE_RIGHT, -1, ACTION_MOVING,
IMG_MOLE_RIGHT_MOVING
},
{
- EL_MOLE, MV_RIGHT, GFX_ACTION_MOVING,
+ EL_MOLE, MV_RIGHT, ACTION_MOVING,
IMG_MOLE_RIGHT_MOVING
},
{
- EL_MOLE_RIGHT, -1, GFX_ACTION_DIGGING,
+ EL_MOLE_RIGHT, -1, ACTION_DIGGING,
IMG_MOLE_RIGHT_DIGGING
},
{
- EL_MOLE, MV_RIGHT, GFX_ACTION_DIGGING,
+ EL_MOLE, MV_RIGHT, ACTION_DIGGING,
IMG_MOLE_RIGHT_DIGGING
},
{
IMG_PENGUIN_DOWN
},
{
- EL_PENGUIN, MV_DOWN, GFX_ACTION_MOVING,
+ EL_PENGUIN, MV_DOWN, ACTION_MOVING,
IMG_PENGUIN_DOWN_MOVING
},
{
IMG_PENGUIN_UP
},
{
- EL_PENGUIN, MV_UP, GFX_ACTION_MOVING,
+ EL_PENGUIN, MV_UP, ACTION_MOVING,
IMG_PENGUIN_UP_MOVING
},
{
IMG_PENGUIN_LEFT
},
{
- EL_PENGUIN, MV_LEFT, GFX_ACTION_MOVING,
+ EL_PENGUIN, MV_LEFT, ACTION_MOVING,
IMG_PENGUIN_LEFT_MOVING
},
{
IMG_PENGUIN_RIGHT
},
{
- EL_PENGUIN, MV_RIGHT, GFX_ACTION_MOVING,
+ EL_PENGUIN, MV_RIGHT, ACTION_MOVING,
IMG_PENGUIN_RIGHT_MOVING
},
{
IMG_SATELLITE
},
{
- EL_SATELLITE, -1, GFX_ACTION_MOVING,
+ EL_SATELLITE, -1, ACTION_MOVING,
IMG_SATELLITE_MOVING
},
{
IMG_PLAYER1_DOWN
},
{
- EL_PLAYER1, MV_DOWN, GFX_ACTION_MOVING,
+ EL_PLAYER1, MV_DOWN, ACTION_MOVING,
IMG_PLAYER1_DOWN_MOVING
},
{
- EL_PLAYER1, MV_DOWN, GFX_ACTION_DIGGING,
+ EL_PLAYER1, MV_DOWN, ACTION_DIGGING,
IMG_PLAYER1_DOWN_DIGGING
},
{
- EL_PLAYER1, MV_DOWN, GFX_ACTION_PUSHING,
+ EL_PLAYER1, MV_DOWN, ACTION_PUSHING,
IMG_PLAYER1_DOWN_PUSHING
},
{
- EL_PLAYER1, MV_DOWN, GFX_ACTION_SNAPPING,
+ EL_PLAYER1, MV_DOWN, ACTION_SNAPPING,
IMG_PLAYER1_DOWN_SNAPPING
},
{
IMG_PLAYER1_UP
},
{
- EL_PLAYER1, MV_UP, GFX_ACTION_MOVING,
+ EL_PLAYER1, MV_UP, ACTION_MOVING,
IMG_PLAYER1_UP_MOVING
},
{
- EL_PLAYER1, MV_UP, GFX_ACTION_DIGGING,
+ EL_PLAYER1, MV_UP, ACTION_DIGGING,
IMG_PLAYER1_UP_DIGGING
},
{
- EL_PLAYER1, MV_UP, GFX_ACTION_PUSHING,
+ EL_PLAYER1, MV_UP, ACTION_PUSHING,
IMG_PLAYER1_UP_PUSHING
},
{
- EL_PLAYER1, MV_UP, GFX_ACTION_SNAPPING,
+ EL_PLAYER1, MV_UP, ACTION_SNAPPING,
IMG_PLAYER1_UP_SNAPPING
},
{
IMG_PLAYER1_LEFT
},
{
- EL_PLAYER1, MV_LEFT, GFX_ACTION_MOVING,
+ EL_PLAYER1, MV_LEFT, ACTION_MOVING,
IMG_PLAYER1_LEFT_MOVING
},
{
- EL_PLAYER1, MV_LEFT, GFX_ACTION_DIGGING,
+ EL_PLAYER1, MV_LEFT, ACTION_DIGGING,
IMG_PLAYER1_LEFT_DIGGING
},
{
- EL_PLAYER1, MV_LEFT, GFX_ACTION_PUSHING,
+ EL_PLAYER1, MV_LEFT, ACTION_PUSHING,
IMG_PLAYER1_LEFT_PUSHING
},
{
- EL_PLAYER1, MV_LEFT, GFX_ACTION_SNAPPING,
+ EL_PLAYER1, MV_LEFT, ACTION_SNAPPING,
IMG_PLAYER1_LEFT_SNAPPING
},
{
IMG_PLAYER1_RIGHT
},
{
- EL_PLAYER1, MV_RIGHT, GFX_ACTION_MOVING,
+ EL_PLAYER1, MV_RIGHT, ACTION_MOVING,
IMG_PLAYER1_RIGHT_MOVING
},
{
- EL_PLAYER1, MV_RIGHT, GFX_ACTION_DIGGING,
+ EL_PLAYER1, MV_RIGHT, ACTION_DIGGING,
IMG_PLAYER1_RIGHT_DIGGING
},
{
- EL_PLAYER1, MV_RIGHT, GFX_ACTION_PUSHING,
+ EL_PLAYER1, MV_RIGHT, ACTION_PUSHING,
IMG_PLAYER1_RIGHT_PUSHING
},
{
- EL_PLAYER1, MV_RIGHT, GFX_ACTION_SNAPPING,
+ EL_PLAYER1, MV_RIGHT, ACTION_SNAPPING,
IMG_PLAYER1_RIGHT_SNAPPING
},
{
IMG_PLAYER2_DOWN
},
{
- EL_PLAYER2, MV_DOWN, GFX_ACTION_MOVING,
+ EL_PLAYER2, MV_DOWN, ACTION_MOVING,
IMG_PLAYER2_DOWN_MOVING
},
{
- EL_PLAYER2, MV_DOWN, GFX_ACTION_DIGGING,
+ EL_PLAYER2, MV_DOWN, ACTION_DIGGING,
IMG_PLAYER2_DOWN_DIGGING
},
{
- EL_PLAYER2, MV_DOWN, GFX_ACTION_PUSHING,
+ EL_PLAYER2, MV_DOWN, ACTION_PUSHING,
IMG_PLAYER2_DOWN_PUSHING
},
{
- EL_PLAYER2, MV_DOWN, GFX_ACTION_SNAPPING,
+ EL_PLAYER2, MV_DOWN, ACTION_SNAPPING,
IMG_PLAYER2_DOWN_SNAPPING
},
{
IMG_PLAYER2_UP
},
{
- EL_PLAYER2, MV_UP, GFX_ACTION_MOVING,
+ EL_PLAYER2, MV_UP, ACTION_MOVING,
IMG_PLAYER2_UP_MOVING
},
{
- EL_PLAYER2, MV_UP, GFX_ACTION_DIGGING,
+ EL_PLAYER2, MV_UP, ACTION_DIGGING,
IMG_PLAYER2_UP_DIGGING
},
{
- EL_PLAYER2, MV_UP, GFX_ACTION_PUSHING,
+ EL_PLAYER2, MV_UP, ACTION_PUSHING,
IMG_PLAYER2_UP_PUSHING
},
{
- EL_PLAYER2, MV_UP, GFX_ACTION_SNAPPING,
+ EL_PLAYER2, MV_UP, ACTION_SNAPPING,
IMG_PLAYER2_UP_SNAPPING
},
{
IMG_PLAYER2_LEFT
},
{
- EL_PLAYER2, MV_LEFT, GFX_ACTION_MOVING,
+ EL_PLAYER2, MV_LEFT, ACTION_MOVING,
IMG_PLAYER2_LEFT_MOVING
},
{
- EL_PLAYER2, MV_LEFT, GFX_ACTION_DIGGING,
+ EL_PLAYER2, MV_LEFT, ACTION_DIGGING,
IMG_PLAYER2_LEFT_DIGGING
},
{
- EL_PLAYER2, MV_LEFT, GFX_ACTION_PUSHING,
+ EL_PLAYER2, MV_LEFT, ACTION_PUSHING,
IMG_PLAYER2_LEFT_PUSHING
},
{
- EL_PLAYER2, MV_LEFT, GFX_ACTION_SNAPPING,
+ EL_PLAYER2, MV_LEFT, ACTION_SNAPPING,
IMG_PLAYER2_LEFT_SNAPPING
},
{
IMG_PLAYER2_RIGHT
},
{
- EL_PLAYER2, MV_RIGHT, GFX_ACTION_MOVING,
+ EL_PLAYER2, MV_RIGHT, ACTION_MOVING,
IMG_PLAYER2_RIGHT_MOVING
},
{
- EL_PLAYER2, MV_RIGHT, GFX_ACTION_DIGGING,
+ EL_PLAYER2, MV_RIGHT, ACTION_DIGGING,
IMG_PLAYER2_RIGHT_DIGGING
},
{
- EL_PLAYER2, MV_RIGHT, GFX_ACTION_PUSHING,
+ EL_PLAYER2, MV_RIGHT, ACTION_PUSHING,
IMG_PLAYER2_RIGHT_PUSHING
},
{
- EL_PLAYER2, MV_RIGHT, GFX_ACTION_SNAPPING,
+ EL_PLAYER2, MV_RIGHT, ACTION_SNAPPING,
IMG_PLAYER2_RIGHT_SNAPPING
},
{
IMG_PLAYER3_DOWN
},
{
- EL_PLAYER3, MV_DOWN, GFX_ACTION_MOVING,
+ EL_PLAYER3, MV_DOWN, ACTION_MOVING,
IMG_PLAYER3_DOWN_MOVING
},
{
- EL_PLAYER3, MV_DOWN, GFX_ACTION_DIGGING,
+ EL_PLAYER3, MV_DOWN, ACTION_DIGGING,
IMG_PLAYER3_DOWN_DIGGING
},
{
- EL_PLAYER3, MV_DOWN, GFX_ACTION_PUSHING,
+ EL_PLAYER3, MV_DOWN, ACTION_PUSHING,
IMG_PLAYER3_DOWN_PUSHING
},
{
- EL_PLAYER3, MV_DOWN, GFX_ACTION_SNAPPING,
+ EL_PLAYER3, MV_DOWN, ACTION_SNAPPING,
IMG_PLAYER3_DOWN_SNAPPING
},
{
IMG_PLAYER3_UP
},
{
- EL_PLAYER3, MV_UP, GFX_ACTION_MOVING,
+ EL_PLAYER3, MV_UP, ACTION_MOVING,
IMG_PLAYER3_UP_MOVING
},
{
- EL_PLAYER3, MV_UP, GFX_ACTION_DIGGING,
+ EL_PLAYER3, MV_UP, ACTION_DIGGING,
IMG_PLAYER3_UP_DIGGING
},
{
- EL_PLAYER3, MV_UP, GFX_ACTION_PUSHING,
+ EL_PLAYER3, MV_UP, ACTION_PUSHING,
IMG_PLAYER3_UP_PUSHING
},
{
- EL_PLAYER3, MV_UP, GFX_ACTION_SNAPPING,
+ EL_PLAYER3, MV_UP, ACTION_SNAPPING,
IMG_PLAYER3_UP_SNAPPING
},
{
IMG_PLAYER3_LEFT
},
{
- EL_PLAYER3, MV_LEFT, GFX_ACTION_MOVING,
+ EL_PLAYER3, MV_LEFT, ACTION_MOVING,
IMG_PLAYER3_LEFT_MOVING
},
{
- EL_PLAYER3, MV_LEFT, GFX_ACTION_DIGGING,
+ EL_PLAYER3, MV_LEFT, ACTION_DIGGING,
IMG_PLAYER3_LEFT_DIGGING
},
{
- EL_PLAYER3, MV_LEFT, GFX_ACTION_PUSHING,
+ EL_PLAYER3, MV_LEFT, ACTION_PUSHING,
IMG_PLAYER3_LEFT_PUSHING
},
{
- EL_PLAYER3, MV_LEFT, GFX_ACTION_SNAPPING,
+ EL_PLAYER3, MV_LEFT, ACTION_SNAPPING,
IMG_PLAYER3_LEFT_SNAPPING
},
{
IMG_PLAYER3_RIGHT
},
{
- EL_PLAYER3, MV_RIGHT, GFX_ACTION_MOVING,
+ EL_PLAYER3, MV_RIGHT, ACTION_MOVING,
IMG_PLAYER3_RIGHT_MOVING
},
{
- EL_PLAYER3, MV_RIGHT, GFX_ACTION_DIGGING,
+ EL_PLAYER3, MV_RIGHT, ACTION_DIGGING,
IMG_PLAYER3_RIGHT_DIGGING
},
{
- EL_PLAYER3, MV_RIGHT, GFX_ACTION_PUSHING,
+ EL_PLAYER3, MV_RIGHT, ACTION_PUSHING,
IMG_PLAYER3_RIGHT_PUSHING
},
{
- EL_PLAYER3, MV_RIGHT, GFX_ACTION_SNAPPING,
+ EL_PLAYER3, MV_RIGHT, ACTION_SNAPPING,
IMG_PLAYER3_RIGHT_SNAPPING
},
{
IMG_PLAYER4_DOWN
},
{
- EL_PLAYER4, MV_DOWN, GFX_ACTION_MOVING,
+ EL_PLAYER4, MV_DOWN, ACTION_MOVING,
IMG_PLAYER4_DOWN_MOVING
},
{
- EL_PLAYER4, MV_DOWN, GFX_ACTION_DIGGING,
+ EL_PLAYER4, MV_DOWN, ACTION_DIGGING,
IMG_PLAYER4_DOWN_DIGGING
},
{
- EL_PLAYER4, MV_DOWN, GFX_ACTION_PUSHING,
+ EL_PLAYER4, MV_DOWN, ACTION_PUSHING,
IMG_PLAYER4_DOWN_PUSHING
},
{
- EL_PLAYER4, MV_DOWN, GFX_ACTION_SNAPPING,
+ EL_PLAYER4, MV_DOWN, ACTION_SNAPPING,
IMG_PLAYER4_DOWN_SNAPPING
},
{
IMG_PLAYER4_UP
},
{
- EL_PLAYER4, MV_UP, GFX_ACTION_MOVING,
+ EL_PLAYER4, MV_UP, ACTION_MOVING,
IMG_PLAYER4_UP_MOVING
},
{
- EL_PLAYER4, MV_UP, GFX_ACTION_DIGGING,
+ EL_PLAYER4, MV_UP, ACTION_DIGGING,
IMG_PLAYER4_UP_DIGGING
},
{
- EL_PLAYER4, MV_UP, GFX_ACTION_PUSHING,
+ EL_PLAYER4, MV_UP, ACTION_PUSHING,
IMG_PLAYER4_UP_PUSHING
},
{
- EL_PLAYER4, MV_UP, GFX_ACTION_SNAPPING,
+ EL_PLAYER4, MV_UP, ACTION_SNAPPING,
IMG_PLAYER4_UP_SNAPPING
},
{
IMG_PLAYER4_LEFT
},
{
- EL_PLAYER4, MV_LEFT, GFX_ACTION_MOVING,
+ EL_PLAYER4, MV_LEFT, ACTION_MOVING,
IMG_PLAYER4_LEFT_MOVING
},
{
- EL_PLAYER4, MV_LEFT, GFX_ACTION_DIGGING,
+ EL_PLAYER4, MV_LEFT, ACTION_DIGGING,
IMG_PLAYER4_LEFT_DIGGING
},
{
- EL_PLAYER4, MV_LEFT, GFX_ACTION_PUSHING,
+ EL_PLAYER4, MV_LEFT, ACTION_PUSHING,
IMG_PLAYER4_LEFT_PUSHING
},
{
- EL_PLAYER4, MV_LEFT, GFX_ACTION_SNAPPING,
+ EL_PLAYER4, MV_LEFT, ACTION_SNAPPING,
IMG_PLAYER4_LEFT_SNAPPING
},
{
IMG_PLAYER4_RIGHT
},
{
- EL_PLAYER4, MV_RIGHT, GFX_ACTION_MOVING,
+ EL_PLAYER4, MV_RIGHT, ACTION_MOVING,
IMG_PLAYER4_RIGHT_MOVING
},
{
- EL_PLAYER4, MV_RIGHT, GFX_ACTION_DIGGING,
+ EL_PLAYER4, MV_RIGHT, ACTION_DIGGING,
IMG_PLAYER4_RIGHT_DIGGING
},
{
- EL_PLAYER4, MV_RIGHT, GFX_ACTION_PUSHING,
+ EL_PLAYER4, MV_RIGHT, ACTION_PUSHING,
IMG_PLAYER4_RIGHT_PUSHING
},
{
- EL_PLAYER4, MV_RIGHT, GFX_ACTION_SNAPPING,
+ EL_PLAYER4, MV_RIGHT, ACTION_SNAPPING,
IMG_PLAYER4_RIGHT_SNAPPING
},
{
/* sound definitions */
/* ------------------------------------------------------------------------- */
-#define SND_ACTION_UNKNOWN 0
-#define SND_ACTION_WAITING 1
-#define SND_ACTION_MOVING 2
-#define SND_ACTION_DIGGING 3
-#define SND_ACTION_COLLECTING 4
-#define SND_ACTION_PASSING 5
-#define SND_ACTION_IMPACT 6
-#define SND_ACTION_PUSHING 7
-#define SND_ACTION_ACTIVATING 8
-#define SND_ACTION_ACTIVE 9
-
-#define NUM_SND_ACTIONS 10
-
static struct
{
char *text;
} sound_action_properties[] =
{
/* insert _all_ loop sound actions here */
- { ".waiting", SND_ACTION_WAITING, TRUE },
- { ".moving", SND_ACTION_MOVING, TRUE }, /* continuos moving */
- { ".active", SND_ACTION_ACTIVE, TRUE },
- { ".growing", SND_ACTION_UNKNOWN, TRUE },
- { ".attacking", SND_ACTION_UNKNOWN, TRUE },
+ { ".waiting", ACTION_WAITING, TRUE },
+ { ".moving", ACTION_MOVING, TRUE }, /* continuos moving */
+ { ".active", ACTION_ACTIVE, TRUE },
+ { ".growing", ACTION_GROWING, TRUE },
+ { ".attacking", ACTION_ATTACKING, TRUE },
/* other (non-loop) sound actions are optional */
- { ".stepping", SND_ACTION_MOVING, FALSE }, /* discrete moving */
- { ".digging", SND_ACTION_DIGGING, FALSE },
- { ".collecting", SND_ACTION_COLLECTING, FALSE },
- { ".passing", SND_ACTION_PASSING, FALSE },
- { ".impact", SND_ACTION_IMPACT, FALSE },
- { ".pushing", SND_ACTION_PUSHING, FALSE },
- { ".activating", SND_ACTION_ACTIVATING, FALSE },
+ { ".stepping", ACTION_MOVING, FALSE }, /* discrete moving */
+ { ".digging", ACTION_DIGGING, FALSE },
+ { ".collecting", ACTION_COLLECTING, FALSE },
+ { ".passing", ACTION_PASSING, FALSE },
+ { ".impact", ACTION_IMPACT, FALSE },
+ { ".pushing", ACTION_PUSHING, FALSE },
+ { ".activating", ACTION_ACTIVATING, FALSE },
{ NULL, 0, 0 },
};
-static int element_action_sound[MAX_NUM_ELEMENTS][NUM_SND_ACTIONS];
+static int element_action_sound[MAX_NUM_ELEMENTS][NUM_ACTIONS];
static boolean is_loop_sound[NUM_SOUND_FILES];
#define IS_LOOP_SOUND(x) (is_loop_sound[x])
/* initialize sound effect for all elements to "no sound" */
for (i=0; i<MAX_NUM_ELEMENTS; i++)
- for (j=0; j<NUM_SND_ACTIONS; j++)
+ for (j=0; j<NUM_ACTIONS; j++)
element_action_sound[i][j] = -1;
for (i=0; i<NUM_SOUND_FILES; i++)
{
int len_effect_text = strlen(sound_files[i].token);
- sound_effect_properties[i] = SND_ACTION_UNKNOWN;
+ sound_effect_properties[i] = ACTION_OTHER;
is_loop_sound[i] = FALSE;
/* determine all loop sounds and identify certain sound classes */
/* TEST ONLY */
{
int element = EL_SAND;
- int sound_action = SND_ACTION_DIGGING;
+ int sound_action = ACTION_DIGGING;
int j = 0;
while (sound_action_properties[j].text)
ExplodeField[x][y] = EX_NO_EXPLOSION;
GfxFrame[x][y] = 0;
- GfxAction[x][y] = GFX_ACTION_DEFAULT;
+ GfxAction[x][y] = ACTION_DEFAULT;
}
}
Feld[newx][newy] = EL_BLOCKED;
if (direction == MV_DOWN && CAN_FALL(element))
- GfxAction[x][y] = GFX_ACTION_FALLING;
+ GfxAction[x][y] = ACTION_FALLING;
else
- GfxAction[x][y] = GFX_ACTION_MOVING;
+ GfxAction[x][y] = ACTION_MOVING;
}
void Moving2Blocked(int x, int y, int *goes_to_x, int *goes_to_y)
Feld[newx][newy] = EL_EMPTY;
MovPos[oldx][oldy] = MovDir[oldx][oldy] = MovDelay[oldx][oldy] = 0;
MovPos[newx][newy] = MovDir[newx][newy] = MovDelay[newx][newy] = 0;
- GfxAction[oldx][oldy] = GfxAction[newx][newy] = GFX_ACTION_DEFAULT;
+ GfxAction[oldx][oldy] = GfxAction[newx][newy] = ACTION_DEFAULT;
DrawLevelField(oldx, oldy);
DrawLevelField(newx, newy);
if (checkDrawLevelGraphicAnimation(x, y, el2img(element)))
DrawDynamite(x, y);
- PlaySoundLevelAction(x, y, SND_ACTION_ACTIVE);
+ PlaySoundLevelAction(x, y, ACTION_ACTIVE);
return;
}
/* play sound of object that hits the ground */
if (lastline || object_hit)
- PlaySoundLevelElementAction(x, y, element, SND_ACTION_IMPACT);
+ PlaySoundLevelElementAction(x, y, element, ACTION_IMPACT);
}
void TurnRound(int x, int y)
if (Stop[x][y])
return;
- GfxAction[x][y] = GFX_ACTION_DEFAULT;
+ GfxAction[x][y] = ACTION_DEFAULT;
if (CAN_FALL(element) && y < lev_fieldy - 1)
{
InitMovingField(x, y, belt_dir);
started_moving = TRUE;
- GfxAction[x][y] = GFX_ACTION_DEFAULT;
+ GfxAction[x][y] = ACTION_DEFAULT;
}
}
}
if (MovDelay[x][y]) /* element still has to wait some time */
{
- PlaySoundLevelAction(x, y, SND_ACTION_WAITING);
+ PlaySoundLevelAction(x, y, ACTION_WAITING);
return;
}
if (DONT_TOUCH(element))
TestIfBadThingTouchesHero(x, y);
- PlaySoundLevelAction(x, y, SND_ACTION_WAITING);
+ PlaySoundLevelAction(x, y, ACTION_WAITING);
return;
}
InitMovingField(x, y, MovDir[x][y]);
- PlaySoundLevelAction(x, y, SND_ACTION_MOVING);
+ PlaySoundLevelAction(x, y, ACTION_MOVING);
}
if (MovDir[x][y])
MovDelay[newx][newy] = 0;
GfxAction[newx][newy] = GfxAction[x][y]; /* keep action one frame */
- GfxAction[x][y] = GFX_ACTION_DEFAULT;
+ GfxAction[x][y] = ACTION_DEFAULT;
#if 0
if (!CAN_MOVE(element))
else /* still moving on */
{
#if 0
- if (GfxAction[x][y] == GFX_ACTION_DEFAULT)
+ if (GfxAction[x][y] == ACTION_DEFAULT)
{
printf("reset GfxAction...\n");
- GfxAction[x][y] = GFX_ACTION_MOVING;
+ GfxAction[x][y] = ACTION_MOVING;
}
#endif
DrawLevelElementAnimation(x, y, element);
if (!(FrameCounter % 2))
- PlaySoundLevelAction(x, y, SND_ACTION_ACTIVE);
+ PlaySoundLevelAction(x, y, ACTION_ACTIVE);
}
}
#endif
#endif
if (IS_BELT_ACTIVE(element))
- PlaySoundLevelAction(x, y, SND_ACTION_ACTIVE);
+ PlaySoundLevelAction(x, y, ACTION_ACTIVE);
if (game.magic_wall_active)
{
case EL_SP_BUGGY_BASE:
case EL_SP_BUGGY_BASE_ACTIVATING:
RemoveField(x, y);
- PlaySoundLevelElementAction(x, y, element, SND_ACTION_DIGGING);
+ PlaySoundLevelElementAction(x, y, element, ACTION_DIGGING);
break;
case EL_EMERALD:
DrawText(DX_EMERALDS, DY_EMERALDS,
int2str(local_player->gems_still_needed, 3),
FS_SMALL, FC_YELLOW);
- PlaySoundLevelElementAction(x, y, element, SND_ACTION_COLLECTING);
+ PlaySoundLevelElementAction(x, y, element, ACTION_COLLECTING);
break;
case EL_SPEED_PILL:
DrawText(DX_DYNAMITE, DY_DYNAMITE,
int2str(local_player->dynamite, 3),
FS_SMALL, FC_YELLOW);
- PlaySoundLevelElementAction(x, y, element, SND_ACTION_COLLECTING);
+ PlaySoundLevelElementAction(x, y, element, ACTION_COLLECTING);
break;
case EL_DYNABOMB_NR:
player->push_delay_value = (element == EL_SPRING ? 0 : 2 + RND(8));
DrawLevelField(x + dx, y + dy);
- PlaySoundLevelElementAction(x, y, element, SND_ACTION_PUSHING);
+ PlaySoundLevelElementAction(x, y, element, ACTION_PUSHING);
break;
case EL_GATE1:
player->programmed_action = move_direction;
DOUBLE_PLAYER_SPEED(player);
- PlaySoundLevelElementAction(x, y, element, SND_ACTION_PASSING);
+ PlaySoundLevelElementAction(x, y, element, ACTION_PASSING);
break;
case EL_SP_PORT1_LEFT:
{
RemoveField(x, y);
Feld[x+dx][y+dy] = element;
- PlaySoundLevelElementAction(x, y, element, SND_ACTION_PUSHING);
+ PlaySoundLevelElementAction(x, y, element, ACTION_PUSHING);
}
player->push_delay_value = (element == EL_BALLOON ? 0 : 2);