Commit Graph

969 Commits

Author SHA1 Message Date
Chris Danford f7fc9ceaa5 remove Set/GetHidden, leave *Visible
remove hidden from ActorCommands eventually
2007-02-13 06:32:26 +00:00
Glenn Maynard 0387924fab remove BPMDisplay from gameplay; not used
add SongBPMDisplay; use it if you want that
2007-02-12 23:22:50 +00:00
Charles Lohr 0eb11fd2d7 "Fix" Crash at game time when two people use the same computer to log on and play SMOnline. 2007-02-12 22:01:50 +00:00
Glenn Maynard ba36cd8794 bind PlayerInfo 2007-02-12 00:03:38 +00:00
Chris Danford 253461000c move common PlayTicks code into GameplayAssist 2007-01-25 00:50:57 +00:00
Glenn Maynard 008ea63793 SOUND->GetPlayLatency -> SOUNDMAN->GetPlayLatency 2007-01-18 09:12:50 +00:00
Glenn Maynard c51214174f implement m_bMuteOnError 2007-01-16 02:32:27 +00:00
Glenn Maynard 6ed7363ce0 SoundEffectControl_Off for none 2007-01-16 02:15:10 +00:00
Glenn Maynard 9046f91eb2 use SoundEffectControl 2007-01-16 01:39:04 +00:00
Glenn Maynard e2a7576d10 GetPerButtonInfo 2007-01-12 23:00:40 +00:00
Steve Checkoway d7de914a77 Fix crash when pushing other buttons. I don't really like this. Some of the paths through StepStrumHopo can handle col = -1 but others lead to crashes. Maybe it should be refactored so that all code touching col is separate from the Strum code where col is -1. 2007-01-03 05:40:19 +00:00
Chris Danford 64cf66a639 fix broken strum 2006-12-11 12:27:58 +00:00
Glenn Maynard 7385c1f4c1 merge SetPosition_Accurate and SetPosition_Fast. Use a property
instead.
2006-12-10 08:59:13 +00:00
Steve Checkoway 8329d2babe If the column is invalid, return. 2006-12-06 07:16:38 +00:00
Glenn Maynard ed07cf213a "haste" mod 2006-11-30 08:22:30 +00:00
Glenn Maynard c241a4aaf8 m_fRate -> m_fSpeed 2006-11-30 07:32:38 +00:00
Glenn Maynard bf1c726c80 set m_fRate directly 2006-11-30 06:42:51 +00:00
Glenn Maynard ea36f45dc1 update comment 2006-11-21 06:15:04 +00:00
Glenn Maynard f0dab15f30 move AutoPlay 2006-11-21 05:02:55 +00:00
Glenn Maynard 0db4a096e5 ScreenWithMenuElements::BeginScreen calls SortByDrawOrder 2006-11-21 04:32:59 +00:00
Chris Danford d78deea28d add ScoreKeeperGuitar 2006-11-16 00:57:48 +00:00
Chris Danford 2f7ac6aa3c Add m_ to StageStats and PlayerStageStats members. There are several methods of these classes with local variable names that are similar to the member names. m_ helps distinguish between those two types. 2006-11-14 11:13:21 +00:00
Glenn Maynard ec061bebc3 Message -> MessageID 2006-11-13 22:36:39 +00:00
Glenn Maynard c6e62ae92d revert. Need a better approach. 2006-11-12 03:26:25 +00:00
John Bauer c3e39e12a3 Fix several annoying edit mode bugs, mostly by fixing the Song copy
operator and the various uses of it.

- revert file from disk: keeps old BPM.  The BPMS on disk are added to
  the existing BPM information!
- edit mode turns X stepcharts into 2X when reverting
- sometimes edit mode loses an entire stepchart: open a stepchart,
  change to a new stepchart, exit without going back, original chart gone
- edit a chart, make a change in a different chart, exit from the first chart:
  change made in different chart doesn't revert
- normally, when you create a stepchart and don't save it after editting it,
  it is deleted.  however, if you create a stepchart, don't save it, and exit
  edit mode while looking at a different chart, the chart isn't deleted.

Some existing bugs are not fixed, though:
- delete the last stepchart for a step type.  CTD.
- Edit one of the fake doubles stepcharts for a song that doesn't have
  real doubles stepcharts.  Exit without doing anything.  CTD.  This is
  probably the same problem as the previous bug.
- delete a song or a steps that happens to be part of a trail.  Trail is now
  broken.  Some other edits should affect a trail as well, but don't.
