update to plugin 7
This commit is contained in:
parent
635f890b47
commit
bb4eb160f0
2
external/solanaceae_bridge
vendored
2
external/solanaceae_bridge
vendored
@ -1 +1 @@
|
|||||||
Subproject commit 55df71d96e9abcc0c87791df0fc0847987641c25
|
Subproject commit 0b5ef1f1012d024e9107b04ac8937d408e3507e3
|
2
external/solanaceae_crdtnotes
vendored
2
external/solanaceae_crdtnotes
vendored
@ -1 +1 @@
|
|||||||
Subproject commit c3082e0140b14a8d64faab42a65fbb418facc5f7
|
Subproject commit 5802e7ddab314454062ea55bad2ab3db22b072b8
|
2
external/solanaceae_ircclient
vendored
2
external/solanaceae_ircclient
vendored
@ -1 +1 @@
|
|||||||
Subproject commit 15d057e92be9b2356fe6392dbb6586b319cb6914
|
Subproject commit 3044b0db605f671a5c2c42be02b8a586efddffcc
|
2
external/solanaceae_ngc_ft1
vendored
2
external/solanaceae_ngc_ft1
vendored
@ -1 +1 @@
|
|||||||
Subproject commit 103f36f2d222c32be4403daeb04cf123b3a31337
|
Subproject commit f02b03da7cfcfc1d6889dfe085ef61c53d436343
|
2
external/solanaceae_plugin
vendored
2
external/solanaceae_plugin
vendored
@ -1 +1 @@
|
|||||||
Subproject commit 96bab0200f5b13671756abe7e3132ed78aaa2a40
|
Subproject commit 75e7c5e3c77ecd5e03ad0a1429e3a5fc6d067408
|
2
external/solanaceae_toxic_games
vendored
2
external/solanaceae_toxic_games
vendored
@ -1 +1 @@
|
|||||||
Subproject commit 80d1cffdcdacb832c9fd4415e3da5b4a453ebd04
|
Subproject commit 3356861028eab8af14ff12b3d0edfa4078d9a935
|
@ -96,11 +96,10 @@ SOLANA_PLUGIN_EXPORT void solana_plugin_stop(void) {
|
|||||||
g_ngcextep.reset();
|
g_ngcextep.reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
SOLANA_PLUGIN_EXPORT void solana_plugin_tick(float delta) {
|
SOLANA_PLUGIN_EXPORT float solana_plugin_tick(float delta) {
|
||||||
//std::cout << "PLUGIN NGCEXT TICK()\n";
|
const float ft_interval = g_ngcft1->iterate(delta);
|
||||||
|
|
||||||
g_ngcft1->iterate(delta);
|
|
||||||
g_sha1_ngcft1->iterate(delta);
|
g_sha1_ngcft1->iterate(delta);
|
||||||
|
return ft_interval;
|
||||||
}
|
}
|
||||||
|
|
||||||
} // extern C
|
} // extern C
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
#include <solanaceae/util/config_model.hpp>
|
#include <solanaceae/util/config_model.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))
|
||||||
@ -62,10 +63,12 @@ SOLANA_PLUGIN_EXPORT void solana_plugin_stop(void) {
|
|||||||
g_taa.reset();
|
g_taa.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 TAA TICK()\n";
|
//std::cout << "PLUGIN TAA TICK()\n";
|
||||||
g_taa->iterate();
|
g_taa->iterate();
|
||||||
|
|
||||||
|
return std::numeric_limits<float>::max();
|
||||||
}
|
}
|
||||||
|
|
||||||
} // extern C
|
} // extern C
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
#include <solanaceae/zox/ngc.hpp>
|
#include <solanaceae/zox/ngc.hpp>
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
#include <limits>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
// fwd
|
// fwd
|
||||||
@ -57,9 +58,10 @@ SOLANA_PLUGIN_EXPORT void solana_plugin_stop(void) {
|
|||||||
g_zngc.reset();
|
g_zngc.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 ZNGC TICK()\n";
|
//std::cout << "PLUGIN ZNGC TICK()\n";
|
||||||
|
return std::numeric_limits<float>::max();
|
||||||
}
|
}
|
||||||
|
|
||||||
} // extern C
|
} // extern C
|
||||||
|
@ -94,9 +94,11 @@ SOLANA_PLUGIN_EXPORT void solana_plugin_stop(void) {
|
|||||||
g_zngchs.reset();
|
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";
|
//std::cout << "PLUGIN ZNGCHS TICK()\n";
|
||||||
g_zngchs->tick(delta);
|
g_zngchs->tick(delta);
|
||||||
|
|
||||||
|
return 0.1f; // TODO: use the actual timers
|
||||||
}
|
}
|
||||||
|
|
||||||
} // extern C
|
} // extern C
|
||||||
|
Loading…
Reference in New Issue
Block a user