EgtInterface 2.7j3 :

- aggiornato prototipo di EgtSaveMachGroupToFile per permettere un nuovo parametro (identificativi di oggetti aggiuntivi).
This commit is contained in:
Dario Sassi
2025-10-28 15:21:59 +01:00
parent 9dffc04234
commit 05b0602bd7
2 changed files with 6 additions and 2 deletions
+6 -2
View File
@@ -191,7 +191,11 @@ __stdcall EgtSaveObjToFile( int nId, const wchar_t* wsFilePath, int nFlag)
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtSaveMachGroupToFile( int nMGroupId, const wchar_t* wsFilePath, int nFlag)
__stdcall EgtSaveMachGroupToFile( int nMGroupId, int nNumPlusId, const int nPlusIds[], const wchar_t* wsFilePath, int nFlag)
{
return ( ExeSaveMachGroupToFile( nMGroupId, wstrztoA( wsFilePath), nFlag) ? TRUE : FALSE) ;
INTVECTOR vPlusId ;
vPlusId.reserve( nNumPlusId) ;
for ( int i = 0 ; i < nNumPlusId ; ++i)
vPlusId.push_back( nPlusIds[i]) ;
return ( ExeSaveMachGroupToFile( nMGroupId, vPlusId, wstrztoA( wsFilePath), nFlag) ? TRUE : FALSE) ;
}
BIN
View File
Binary file not shown.