Modified player.cpp to include the source animation functions.