loadscene.cpp functions added