// XML element end void cOverworld_Manager :: elementEnd( const CEGUI::String &element ) { if( element != "Property" ) { if( element == "World" ) { handle_world( m_xml_attributes ); } else if( element == "Worlds" ) { // ignore } else if( element.length() ) { printf( "Warning : Overworld Description Unknown element : %s\n", element.c_str() ); } // clear m_xml_attributes = CEGUI::XMLAttributes(); } }
void cOverworld_description :: elementEnd( const CEGUI::String &element ) { if( element == "property" || element == "Property" ) { return; } if( element == "world" || element == "World" ) { handle_world( m_xml_attributes ); } else if( element == "description" || element == "Description" ) { // ignore } else if( element.length() ) { printf( "Warning : World Description Unknown element : %s\n", element.c_str() ); } // clear m_xml_attributes = CEGUI::XMLAttributes(); }