freem
166ae6ea11
fix really awkward positioning of this line (was using spaces instead of tabs)
2014-07-24 17:51:02 -05:00
Kyzentun
ec3e76277c
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
2014-05-05 14:16:08 -06:00
Kyzentun
0dfb131291
Created SongOptions Lua interface with a similar design to the PlayerOptions interface. Moved enums that were inside SongOptions out and made them Lua accessible. Removed sAutosyncType and associated things from AdjustSync.cpp because it was unused. Added DefaultNilArgs and FArgGTEZero to LuaBinding as helpers. Moved INTERFACE defines from PlayerOptions.cpp to OptionsBinding.h.
2014-05-03 19:27:32 -06:00
Kyzentun
421a9be57b
Ripped out existing PlayerOptions Lua interface and replaced it wholesale. Removed PrefsManager's DefaultFailType enum. Moved PlayerOptions::FailType enum to GameConstantsAndTypes and made it Lua accessible. Changed ModsLevel enum to include ModsLevel_Current to make accessing that ModsLevel easier to access. Rearranged ModsGroup appropriately. Added non-const Get functions to ModsGroup. Removed PlayerOptions.m_bSetTiltOrSkew because it had no reason to exist. Moved 200.0f to the const CMOD_DEFAULT because it was being used in more than one place.
2014-05-01 23:23:20 -06:00
sigatrev
25ddd69208
added GetHasteRate method, made GiveUpSeconds a metric
...
without haste rate, it's impossible to display an accurate BPM. Give up
time should be controllable.
2014-04-15 12:27:54 -05:00
Ben "root" Anderson
c3daaf9ae2
Hack around ScreenGameplaySyncMachine trying to do a network game
2014-01-14 16:19:46 -06:00
Devin J. Pohly
106838cf64
fix warning about const float
2013-01-31 13:35:39 -05:00
Devin J. Pohly
ce507b9800
use empty TimingData in Steps to signify fallback on Song timing.
...
This required using the new Steps::GetTimingData function and the allowEmpty
parameter to TimingData::TidyUpData when appropriate, as well as clearing the
TimingData to remove step timing rather than coping the song timing over it.
Fixes some odd editor behavior when changing song timing, and is overall a
slightly less hacky way of doing things.
2013-01-23 14:51:18 -05:00
Devin J. Pohly
d13ac7e7a2
modify Input() on screens to return boolean
2013-01-12 22:48:38 -05:00
Devin J. Pohly
bd0e2074ad
replace ASSERT(0) with useful fail messages
2012-12-27 16:59:35 -05:00
Jason Felds
1fc16698ba
War on -Werror, part 12: explicit bool usage.
...
It may save a few cycles, but it's best to be
explicit on boolean operations, especially with
ASSERT.
2012-12-27 11:38:53 -05:00
Jason Felds
bddbed7e7e
war on -Werror, part 11: const int -> float loss.
...
Had to work around the inline static const int rule
to do it, but at least there is no data loss now.
2012-12-27 11:13:41 -05:00
Devin J. Pohly
1f80e3be4c
remove code in ScreenGameplay that doesn't do anything
2012-12-26 20:15:56 -05:00
AJ Kelly
74065ff0fd
[ScreenGameplay] When ShowLifeMeterForDisabledPlayers is true, don't fill up life in the meter for the disabled player. (LifeMeterBar only)
2012-07-03 12:51:03 -05:00
Jason Felds
08d3abbe44
New branch: [sm5a2futures]
...
Want to make sure we don't cause conflicts for future 1a builds.
This commit: change the sentinel for launching attacks immediately.
This way, songs with negative gaps can have attacks work here.
Thanks to Saturn for the assist.
2012-02-23 22:50:03 -05:00
Jason Felds
066d6c17dd
Fix metric.
2011-12-21 15:28:08 -05:00
Jason Felds
058f03e495
Allow versus oni graceful failure.
2011-12-12 21:27:32 -05:00
Jason Felds
2d3c3628a1
Add the SurvivalModOverride metric.
2011-11-28 19:13:15 -05:00
AJ Kelly
b141db3f55
small todo for later when I have time
2011-11-25 17:19:24 -06:00
Mark Cannon
deb8ea5347
fix compile error, change RString to const RString& because I can; again, PLEASE try to compile your build before committing it :|
2011-10-06 23:32:23 -04:00
Flameshadowxeroshin
a108138d21
prepare for announcer changes. the game WILL NOT COMPILE right now.
2011-10-06 12:42:09 +00:00
Jason Felds
9153e80769
Remove unneeded comment.
2011-08-30 13:18:45 -04:00
AJ Kelly
06c447026d
[ScreenGameplay, LyricDisplay] Stop lyrics from animating on failure. Fixes issue 298.
2011-07-31 12:54:21 -05:00
Jason Felds
dbdab4759e
[Xcode4] May as well fix switch warnings.
...
Still need some assistance for the linker error.
2011-07-20 11:11:04 -04:00
Jason Felds
48226f2027
No longer store #NOTES in cache.
...
Use the #STEPFILENAME tag to access the files
as appropriate.
To the betting pool fans: file cache version is 192.
2011-07-17 16:06:40 -04:00
Jason Felds
094f6dc73c
No combo fail until health is gone.
...
Also, on FAIL OFF, no failing whatsoever.
2011-07-03 17:47:55 -04:00
Jason Felds
5940bdeddb
More abstraction.
2011-06-30 02:10:58 -04:00
Jason Felds
8bc2c38142
Replace #BEAT tags with #SECOND tags.
...
Split Timing has made this necessary.
Yes, this means another recache.
2011-06-30 01:11:38 -04:00
Jason Felds
92a304ab8a
Minor simplification.
...
We should eventually make it not required to scroll horizontally.
2011-06-29 23:25:42 -04:00
Jason Felds
4ab534de75
Use NoAttacks vs StepAttacks.
2011-06-26 23:58:24 -04:00
Jason Felds
fcf9e335e6
Use StepAttacks instead.
...
This deprecates the GetSongAttacks lua function.
Next up: make it so that no text is displayed if
Step Attacks are on, but display "No Attacks" if
attacks are turned off.
2011-06-24 12:12:27 -04:00
Jason Felds
e7afe0ef8e
Load attack data from the Steps.
2011-06-24 11:51:06 -04:00
Jason Felds
2a39516bc6
Right, load step attacks, not song.
2011-06-24 11:31:48 -04:00
Jason Felds
fc9f07158a
99% fix scoring with warps and fakes.
...
Now all charts can seek 100%.
This does force yet another cache reload.
Hopefully it won't slow first loads too much.
2011-06-08 16:14:11 -04:00
Jason Felds
fec932e153
More prep work for better radar calculations.
2011-06-08 15:02:54 -04:00
Jason Felds
0a7b9ce170
Some respect for OOP. (MasterPlayerNumber)
2011-06-06 20:40:11 -04:00
Jason Felds
963cc9d4f1
Fix a Player 2 assist tick / clap bug.
2011-06-06 20:23:23 -04:00
AJ Kelly
785a9f93a5
small todo comment
2011-06-05 00:45:25 -05:00
Jason Felds
461deced3a
Let's be doubly sure Survivals work.
...
If a themer uses a non-existant default noteskin...
...well, at this point we're not responsible I think.
2011-05-27 23:28:14 -04:00
Jason Felds
6588753328
Comment no longer needed.
2011-05-27 11:14:14 -04:00
Jason Felds
002ea6c11a
I want others to read this comment.
...
Check the diff.
2011-05-27 10:12:19 -04:00
Jason Felds
0f1e2c59ed
Updated comment/TODO.
2011-05-23 11:26:53 -04:00
Jason Felds
d076b13894
Assist clapping respects Split Timing.
...
Versus mode still follows the first player though.
That is a holdover from previous versions.
2011-05-23 11:22:32 -04:00
Jason Felds
2526413d45
[default -> splittiming] Right, forgot this.
2011-05-16 20:39:20 -04:00
AJ Kelly
f8f4453637
[ScreenGameplay] Removed hardcoded commands for Debug (give up text) and replace them with DebugStartOnCommand, DebugBackOnCommand, and DebugTweenOffCommand.
2011-05-15 13:38:41 -05:00
Thai Pangsakulyanont
2507cf7c0a
[splittiming] merge
2011-05-12 16:56:15 +07:00
Thai Pangsakulyanont
eda727ddf9
[splittiming]
...
- load split timing from BMS files
- fix a crash because autogen'd steps don't inherit the timing from parent
- be more verbose in UpdateSongPosition
2011-05-12 16:44:24 +07:00
Jason Felds
8de6ddb7e3
[default -> splittiming] Cleanliness.
2011-05-11 17:07:20 -04:00
Jason Felds
da51e26d07
Standardize conversion processes.
...
Too many arguments for or against the many methods:
stick to one inside a common function.
This commit will force recompilation of many files.
2011-05-11 15:58:31 -04:00
Jason Felds
fb8b387fb7
[splittiming] Compiles and links.
...
Not guaranteed to work. Adjustments to GameState
and SongPosition may still be needed.
2011-05-10 14:53:59 -04:00