Commit Graph

25728 Commits

Author SHA1 Message Date
Glenn Maynard 9e1a2441b0 optimize. GetLuaType is fast, but still locks Lua and impacts gameplay
a bit when ARROW_SPACING is looked up hundreds of times per
frame.
2007-04-28 19:27:36 +00:00
Glenn Maynard 12b5e4c008 unused 2007-04-28 16:32:20 +00:00
Glenn Maynard da811a3f33 debugging 2007-04-28 16:26:09 +00:00
Steve Checkoway 5a602a6fa2 Compute the file path cache one time. 2007-04-28 08:59:00 +00:00
Steve Checkoway 3945856c37 Move to GlobalSingletons. 2007-04-28 08:34:27 +00:00
Glenn Maynard a464aeef7b cleanup 2007-04-27 23:28:41 +00:00
Glenn Maynard 7c314952b2 better reset on unjoin 2007-04-27 21:14:50 +00:00
Glenn Maynard 6d9e23f60c cleanup 2007-04-27 19:53:33 +00:00
Glenn Maynard d4469afd7a also fix course crash when SongsPerPlay > 3 2007-04-27 00:40:52 +00:00
Glenn Maynard e432337815 fix course crash when SongsPerPlay > 3 2007-04-27 00:36:58 +00:00
Glenn Maynard 702b1a03c0 add JointPremium pref 2007-04-26 18:13:37 +00:00
Glenn Maynard 3edeb1a0be tweak LifeDifficulty 2007-04-26 17:53:54 +00:00
Glenn Maynard c4f451a9ee honor locked input for start presses 2007-04-26 17:07:35 +00:00
Glenn Maynard db22d5fffd fix hard to read 2007-04-26 16:49:49 +00:00
Steve Checkoway e34b60b989 Add files. 2007-04-26 07:03:19 +00:00
Glenn Maynard 51618f60e9 update 2007-04-26 02:26:22 +00:00
Glenn Maynard 74a17abe9b modified haste mechanics 2007-04-26 00:56:37 +00:00
Glenn Maynard 0036068bd5 missed DQ changes 2007-04-26 00:54:33 +00:00
Glenn Maynard 6494893afb fix ScreenTestMode 2007-04-25 23:12:44 +00:00
Glenn Maynard 82a026133b clamp timer 2007-04-25 22:57:55 +00:00
Chris Danford 1b8e2be15f StartIndex -> StartRow 2007-04-25 22:42:40 +00:00
Glenn Maynard bed13264a1 allow rushing the timer with arrow buttons, too 2007-04-25 22:35:50 +00:00
Glenn Maynard 75e2a58944 ifx funky timer behavior 2007-04-25 22:27:36 +00:00
Glenn Maynard f2a12492e0 rename 2007-04-25 21:22:45 +00:00
Glenn Maynard 424e7c0bf0 cleanup 2007-04-25 21:21:50 +00:00
Glenn Maynard 0939a2f69b remove stale code 2007-04-25 21:18:38 +00:00
Glenn Maynard b0cc029f15 cleanup 2007-04-25 20:57:28 +00:00
Glenn Maynard 5f34c4bab3 add m_aButtonsToNotHold 2007-04-25 20:24:13 +00:00
Glenn Maynard 9bbed8657d fMaxSecondsBack -> m_fMaxSecondsBack 2007-04-25 20:19:06 +00:00
Glenn Maynard 79194f2d6b missed commit 2007-04-25 20:01:11 +00:00
Glenn Maynard 3902001ec5 fix crash 2007-04-25 20:00:41 +00:00
Glenn Maynard 643cadbbe0 fix up DQ; CurStageStats changes didn't interact well with it 2007-04-25 20:00:18 +00:00
Glenn Maynard 9ed7cf25f3 move AllHumanHaveComboOf30OrMoreMisses into StageStats 2007-04-25 16:39:03 +00:00
Glenn Maynard 1f4889effe barrier not needed anymore 2007-04-25 16:37:05 +00:00
Glenn Maynard acdfa60b0b barrier not needed anymore 2007-04-25 16:36:03 +00:00
Glenn Maynard 4fbac59b2f this is done explicitly 2007-04-25 16:35:43 +00:00
Glenn Maynard def4aedce6 no saved stats in multiplayer 2007-04-25 16:34:08 +00:00
Glenn Maynard dcb952fbf5 make this explicit 2007-04-25 16:22:30 +00:00
Glenn Maynard e774751e95 run final stats before sending m_CurStageStats to m_vPlayedStageStats 2007-04-25 16:16:53 +00:00
Chris Danford 3014b3f9d8 handle "velocity==0 means note-off". Makes for better handling of the case where notes overlap 2007-04-25 05:44:24 +00:00
Glenn Maynard 7f6a237cdd handle failure in SGameplay, not SContinue; fixes name entry
not knowing a player is finished
2007-04-25 04:03:20 +00:00
Glenn Maynard 508e61131b update 2007-04-25 03:52:14 +00:00
Glenn Maynard 5e017af7a6 partial update 2007-04-25 03:51:42 +00:00
Glenn Maynard b0e6eb178b partial update (functional) 2007-04-25 03:51:16 +00:00
Glenn Maynard 713c95b2b0 Stage refactoring:
- m_iPlayerCurrentStageIndexForCurrentCredit is changed to m_iPlayerStageTokens,
   counting the number of stages left.  This can be incremented and decremented
   (as a bonus or penalty) with no weird side-effects; it is not used to determine
   whether the player is on an extra stage.  This is less brittle; it eliminates
   special cases to avoid incrementing the counter and skipping into an extra stage.
 - Stage tokens are subtracted for each song played, and a player is unjoined
   when he runs out.
 - Stage tokens are subtracted at the start of gameplay.  If the player cancels,
   they're "refunded".  This differs from before, where the stage was incremented
   at the end of gameplay.  This makes the stage token counter meaningful during
   gameplay; if this is done at the end, then it would be too high during gameplay.
 - IsFinalStage is gone.  If needed, use GetSmallestNumStagesLeftForAnyHumanPlayer.
 - Extra stages are awarded by adding a stage token and incrementing
   m_iAwardedExtraStages.  If m_iAwardedExtraStages is 1, the player is
   on his first extra stage; if 2, his second.
2007-04-25 03:50:17 +00:00
Glenn Maynard c5dd045f8a remove unused m_iCurrentCombo 2007-04-25 03:39:53 +00:00
Glenn Maynard 8d396834dc remove m_bComboContinuesBetweenSongs 2007-04-25 03:38:40 +00:00
Glenn Maynard b9af8c094c fix SetPlayerOptions 2007-04-25 03:31:07 +00:00
Glenn Maynard 9978102d25 remove unused 2007-04-25 01:17:50 +00:00
Glenn Maynard 96fae2c25f unused 2007-04-25 01:17:11 +00:00