Many people were killed when the roofs and walls of their homes collapsed .