I thought that at least in some games of pool, sinking a ball without having announced that you intended to sink it meant you could not add it to your score.

As I alluded to above, my friends and I are all aware of this fact, but if we actually followed that rule, no game would ever be finished! I think pool as it is actually played by the masses is somewhat more lenient than what you see on TV.