update to plugin 7

This commit is contained in:
2024-01-07 17:44:50 +01:00
parent 635f890b47
commit bb4eb160f0
10 changed files with 19 additions and 13 deletions

View File

@@ -94,9 +94,11 @@ SOLANA_PLUGIN_EXPORT void solana_plugin_stop(void) {
g_zngchs.reset();
}
SOLANA_PLUGIN_EXPORT void solana_plugin_tick(float delta) {
SOLANA_PLUGIN_EXPORT float solana_plugin_tick(float delta) {
//std::cout << "PLUGIN ZNGCHS TICK()\n";
g_zngchs->tick(delta);
return 0.1f; // TODO: use the actual timers
}
} // extern C