Commit Graph

138 Commits

Author SHA1 Message Date
Glenn Maynard 92dce8ef1b metrics for combo logic 2005-06-16 07:44:24 +00:00
Glenn Maynard 3fe8c37fe5 m_pPlayerState->m_HealthState != PlayerState::DEAD -> !m_pPlayerStageStats->bFailed
This means that scoring stops when the player actually fails: scoring will still
(as before) stop when the life bar empties in FailEndOfSong, but now will not
stop in FailOff.  (m_HealthState ignores the fail mode.)  This way, beginners
in FailOffInBeginner mode who lose their meter quickly before catching on will
get a decent score, instead of a discouraging "1.5%".
2005-06-15 00:20:21 +00:00
Glenn Maynard e1d829f8e5 fix MercifulBeginner always clamping scores to 0 2005-06-14 23:01:18 +00:00
Chris Danford 755886821d use GradeWeight in grade calculation, not ScoreWeight 2005-05-22 21:01:05 +00:00
Charles Lohr 3d716abadf Fix: Network scoring (this time I am actually using the enumerations instead of arbitrary numbers) 2005-05-22 05:44:56 +00:00
Glenn Maynard 27413bdb35 fix compile 2005-05-18 08:14:56 +00:00
Chris Danford e389ba6191 convert the rest to use Preference 2005-05-16 09:36:32 +00:00
Chris Danford c36df02254 add rolls to eval and scoring 2005-05-09 06:15:59 +00:00
Chris Danford 77f3402579 add MercifulBeginner 2005-04-27 08:52:58 +00:00
Chris Danford 534842c2da calculate grade with possible values from radarValues, not from judgement counts from attempted steps 2005-04-26 04:16:45 +00:00
Steven Towle 9643e9986a Updated display options to work with percentage scoring 2005-04-05 08:50:55 +00:00
Chris Danford 880e42e1d3 fix conflicting ScreenMessage IDs by automatically generating unique values 2005-03-23 08:48:38 +00:00
Glenn Maynard 507493e928 separate Load() call to give queues to ScoreKeepers (do expensive init in ctor) 2005-03-18 07:36:59 +00:00
Chris Danford bb712884bb move global StageStats into a singleton 2005-02-16 03:25:45 +00:00
Chris Danford bc6d223db5 add asserts 2005-01-31 04:41:25 +00:00
Glenn Maynard 6ece8829c4 shut up already 2005-01-25 01:22:32 +00:00
Glenn Maynard faa835f980 rename iMaxScoreToNow -> iCurMaxScore, to look like iCurCombo, iCurMissCombo 2005-01-10 15:26:21 +00:00
Steven Towle 19ac29c9af added score display options 2005-01-09 07:47:38 +00:00
Glenn Maynard 5fc241d597 caps 2005-01-06 02:59:46 +00:00
Chris Danford 9132b5a518 remove unnecessary dependencies on ScreenGameplay 2005-01-06 01:52:45 +00:00
Ben Anderson dee52f75b1 Fix combos (does ScoreKeeper5th need fixing too?) 2004-12-29 19:12:25 +00:00
Chris Danford a1340dd1c0 have gameplay objects access PlayerStageStats though a member pointer and not directly access g_CurStageStats. 2004-12-22 07:31:27 +00:00
Chris Danford 09d018444e split StageStats into player-specific and non-player-specific structs 2004-12-20 10:47:41 +00:00
Chris Danford f840c014a9 Move some player-specific data out of the bloated GameState class.
Have gameplay objects hold a PlayerState pointer instead of a PlayerNumber and indexing back into GameState.
This will simplify off-screen players (e.g. CPU ghosts, network replicated human players, >2 players using one NoteField)
2004-12-20 06:25:59 +00:00
Chris Danford 09193d9e4b cleanup:
use references when passing NoteData
  Have player own a NoteDataWithScoring, not derive from it
