@@ -225,7 +225,7 @@ typedef struct type5_beam_info {
225225 float continuous_rot; // radians per sec rotation over beam lifetime
226226 int rot_curve_idx;
227227 Type5BeamRotAxis continuous_rot_axis; // axis around which do continuous rotation
228- SCP_vector<float > burst_rot_pattern; // radians to rotate for each beam in a burst, will also make spawned and ssb beams fire
228+ SCP_vector<float > burst_rot_pattern; // radians to rotate for each beam in a burst, will also make spawned and ssb beams fire
229229 // this many beams simultaneously with the defined rotations
230230 Type5BeamRotAxis burst_rot_axis; // axis around which to do burst rotation
231231 float per_burst_rot; // radians to rotate for each burst, or each shot if no burst
@@ -256,7 +256,7 @@ typedef struct beam_weapon_info {
256256 float beam_initial_width; // what percentage of total beam width the beam has initially
257257 float beam_grow_factor; // what percentage of total beam lifetime when the beam starts growing
258258 float beam_grow_pct; // what percent/second the beam grows at
259- beam_weapon_section_info sections[MAX_BEAM_SECTIONS ]; // info on the visible sections of the beam
259+ beam_weapon_section_info sections[MAX_BEAM_SECTIONS ]; // info on the visible sections of the beam
260260 float range; // how far it will shoot-Bobboau
261261 float damage_threshold; // point at wich damage will start being atenuated from 0.0 to 1.0
262262 float beam_width; // width of the beam (for certain collision checks)
@@ -833,6 +833,7 @@ struct weapon_info
833833 GLOW_RADIUS_MULT ,
834834 GLOW_ALPHA_MULT ,
835835 GLOW_ANIM_STATE ,
836+ END_POSITION_BY_VELOCITY ,
836837
837838 NUM_VALUES
838839 };
@@ -846,6 +847,7 @@ struct weapon_info
846847 std::pair {" Muzzle Glow Radius Mult" , BeamCurveOutputs::GLOW_RADIUS_MULT },
847848 std::pair {" Muzzle Glow Alpha Mult" , BeamCurveOutputs::GLOW_ALPHA_MULT },
848849 std::pair {" Muzzle Glow Anim State" , BeamCurveOutputs::GLOW_ANIM_STATE },
850+ std::pair {" Move End Position by Target Velocity" , BeamCurveOutputs::END_POSITION_BY_VELOCITY }
849851 },
850852 std::pair {" Beam Lifetime" , modular_curves_math_input<
851853 modular_curves_math_input<
@@ -861,6 +863,7 @@ struct weapon_info
861863 modular_curves_submember_input<&beam::life_left>,
862864 ModularCurvesMathOperators::subtraction
863865 >{}},
866+ std::pair {" Beam Total Life" , modular_curves_submember_input<&beam::life_total>{}},
864867 std::pair {" Warmup Lifetime" , modular_curves_functional_input<beam_get_warmup_lifetime_pct>{}},
865868 std::pair {" Warmdown Lifetime" , modular_curves_functional_input<beam_get_warmdown_lifetime_pct>{}},
866869 std::pair {" Warmdown Age" , modular_curves_functional_input<beam_get_warmdown_age>{}},
0 commit comments