Added interface for controlling the behavior of the hasts system. Added support for negative haste. Moves haste rate calculations to UpdateHasteRate. GetHasteRate now just returns the calculated value. Added FLOAT_NO_SPEED_INTERFACE and FLOAT_TABLE_INTERFACE macros to OptionsBinding.h

This commit is contained in:
Kyzentun
2014-05-05 14:16:08 -06:00
parent b10c04c7f3
commit ec3e76277c
7 changed files with 297 additions and 17 deletions
+1 -1
View File
@@ -296,7 +296,7 @@ public:
BOOL_INTERFACE(SaveScore, SaveScore);
BOOL_INTERFACE(SaveReplay, SaveReplay);
FLOAT_INTERFACE(MusicRate, MusicRate, (v > 0.0f && v <= 3.0f)); // Greater than 3 seems to crash frequently, haven't investigated why. -Kyz
FLOAT_INTERFACE(Haste, Haste, true);
FLOAT_INTERFACE(Haste, Haste, (v >= -1.0f && v <= 1.0f));
LunaSongOptions()
{