2004-10-23 17:43:49 +00:00
Glenn Maynard 3fed128fa2 fix scoring regression, hopefully in a way that won't break again the next
time these enums are reordered
2004-09-11 09:24:44 +00:00
Chris Danford 27ece3ecbf fix "transform mods that last for a whole song in a course get applied twice"
fix "impossible to get 100% on a course that uses AddMines" by calculating RadarValues after applying mods
Trail::GetRadarValues needs to do caching.  Performance is bad.
2004-07-23 04:45:48 +00:00
Chris Danford 96ca652c94 move RadarValues into a separate file
clean up usage of RadarValues
2004-07-11 07:21:33 +00:00
Chris Danford 5544445ad0 name cleanup: StyleDef -> Style 2004-06-28 07:26:00 +00:00
Glenn Maynard 8cffcdda33 unneeded header 2004-06-16 07:24:13 +00:00
Glenn Maynard 549cd7c83f license updates 2004-05-31 21:35:31 +00:00
Glenn Maynard b19f3972c4 fix toasties not playing if perfect combo skips past 250 2004-05-25 03:24:40 +00:00
Chris Danford d65404e750 TapSteps -> TapNotes 2004-05-24 04:26:54 +00:00
Chris Danford 4bb777232d name cleanup: "pNotes" -> "pSteps" 2004-05-24 03:41:39 +00:00
Glenn Maynard caa10b5cd3 int64_t 2004-05-11 20:38:36 +00:00
Chris Danford 9b22ac2eb6 fix possibleDP miscalculation when 2 players playing 2004-03-21 08:47:21 +00:00
Steve Checkoway dd8e0164e9 Clean up NetworkSyncManager 2004-03-17 05:49:37 +00:00
Charles Lohr a25514777a I have modified SM files to add network support.
I tested this under linux AND windows.
There should be no issues, if there is, feel free
to use AIM to IM me at CNLohr, or email me,
webmaster@cnlohr.com.

I modified the .dsp and Makefile.am only to add
networksyncmanager and ezsockets.

I added some startup code to stepmania.cpp,
so that if the user does not desire network support
none will be enabled.

Scorekeeper and screengameplay are modified
so that information can be sent to the server as
well as allowing the game sync to work.

Thanks.
2004-03-16 22:10:45 +00:00
Steve Checkoway 02d438b33f Fix warnings 2004-03-11 10:58:36 +00:00
Chris Danford 1090dcd2a0 add themed StepsType name
add "TotalHighScoreDancePoints" calculation to ScreenEnding
2004-03-11 06:31:30 +00:00
Glenn Maynard 802e1a6758 Store unlock data in a more fundamental form in the profile, and derive
the special values as needed.  Centralize most of it in GameState::EndGame.
2004-02-22 08:16:49 +00:00
Glenn Maynard 1421f168db s/UNLOCKSYS/UNLOCKMAN/ 2004-02-21 01:06:35 +00:00
Glenn Maynard 47bc0b6bb6 fix OK and NG percent scores backwards 2004-02-16 06:09:33 +00:00
Andrew Wong 75ef4652db fix max score for 5th mix long and marathon versions 2004-02-08 10:48:16 +00:00
Chris Danford 2c00b98d1d fix "percent score continues to drop if player is dead and two players are present" 2004-02-04 07:54:58 +00:00
Chris Danford c8fc9ddeae options name cleanup, fixes 2004-01-20 07:09:44 +00:00
Chris Danford 96a7cb0bcd allow display of negative dance points
stop counting dance points after fail
2004-01-12 06:45:36 +00:00
Chris Danford 40b2ecfee5 simplify mine scoring
add separate dance point weights for mines
2004-01-02 08:43:14 +00:00
Chris Danford 4640fb10ad move percent score and and grading constants to prefs 2004-01-02 01:39:14 +00:00
Glenn Maynard 9170e91bcc Move CurStageStats and vPlayedStageState out of GAMESTATE. Having
GameState.h depend on StageStats.h is too inconvenient.
2003-12-23 00:26:00 +00:00