Commit Graph
26532 Commits
Author SHA1 Message Date
AJ Kelly 4a9af0135d add PercentScoreDecimalPlaces 2007-09-15 04:46:11 +00:00
Chris Danford 9558ec7bb1 fix crash if menu timer expires while on song section 2007-09-14 21:34:42 +00:00
Chris Danford 77940f76a2 Move percent formatting into PlayerStageStats and apply the truncating rules in GetPercentScore(). The percent score that ends up in HighScore should match what is shown on the screen. 2007-09-14 08:50:29 +00:00
Chris Danford 71cca3a067 add NumControllerSteps 2007-09-14 05:56:12 +00:00
Chris Danford 2ff23c4d01 fix: if multiple holds start on the same row, only the last one on the row was being updated 2007-09-13 05:26:59 +00:00
Chris Danford c330dd6ae0 add to all_tracks_iterator: copy constructor, operator=, GetIter 2007-09-13 05:18:05 +00:00
Chris Danford 7a156e73bb update EnumToString comment. Should we assert on an _Invalid value? 2007-09-13 04:47:18 +00:00
Chris Danford a0732c6256 fix correctness of void UpdateJudgedRows() (rows weren't being judged because the iterator was pointing to the middle of a row instead of the beginning of the row. 2007-09-13 04:35:36 +00:00
Vecais Dumais Laacis ce3f6ecc7a fixes crash when using Tornado 2007-09-12 15:03:30 +00:00
Vecais Dumais Laacis 1e65dc956b uses GAMESTATE:SetJukeboxUsesModifiers to randomize modifiers for every song (not only 1st one) 2007-09-12 14:56:38 +00:00
Vecais Dumais Laacis 00f55cefdc enables switching m_bJukeboxUsesModifiers (ScreenJukebox uses this but nowhere in code were anything that could switch it on/off) 2007-09-12 14:54:57 +00:00
Chris Danford 9559ce8f4a move CrossedMine logic into CrossedRow 2007-09-12 11:01:43 +00:00
Chris Danford 0873cbae8b optmization: move iterators used by UpdateJudgedRows into Player 2007-09-12 11:00:14 +00:00
Chris Danford 493614d57e optimize updating of holds (10-13 fps => 15-18 in multiplayer) 2007-09-12 04:29:25 +00:00
Chris Danford 92901643e5 optimize CrossedRows (8-11 fps => 10-13 in multiplayer) 2007-09-12 04:20:54 +00:00
Chris Danford 1e627253fb fix miss interator going past end (assert in HowToPlay) 2007-09-11 23:11:39 +00:00
Chris Danford 8e0c76819e undo part of last commit (restore "m_pIterNotJudged = NULL") 2007-09-10 21:48:06 +00:00
Chris Danford 17252a0852 fix iter memleak on ::Load called multiple times
iMissIfOlderThanThisIndex -> iMissIfOlderThanThisRow
Unjudged -> NotJudged
2007-09-10 21:44:00 +00:00
Chris Danford 0a4b671f39 move Missed notes iterator into Player instead of reinstantiating the iterator every Update, which causes a lot of searching. Increases multiplayer frame rate by about 40%. 2007-09-10 21:23:31 +00:00
Steve Checkoway 1b5defb046 Require bash. Apparently people still have bourne shells other than bash. 2007-09-10 05:08:20 +00:00
Steve Checkoway 4d66c801e1 fix crash 2007-09-10 04:18:15 +00:00
Steve Checkoway 555dbc3d52 Assign to a particular level, don't just combine. Fixes second extra stage using first extra stage's mods. 2007-09-10 03:44:36 +00:00
AJ Kelly 3b1ff6c10c fix frame size error 2007-09-10 03:18:04 +00:00
Chris Danford 7ae238376d Change GetInputDeviceState to return InputDeviceState_NoInputHandler instead of InputDeviceState_Invalid
Rename "_Disconnected" to "_Unplugged"
2007-09-09 04:11:39 +00:00
Chris Danford bd7e452c33 fix param name: sample -> frame 2007-09-09 04:06:42 +00:00
Chris Danford b0008ad8f7 remove unnecessary: m_pPlayer->SetVisible( bShowNoteField ) 2007-09-09 04:06:05 +00:00
Glenn Maynard d268477d4f fix "../configure: line 6627: no_x: command not found" 2007-09-08 07:33:22 +00:00
Chris Danford e45cbe663f don't instantiate Combo and Judgments if Player isn't visible
short circuit drawing parts in Player::Update if not visible
2007-09-06 00:28:50 +00:00
Chris Danford bc21adef29 fix out-of-bounds access. VC2005 debug catches this, but VC2003 didn't. 2007-09-04 05:24:19 +00:00
Chris Danford 5a73f14767 add IsEmptyTrack 2007-09-04 04:21:35 +00:00
Chris Danford b7d9b04507 GetNumUsedTracks -> GetMaxNonEmptyTrack 2007-09-04 04:21:15 +00:00
Steve Checkoway c1e67d7f26 Fix holds in reverse. 2007-09-04 00:29:08 +00:00
Chris Danford a935e21de5 Keep data for all MIDI note numbers, not just guitar notes 2007-09-02 10:40:00 +00:00
Vecais Dumais Laacis 4982a0d951 only use when networking enabled 2007-08-29 16:19:30 +00:00
Vecais Dumais Laacis fe7d434cd9 fully reset score between songs 2007-08-29 16:13:52 +00:00
AJ Kelly c030c5f0e7 change colors and design to match new default noteskin 2007-08-28 23:49:34 +00:00
Chris Danford df5be11a62 hide Players with no NoteField, always center MultiPlayer Players instead of looking up position metrics 2007-08-27 12:03:17 +00:00
Chris Danford 4847c7da5a GetCourseSongIndex: use first enabled MultiPlayer 2007-08-27 10:28:19 +00:00
Glenn Maynard a2c65170a5 handle course selectable flag like songs 2007-08-27 09:34:31 +00:00
Glenn Maynard 4acaeab1b9 fix preferred sort 2007-08-27 09:32:45 +00:00
Glenn Maynard 5faeba6cc6 typo 2007-08-27 03:04:52 +00:00
Glenn Maynard d126a91013 don't crash if loading fails 2007-08-25 22:33:34 +00:00
Glenn Maynard 9929c2972f use newer, type-safe enums 2007-08-25 22:32:38 +00:00
Glenn Maynard e9d6d12a04 remove unused 2007-08-25 22:32:16 +00:00
Chris Danford 43925dffee let PreferredDifficulty have an effect even if PreferredStepsType isn't set 2007-08-25 07:23:15 +00:00
Chris Danford 09e3f1872e GetNextScreen -> GetNextScreenName (makes return type more clear in Lua) 2007-08-25 03:13:16 +00:00
Chris Danford 06212434a5 rename MultiPlayer_1 -> MultiPlayer_P1 for consistency with Lua 2007-08-24 20:49:53 +00:00
Chris Danford bd9447ede4 remove multiplayer song index hack, replace with UpdateStageStats override that multiplayer can use
fix gameplay fails immediately if all players don't have a LifeMeter.
2007-08-24 20:29:01 +00:00
Chris Danford 1bdf0c8bcf fix GetCourseSongIndex in multiplayer 2007-08-24 20:27:50 +00:00
Josh Allen 271ebdbb02 song.h 2007-08-24 15:43:12 +00:00