   collisions using mappy and allegro
  what would be the collision code to tell if the character has had a collision on the tophere is the collision code for the side:if (!facing)    {   if (collided(player->x, player->y + player->height))  player->x = oldpx;    }else    {   if (collided(player->x + player->width,  player->y + player->height))  player->x = oldpx;    }and here is the one for the bottom:if (jump<0)    {   if (collided(player->x + player->width/2,  player->y + player->height)){  jump = JUMPIT;  while (collided(player->x + player->width/2, player->y + player->height))player->y -=2;   }   