mirror of
https://github.com/nunuhara/xsystem4.git
synced 2026-10-07 06:18:14 +03:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user