mirror of
https://github.com/SirusDoma/VoxCharger.git
synced 2025-02-25 22:08:35 +01:00
- Fix naming and other code style issues - Fix `float` and `double` parsing issue when current System Culture comma separator is not `.` - This fixes issue when parsing BPM and other floating numbers. - Fix song selection when the program doesn't support the latest datecode in the future - It will disable Game Version and Infinite Version selection. - Replaced ancient `FolderBrowserDialog` with `CommonFileDialog` - Update default GameVersion and BackgroundId to latest version - Implement Radar information in `LevelEditorForm` - Implement built-in 2DX Encoder - Start Offset / TimeStamp and Fader effect for audio preview is now supported - Audio preview files is no longer divided into multiple files by default when audio files are unique. It still possible to specify unique preview via `LevelEditorForm` - Implement advanced configuration when importing .ksh chart - Add draft codes for Effect Mapping configurations and S3V support - Other Bugfixes and QoL improvements
26 lines
548 B
C#
26 lines
548 B
C#
using System;
|
|
|
|
namespace VoxCharger
|
|
{
|
|
public abstract partial class Event
|
|
{
|
|
public class Bpm : Event
|
|
{
|
|
public float Value { get; set; }
|
|
|
|
public bool IsStop { get; set; }
|
|
|
|
public Bpm(Time time, float value)
|
|
: base(time)
|
|
{
|
|
Value = value;
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
return $"{base.ToString()}\t{Value:0.0000}\t{4}" + (IsStop ? "-" : string.Empty);
|
|
}
|
|
}
|
|
}
|
|
}
|