Commit Graph
100 Commits
Author SHA1 Message Date
Chris Danford cbe1bed2d9 add OldPageIndex and NewPageIndex to *SwitchPage messages 2007-11-21 09:38:13 +00:00
Chris Danford 7d3247a8aa fix 'Load player edits, play one of the player edits, continue, choose Nontop; crash' 2007-11-13 12:08:29 +00:00
Chris Danford 0acaeecba0 move m_bMultiplayer conditional into GameState 2007-11-13 10:27:28 +00:00
Chris Danford 11f24cce33 move m_bMultiplayer conditional into GameState 2007-11-13 10:27:07 +00:00
Chris Danford a9f336acbc fix CommitStageStats not being called 2007-11-13 10:24:42 +00:00
Chris Danford 04a0829134 allow checkpoints for rolls 2007-11-13 04:48:58 +00:00
Chris Danford f18813088b style cleanup
don't touch hold_head_holds in StepStrumHopo
2007-11-13 04:40:44 +00:00
Chris Danford f935bb9cd1 add ExitHideItem to control whether text on the exit row shows 2007-10-29 18:29:21 +00:00
Chris Danford 7261a4bfca fix typo that broke navigation of ScreenOptionsService 2007-10-29 03:51:54 +00:00
Chris Danford ca58e59490 fix out-of-bounds in GetStepsQueue for Courses that bRepeat 2007-10-28 23:59:33 +00:00
Chris Danford ad697be6a9 broadcast WorkoutGoalComplete 2007-10-28 00:02:44 +00:00
Chris Danford 8ea8dc83d5 allow 3 key navigation of workout Screens, ScreenMiniMenu 2007-10-27 22:00:20 +00:00
Chris Danford 4f3724c550 give workouts a default name (in case the user doesn't have a keyboard) 2007-10-27 10:45:33 +00:00
Chris Danford e8bca9e85c fix wrong Steps being used for first multiplayer difficulty 2007-10-27 09:04:27 +00:00
Chris Danford 7ca1ac3fff SurviveSeconds -> AliveSeconds 2007-10-27 01:51:58 +00:00
Chris Danford 41fda46bfd support MultiPlayer 2007-10-27 01:49:18 +00:00
Chris Danford 4dba7b9bbe EffectColor -> effectcolor, ShadowLength -> shadowlength 2007-10-26 21:51:23 +00:00
Chris Danford 6258283f30 clean up multiplayer difficulty choosing logic 2007-10-26 21:50:04 +00:00
Chris Danford a770ba9d9d add GetDummyPlayerInfo 2007-10-26 10:09:43 +00:00
Chris Danford 93ccbdd313 don't allow double in multiplayer 2007-10-26 07:41:15 +00:00
Chris Danford 8df33321d3 remove WorkoutStepsType 2007-10-26 07:40:54 +00:00
Chris Danford e48a3add69 add Get/SetNumMultiplayerNoteFields 2007-10-23 18:09:41 +00:00
Chris Danford fe0f02f7e2 add debugging assert 2007-10-19 09:01:12 +00:00
Chris Danford 84bb380ae3 use enum types in Lua methods 2007-10-19 09:00:54 +00:00
Chris Danford aa4afd5474 fix inverted Selectable logic 2007-10-19 09:00:18 +00:00
Chris Danford dd4c27bc0f fix Workout with non dance-single Styles 2007-10-19 08:59:25 +00:00
Chris Danford 5fa0000bec lua method GetValue: use Enum::Check<RadarCategory> for param 2007-10-19 08:58:46 +00:00
Chris Danford 215fd9f2ad fix TapNotes being given TNS_Miss after they were already judged (also caused non-checkpoint HoldNotes to LetGo)
fix HoldNotes never receive judgment because out of range ones were not being passed to UpdateHoldNotes.
2007-09-17 00:03:43 +00:00
Chris Danford 5272d5994c clean up GetVisible() optimization to not process things that won't show. Fixes editor crash on playback. 2007-09-16 21:22:09 +00:00
Chris Danford 2322929f9c Intermediate-term hack fix for multiplayer trying to load difficulties of Steps that aren't present. 2007-09-16 19:43:14 +00:00
Chris Danford 1fcce84c9f remove PercentageDisplay metrics 2007-09-16 19:36:46 +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
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
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
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
Chris Danford a935e21de5 Keep data for all MIDI note numbers, not just guitar notes 2007-09-02 10:40:00 +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
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
Chris Danford 2c693da0f7 broadcast ScoreChanged with params 2007-08-24 11:35:52 +00:00
Chris Danford 5b1aa24c6c broadcast Step message with parameters 2007-08-22 09:03:47 +00:00
Chris Danford 07ea9de943 remove unused DifficultyToString 2007-08-22 09:03:18 +00:00
Chris Danford 6977897945 fix PlayerStageStats pointing to the wrong PossibleSteps in Multiplayer 2007-08-21 01:36:22 +00:00
Chris Danford e334a5bb2e mapping fix for GamePad Pro in pump 2007-08-21 01:35:47 +00:00
Chris Danford f648af4560 Lua bind DifficultyToString 2007-08-21 01:35:29 +00:00
Chris Danford 2832da8b4c in Multiplayer, have multiple Player objects for each MultiPlayer, then choose the best score from each group of Players on StageFinished 2007-08-20 10:45:28 +00:00
Chris Danford 58aa14142f broadcast on SelectionState change
rename: StepsSelected->StepsChosen
2007-08-20 03:32:26 +00:00
Chris Danford 4311158735 Split *Options::FromString into FromString and FromOneModString.
Check for invalid mod names when loading a course by checking whether the mod is a valid PlayerOption or a valid SongOption.  Previously, SongOption mods were being flagged as errors by PlayerOptions.
2007-08-20 02:57:05 +00:00
Chris Danford 82cb9aa2ee allow backing out from keyboard in Multiplayer 2007-07-18 02:01:50 +00:00
Chris Danford e252c200eb Testing hack: Allow non-removable drive letters to be used if that driver letter is specified as a m_sMemoryCardOsMountPoint. 2007-07-17 09:46:07 +00:00
Chris Danford 5cdb22168e add Lua bindings 2007-07-13 20:31:13 +00:00
Chris Danford 544f922c3a add sType param to Load* 2007-07-13 10:42:42 +00:00
Chris Danford 9d00f9f2ae don't CommitStatsToProfiles in Multiplayer 2007-07-13 10:42:15 +00:00
Chris Danford 42c69f8bc8 play command when InputDeviceState changes 2007-07-12 11:03:16 +00:00
Chris Danford 84c966a79b default mapping for Gravis gamepad 2007-07-12 11:02:32 +00:00
Chris Danford ca745476c4 add InputDeviceStateToString 2007-07-12 11:02:00 +00:00
Chris Danford 663640b0c2 allow multiple dummy players 2007-07-12 11:01:25 +00:00
Chris Danford f6b50e28e9 persist changes to AssistTick by setting as preferred mods 2007-06-18 23:33:32 +00:00
Chris Danford 579e47ce19 add VisualDelaySeconds to debug menu
START -> &START;  in credits text, so that we don't have to translate button names
2007-06-18 21:01:46 +00:00
Chris Danford 6487425fde add VisualDelaySeconds to debug menu 2007-06-18 20:59:51 +00:00
Chris Danford 45a225917f fix title menu nav 2007-06-18 10:53:37 +00:00
Chris Danford 2019db103e restore logic that was lost in previous changes:
Set the new m_iChoice even for disabled players, since a player might join on a SHARED_SELECTION after the cursor has been moved.
2007-06-11 19:18:13 +00:00
Chris Danford f6b8d67f5f fix "noteskin change in a course entry lasts through the next entry if the next entry has no attacks" 2007-06-10 23:47:35 +00:00
Chris Danford 244a639e06 temporary revert: LOAD_ALL_COMMANDS -> LOAD_ALL_COMMANDS_AND_SET_XY 2007-06-10 22:29:47 +00:00
Chris Danford 2cfc85f8fc move DECLARE_ONE macro definition down by where it's used 2007-06-09 10:58:32 +00:00
Chris Danford 096f56aa2c remove hard-coded exit row effect - use metrics instead 2007-06-09 10:57:42 +00:00
Chris Danford 96383744f9 don't bake layout into strings 2007-06-06 10:04:35 +00:00
Chris Danford edc23dd5e1 cap at 20 credits for locations with time cards so that players can't load the machine up with an unlimited number of credits 2007-06-04 21:13:20 +00:00
Chris Danford 9e66a5a24a Exclude unused DShow files to fix VC2005 Express build
Explicitly link user32, ole32, advapi32.  These seem to be linking automatically in Enterprise but not in Express.
2007-06-03 21:53:54 +00:00
Chris Danford 962af8a559 zip the big PSDs 2007-06-01 22:06:10 +00:00
Chris Danford 92d3778e29 add LifeMeter binding in ScreenHowToPlay and ScreenGameplay
remove GetPlayerInfo binding (currently unused)
2007-05-29 21:19:38 +00:00
Chris Danford 1b9eb42c82 ScreenHowToPlay naming cleanup 2007-05-29 18:08:48 +00:00
Chris Danford 02218bd63c naming cleanup 2007-05-29 18:08:11 +00:00
Chris Danford 833a712e45 fix IsExtraStage returning true in ScreenHowToPlay 2007-05-29 18:07:54 +00:00
Chris Danford ba616e4195 add playback of bass and rhythm tracks 2007-05-17 03:26:50 +00:00
Chris Danford 16194d7e53 handle note data on any track and don't hard-code to track 1 2007-05-16 19:40:28 +00:00
Chris Danford 0af7590ed3 style cleanup 2007-05-15 22:15:36 +00:00
Chris Danford 71492cd106 add PreferredStepsType, fix StepsType jumps when changing songs if multiple StepsTypes are shown 2007-05-15 19:32:39 +00:00