Commit Graph

25704 Commits

Author SHA1 Message Date
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
Glenn Maynard 6035ff65ed simplify 2007-04-25 01:16:04 +00:00
Glenn Maynard 132ec6db1f use text for numbers 2007-04-25 01:13:18 +00:00
Glenn Maynard ccc19fa60b Don't track the individual stage with Stage; use the stage index for that.
(Reducing the usage of the "stage" concept.  It conflicts with overlapped
play.)
2007-04-25 01:11:50 +00:00
Glenn Maynard 1c203eb4f6 PickExtraStage removed 2007-04-25 01:00:42 +00:00
Glenn Maynard 90567a7a29 fix compile the 2007-04-25 00:49:58 +00:00
Glenn Maynard d88d9388f8 simplify 2007-04-25 00:30:30 +00:00
Glenn Maynard 450ed7120b remove m_bPickExtraStage, use false behavior. Extra stage stuff is way too complicated for too many niche cases. 2007-04-25 00:23:09 +00:00
Glenn Maynard 73c6158bbe simplify: count each stage as one stage, no special case for long songs 2007-04-24 21:37:20 +00:00
Glenn Maynard bae642b3d7 simplify 2007-04-24 21:11:25 +00:00
AJ Kelly 8d168ad8e2 add ScreenProfileLoad 2007-04-24 21:09:57 +00:00
Glenn Maynard b97fa408b5 guid fixup 2007-04-24 21:05:45 +00:00
Glenn Maynard f75f71317f allow disabling the catalog. With compressed stats.xml, copying this file
takes most of save time.
2007-04-24 20:20:01 +00:00
Glenn Maynard 21b544c8ae simplify iSaveProfileEvery stuff and make it closer to correct 2007-04-24 19:36:45 +00:00
Glenn Maynard 73fdbf1319 clamp 2007-04-24 19:31:32 +00:00
Glenn Maynard 26dd52583a courses take all stages, but only count as 1 in the stage counter 2007-04-24 18:21:17 +00:00
Glenn Maynard 9556754d30 unjoin failed players 2007-04-24 18:17:52 +00:00
John Bauer 9c06215fd4 Update the edit mode beat colors to match the new gameplay beat colors. 2007-04-24 17:34:42 +00:00
Glenn Maynard 51a32ac52d LoadEdits 2007-04-24 16:34:17 +00:00
Glenn Maynard 95fb191fb4 allow loading profile without loading edits 2007-04-24 16:30:23 +00:00
Steve Checkoway 3ddb737cf2 Put SMData.smzip in Packages. Install SM as a directory into the bindir. I could not think of a better place. If you want to specify /usr/games, then build with --bindir=/usr/games, or if using the build.sh script, ./build.sh -- --bindir=/usr/games, see ./build.sh --help for details. 2007-04-24 09:27:07 +00:00
Steve Checkoway e161979b42 Add files and set stepmania and GtkModule.so to not be installed. We will do this manually from the top level Makefile. 2007-04-24 09:24:29 +00:00
Steve Checkoway 04d4f0447e Do not use datadir at Glenn's behest. Look for Packages as well as Songs so that this can be installed with the data in Packages. 2007-04-24 09:21:34 +00:00
Steve Checkoway 270f537b74 Fix build. 2007-04-24 08:56:05 +00:00
Steve Checkoway 777e89c0a7 Pointers to member functions requires &. 2007-04-24 08:39:08 +00:00