update to plugin 7
This commit is contained in:
parent
80d1cffdcd
commit
3356861028
@ -4,6 +4,7 @@
|
|||||||
#include <solanaceae/toxic_games/toxic_games.hpp>
|
#include <solanaceae/toxic_games/toxic_games.hpp>
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
#include <limits>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
#define RESOLVE_INSTANCE(x) static_cast<x*>(solana_api->resolveInstance(#x))
|
#define RESOLVE_INSTANCE(x) static_cast<x*>(solana_api->resolveInstance(#x))
|
||||||
@ -80,10 +81,11 @@ SOLANA_PLUGIN_EXPORT void solana_plugin_stop(void) {
|
|||||||
g_tg.reset();
|
g_tg.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 TG TICK()\n";
|
//std::cout << "PLUGIN TG TICK()\n";
|
||||||
//g_tg->iterate();
|
//g_tg->iterate();
|
||||||
|
return std::numeric_limits<float>::max();
|
||||||
}
|
}
|
||||||
|
|
||||||
} // extern C
|
} // extern C
|
||||||
|
Loading…
Reference in New Issue
Block a user