Skip to content

Commit

Permalink
fix build Tools
Browse files Browse the repository at this point in the history
  • Loading branch information
irov committed Nov 5, 2024
1 parent 4cadb55 commit e9bed30
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/Tools/Metawrite/Metawrite.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,8 @@ int main( int argc, char * argv[] )
uint32_t useProtocolCrc32 = Metacode::get_metacode_protocol_crc32();

Mengine::Helper::setParam( options.params, STRINGIZE_STRING_LOCAL( "protocolContent" ), protocolContent );
Mengine::Helper::setParam( options.params, STRINGIZE_STRING_LOCAL( "useProtocolVersion" ), useProtocolVersion );
Mengine::Helper::setParam( options.params, STRINGIZE_STRING_LOCAL( "useProtocolCrc32" ), useProtocolCrc32 );
Mengine::Helper::setParam( options.params, STRINGIZE_STRING_LOCAL( "useProtocolVersion" ), (Mengine::ParamInteger)useProtocolVersion );
Mengine::Helper::setParam( options.params, STRINGIZE_STRING_LOCAL( "useProtocolCrc32" ), (Mengine::ParamInteger)useProtocolCrc32 );

converter->setOptions( options );

Expand Down
5 changes: 3 additions & 2 deletions src/Tools/ProjectBuilder/ProjectBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ PLUGIN_EXPORT( Theora );
PLUGIN_EXPORT( OggVorbis );
PLUGIN_EXPORT( Metabuf );
PLUGIN_EXPORT( Win32FindPython3 );
PLUGIN_EXPORT( Win32FileGroup );
//////////////////////////////////////////////////////////////////////////
SERVICE_PROVIDER_EXTERN( ServiceProvider );
//////////////////////////////////////////////////////////////////////////
Expand All @@ -100,6 +99,7 @@ SERVICE_EXTERN( DataService );
SERVICE_EXTERN( TimeSystem );
SERVICE_EXTERN( ThreadSystem );
SERVICE_EXTERN( DateTimeSystem );
SERVICE_EXTERN( FileSystem );
SERVICE_EXTERN( Win32KernelService );
SERVICE_EXTERN( ThreadService );
SERVICE_EXTERN( MemoryService );
Expand Down Expand Up @@ -330,6 +330,8 @@ namespace Mengine
SERVICE_CREATE( ConfigService, MENGINE_DOCUMENT_FUNCTION );
SERVICE_CREATE( LoaderService, MENGINE_DOCUMENT_FUNCTION );

SERVICE_CREATE( FileSystem, MENGINE_DOCUMENT_FUNCTION );

PLUGIN_CREATE( Zip, MENGINE_DOCUMENT_FUNCTION );
PLUGIN_CREATE( LZ4, MENGINE_DOCUMENT_FUNCTION );
PLUGIN_CREATE( JPEG, MENGINE_DOCUMENT_FUNCTION );
Expand All @@ -342,7 +344,6 @@ namespace Mengine
PLUGIN_CREATE( Movie, MENGINE_DOCUMENT_FUNCTION );
PLUGIN_CREATE( Metabuf, MENGINE_DOCUMENT_FUNCTION );
PLUGIN_CREATE( Win32FindPython3, MENGINE_DOCUMENT_FUNCTION );
PLUGIN_CREATE( Win32FileGroup, MENGINE_DOCUMENT_FUNCTION );

if( PLUGIN_SERVICE()
->loadPlugin( "DevelopmentConverterPlugin.dll", MENGINE_DOCUMENT_FUNCTION ) == false )
Expand Down
4 changes: 2 additions & 2 deletions src/Tools/ProjectBuilder/XmlToBinDecoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ namespace Mengine
uint32_t useProtocolCrc32 = Metacode::get_metacode_protocol_crc32();

Helper::setParam( options.params, STRINGIZE_STRING_LOCAL( "protocolContent" ), protocolContent );
Helper::setParam( options.params, STRINGIZE_STRING_LOCAL( "useProtocolVersion" ), useProtocolVersion );
Helper::setParam( options.params, STRINGIZE_STRING_LOCAL( "useProtocolCrc32" ), useProtocolCrc32 );
Helper::setParam( options.params, STRINGIZE_STRING_LOCAL( "useProtocolVersion" ), (ParamInteger)useProtocolVersion );
Helper::setParam( options.params, STRINGIZE_STRING_LOCAL( "useProtocolCrc32" ), (ParamInteger)useProtocolCrc32 );

converter->setOptions( options );

Expand Down

0 comments on commit e9bed30

Please sign in to comment.