Kyzentun
c50b12b8c6
Changed toasty logic to trigger multiple times without requiring a W3.
2015-04-17 16:26:39 -06:00
Kyzentun
b4893e4a10
Structural changes to ScreenGameplay, Player, and NoteField to put the NoteField Board underneath everything except the song background. This includes underneath the combo/judgment when those are under the field. Screen filter in default theme moved to be part of the NoteField board so that it's always in the right place.
2015-04-03 14:19:28 -06:00
Kyzentun
2b7ebb3729
Added lookup table system to TimingData so that GetBeatAndBPS and GetElapsedTime don't have to walk through the entire list of timing segments several times every frame during gameplay.
2015-03-14 23:17:35 -06:00
Kyzentun
b293a8c073
Added debug key for toggling action sounds off. Touches every place that RageSound::Play is called, hope I didn't miss one.
2015-02-28 06:25:02 -07:00
Kyzentun
7687d5c8a1
Merge branch 'master' of https://github.com/Flameshadowxeroshin/stepmania
2015-01-28 09:52:53 -07:00
Kyzentun
40b25e6220
Fixed conflicts to merge kickbox in.
2015-01-27 18:03:41 -07:00
Flameshadowxeroshin
f230729a6f
unsigned int combo and score, Player::IncrementComboOrMissCombo
2015-01-23 10:25:06 -06:00
Kyzentun
b09fc11210
Fixed routine notefield not being centered correctly. Hid couple-edit and threepanel styles because they don't seem intended to be playable.
2015-01-20 19:58:53 -07:00
Kyzentun
f4a718a824
SetCompatibleStylesForPlayers and ForceSharedSidesMatch added to GameState for SSM to use to fix style mismatch problems.
...
StyleInputToGameInput changed to take a vector to return values in to handle multiple inputs mapped to a single column. Associated adjustments to everything that uses it.
Player no longer drops holds in columns that have multiple inputs mapped to them if the wrong one is held.
Running out of stage tokens changed from assert to error.
2015-01-17 21:15:15 -07:00
Kyzentun
55fb14cd10
Holding start to give up leaves gameplay instead of going to next song.
2014-12-22 03:52:08 -07:00
Kyzentun
3fb36af157
Separate styles for players. Notefields positioned between margins. Edit mode works for kickbox.
2014-12-09 22:27:00 -07:00
hanubeki
c407feeb34
Fix P2 input when PlayerAutoplay in P1
2014-10-27 00:14:35 +09:00
Kyzentun
2f37e9d8a9
Merge branch 'DefaultHeart' of https://github.com/kyzentun/stepmania
2014-09-14 21:07:54 -06:00
Kyzentun
1dbdca6b0a
Merge branch 'StageDispFixes' of https://github.com/kyzentun/stepmania
2014-09-14 21:06:27 -06:00
Kyzentun
f87afa8a4b
Added ScreenHeartEntry to default theme.
2014-09-12 15:07:46 -06:00
Kyzentun
bcb2589114
Fixed endless courses to make them repick on repeats and not crash after repeating.
2014-09-10 02:44:49 -06:00
Kyzentun
2199e7aafb
Fixed GAMESTATE:GetCurrentStage to use correct logic for determining if all human players are on final stage.
...
THEME:GetPath lua functions can now pass true for the third arg if the element is optional.
Fixes to various StageDisplay things in default.
thify_number and thified_curstage_index lua functions added to default/Scripts/04 Other.lua.
2014-09-07 04:05:10 -06:00
Kyzentun
8ae17b4422
Changed LifeMeterTime to not crash when not in course mode. Changed _fallback's life settings back to forcing together. Added ForceImmediateFailForBattery theme metric. Gave up on FailFadeRemovePlayer lua function and removed it.
2014-08-19 23:58:35 -06:00
Kyzentun
7e73892e6e
Moved LifeType, DrainType, and BatteryLives from Song Options to Player Options. Added ScreenGameplay:FailFadeRemovePlayer lua function.
2014-08-06 23:26:05 -06:00
kyzentun
d7fade2f0b
Merge pull request #244 from sigatrev/TapNote-enums
...
Enums for TapNoteType, TapNoteSubType, and TapNoteSource
2014-07-30 23:03:51 -06:00
kyzentun
97bcfb37de
Merge pull request #240 from sigatrev/UpdatePlayerSongPositions
...
UpdateSongPositions
2014-07-30 23:03:41 -06:00
freem
bc73e053bb
telling Visual Studio to shut up about more warnings wrt/double and float
2014-07-26 19:01:49 -05:00
sigatrev
e81af8c131
Enums for TapNoteType, TapNoteSubType, and TapNoteSource
...
I intend to make additional useful information available on judgments,
such as TapNoteType and TapNoteSubType( for hold judgments ).
I am submitting this part as a separate pull request because it is more
generally applicable to anything TapNote related.
2014-07-25 18:45:02 -05:00
Kyzentun
c05a173d52
Fixed UpdateHasteRate and PlayerInfo:GetLifeMeter to check whether the life meter is null before using it.
2014-07-25 00:20:38 -06:00
sigatrev
acd3340c57
UpdateSongPositions
...
It is useful to have Player SongPositions update off of ScreenGameplay
for use with things like ArrowEffects.
ScreenGameplay, ScreenHowToPlay, and ScreenEdit stop GameSoundManager
from running GameState:UpdateSongPosition and do it themselves, so this
has no impact on the screen classes that cared about, and thus updated,
player SongPositions.
2014-07-24 19:45:17 -05:00
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