update to plugin 7

This commit is contained in:
Green Sky 2024-01-07 16:59:04 +01:00
parent 15d057e92b
commit 3044b0db60
No known key found for this signature in database

View File

@ -82,10 +82,12 @@ SOLANA_PLUGIN_EXPORT void solana_plugin_stop(void) {
g_ircc.reset(); g_ircc.reset();
} }
SOLANA_PLUGIN_EXPORT void solana_plugin_tick(float delta) { SOLANA_PLUGIN_EXPORT float solana_plugin_tick(float delta) {
(void)delta; (void)delta;
//std::cout << "PLUGIN IRCC TICK()\n"; //std::cout << "PLUGIN IRCC TICK()\n";
g_ircc->iterate(); g_ircc->iterate(); // TODO: return interval, respect dcc etc
return 1.f; // expect atleast once per sec
} }
} // extern C } // extern C