2006-11-10 07:02:27 +00:00
John Bauer 5d2bf93725 Make all uses of the Steps* in the TrailEntry class use an accessor method.
This makes it simple to switch to something else, such as using a StepsId
instead of a Steps*.
2006-11-10 05:04:09 +00:00
Glenn Maynard 97894cfb47 remove unused OnTaunt 2006-11-09 09:38:38 +00:00
Glenn Maynard bc9ad19157 simplify m_fPassmark. Use with FailAtEnd. 2006-11-09 09:21:52 +00:00
Glenn Maynard 08bf61191d Add FailAtEnd, which means "check failure only at the very
end of the song" (intended for use with "PassMark", which
needs a better name).  This isn't called "FailEndOfSong" to
avoid confusion, and was the prompting for renaming
FailEndOfSong.)
2006-11-09 09:09:40 +00:00
Glenn Maynard a1b2e0694c AllFailedEarlier -> AllFailed 2006-11-09 08:18:58 +00:00
Glenn Maynard 49d80d7690 Remove TwoPlayerRecovery. It means that if I'm failing and you're
passing, then I come back and you start failing, we keep going,
as long as one or the other of us was passing at any given time.

This is very unlikely to happen and be useful, and the fail logic
is complicated and brittle and needs simplification.
2006-11-09 07:33:57 +00:00
Glenn Maynard d3fb4047d2 typo 2006-11-09 07:08:09 +00:00
Glenn Maynard c4ffc4f9c4 use PlayerState::HOT, not GetLife 2006-11-09 06:50:48 +00:00
Glenn Maynard d59c978fef use PlayerState::HOT, not GetLife 2006-11-09 06:49:39 +00:00
Glenn Maynard 31534db436 if FAIL_OFF, don't set DANGER or DEAD. This means
GameState::AllAreInDangerOrWorse is always false in FAIL_OFF; if
emptying the lifebar doesn't fail you, you're not in danger from it.
2006-11-09 06:26:28 +00:00
Glenn Maynard 43b7c4ac7d m_HealthState is confusing; it's updated from other stats, and then the
original stats as well as m_HealthState are used for control logic.
Simplify; remove AllAreFailing, and figure it out directly.
2006-11-09 06:10:19 +00:00
Glenn Maynard 815f3d6dd5 remove unused CombinedLifeMeter::IsFailing. Nothing uses it, so
it probably doesn't work.  Maybe a cleaner way if this is needed would
be to have a stub regular LifeMeter that points to CombinedLifeMeter, so
we don't need repetitive logic.
2006-11-09 06:03:18 +00:00
Glenn Maynard 0589d3f72a remove noop (if we want these, better to broadcast a message) 2006-11-09 05:45:10 +00:00
Glenn Maynard 133344a15f try to simplify this UpdateNonstopLifebar stuff (which seems to have
nothing to do with Nonstop).  This stuff is very tweaky and should
probably be broken out into Lua or something.
2006-11-09 04:58:03 +00:00
Glenn Maynard 9a0457a84b simplify 2006-11-09 04:47:33 +00:00
Glenn Maynard c48e4fe8bc remove noop 2006-11-09 04:45:44 +00:00
Glenn Maynard 1f2ddf24a7 remove never used 2006-11-09 04:20:47 +00:00
Chris Danford 3c3359c163 add Strum. This needs cleanup 2006-10-27 18:09:39 +00:00
Chris Danford 17ca30a047 add fret/strum
add PlayerInitCommand
2006-10-27 10:19:08 +00:00
John Bauer 37f9178f61 Add an "Autosync Tempo" feature. This uses a linear Least Squares
Regression to figure out a line through the user's step errors to minimize
that error.  It then uses the slope of that line to fix the tempo and the
intercept to fix the offset.  Stops are adjusted as if they were originally
calculated as a number of beats, ie the slope is also used to change
the stops.

Also fixed is a bug where the user doesn't get a chance to keep or
reject the sync changes when ESCing (ZZing) from a song.

R=glenn
2006-10-26 22:41:40 +00:00
Glenn Maynard de6ca466d2 more enum standardization 2006-10-07 04:39:48 +00:00
Glenn Maynard 2ce839e4eb Invalid 2006-10-07 04:25:28 +00:00
Glenn Maynard 8a4ddd1515 Invalid 2006-10-07 04:13:43 +00:00
Glenn Maynard cb746be4c3 Invalid 2006-10-07 03:43:41 +00:00
Glenn Maynard 38b9f59b83 don't FinishStage in BeginStage 2006-10-04 02:51:32 +00:00