SealEngine: Implement MagSpeed functions

mag_speed is a per-plugin integer (default 1) set by SetMagSpeed on
all existing plugins. use_mag_speed is a per-instance flag (default
true) set by SetInstanceUseMagSpeed. When use_mag_speed is true,
motion delta_frame is multiplied by mag_speed.
This commit is contained in:
kichikuou
2026-04-26 11:26:20 +09:00
parent 511f6a4bfa
commit bf455de35d
3 changed files with 30 additions and 4 deletions
+4
View File
@@ -149,6 +149,9 @@ struct RE_plugin {
// TapirEngine
bool suspended;
// SealEngine
int mag_speed;
};
struct RE_instance {
@@ -171,6 +174,7 @@ struct RE_instance {
float shadow_volume_bone_radius;
bool draw_bump;
float fps;
bool use_mag_speed;
bool motion_blend;
float motion_blend_rate;
vec3 ambient;