From 544d6e059187511e927045c89d51ec78987f4258 Mon Sep 17 00:00:00 2001 From: NotAdam Date: Thu, 11 Apr 2019 19:15:07 +1000 Subject: [PATCH] cleanup leftover test code that was moved to exd_struct_test --- src/tools/event_object_parser/main.cpp | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/src/tools/event_object_parser/main.cpp b/src/tools/event_object_parser/main.cpp index 04a55f4b..32e63f6f 100644 --- a/src/tools/event_object_parser/main.cpp +++ b/src/tools/event_object_parser/main.cpp @@ -369,28 +369,6 @@ int main( int argc, char* argv[] ) auto planeventFile = gameData->getFile( planeventLgbPath ); section3 = planeventFile->access_data_sections().at( 0 ); - auto exportFile = [&]( const std::string& path ) - { - try - { - auto file = gameData->getFile( path ); - - if( !file ) - { - return; - } - auto p = fs::path( path ); - fs::create_directories( p.parent_path() ); - file->exportToFile( p ); - } - catch( const std::exception& ex ) {} - }; - - exportFile( planeventLgbPath ); - exportFile( plannerFilePath ); - exportFile( lcbFilePath ); - exportFile( svbFilePath ); - std::vector< std::string > stringList; uint32_t offset1 = 0x20;