Commit Graph

25676 Commits

Author SHA1 Message Date
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
Chris Danford ceff45f77b add ScreenEdit::EditModifiers 2007-04-24 06:10:27 +00:00
Chris Danford e45f16abb7 experimental support for per-player sound streams 2007-04-24 05:53:41 +00:00
Chris Danford 366bc7cd13 add ScreenEdit::EditModifiers
add AutoKeysounds support to ScreenEdit
TODO: The gameplay portion of the editor should push a ScreenGameplay onto the Screen stack.  There's a lot of unnecessary duplication in ScreenEdit.
2007-04-24 05:42:44 +00:00
Chris Danford 79fd5b35fd don't use macros with variable number of arguments - no version of VC supports it
use existing WARN macro which falls back to printf if LOG isn't yet constructed
2007-04-24 05:24:14 +00:00
John Bauer 44437edc12 Minor build fix - missing VC8 files. 2007-04-24 04:57:05 +00:00
Chris Danford b6d42d5621 fix text banner message not loaded or played 2007-04-24 03:37:03 +00:00
Chris Danford 8bc909029a experimental support for per-player sound streams 2007-04-24 03:36:31 +00:00
Chris Danford 9caf45320f Multiple MIDI events can happen at the same tick count. Read events into a vector instead of a map so that adding events doesn't clobber previous events with the same tick count
Update license.  A BSD license was granted by the STK creator.
2007-04-24 03:24:14 +00:00
Chris Danford f8de3141fd add experimental lead track music file 2007-04-24 03:19:57 +00:00
Chris Danford db932a6ea2 fix bad PlayerState and PlayerStageStats refs passed to Lua when in editor playback 2007-04-24 03:18:46 +00:00
Chris Danford af6491320a add experimental lead track music file
This should be generalized to allow named music tracks
2007-04-24 03:15:00 +00:00
Chris Danford 7154266972 merge sound streams, from Glenn 2007-04-24 03:12:37 +00:00
Glenn Maynard 14456ec45d simplify 2007-04-24 02:13:23 +00:00
Glenn Maynard 0908ed9061 remember m_iCurrentStageIndex 2007-04-24 02:08:31 +00:00
Glenn Maynard 33ad8c7fba update stage 2007-04-24 01:42:34 +00:00
Glenn Maynard 079e0f5397 partial revert (not sure if this is worth maintaining, but it didn't need to
be removed for the last commit)
2007-04-24 01:41:34 +00:00
Glenn Maynard a02b94cb9a update branches 2007-04-24 01:40:21 +00:00
Glenn Maynard 5318d0670d Previously, BeginStage was called in SGameplay and FinishStage was called
in each place gameplay exits.  This incremented the stage number in SSM,
and was brittle: FinishStage was sprinkled in many odd places.  Do both
in SGameplay.

This increments the stage number as soon as gameplay ends.  This only
affects evaluation.  Use the stage number from StageStats there, instead
of the current stage, and adjust branches.  During evaluation, the
game is on the upcoming stage and displaying old data for the last
stage, instead of the stage continuing through evaluation.

This also moves a bunch of scoring-related stuff out of SEvaluation,
to the end of gameplay, where it belongs.  Eval is almost const, and things
won't break like they would before if Eval is not used.
2007-04-24 01:35:32 +00:00
Glenn Maynard 2bcd5a644f use enum_add2 2007-04-24 01:28:53 +00:00
Glenn Maynard 7de6bd605c revert IsStagePossible; not sure yet 2007-04-24 00:44:51 +00:00
Glenn Maynard e4bace37c8 remove m_StageType 2007-04-24 00:42:37 +00:00
Glenn Maynard 9a26797ebb use m_Stage 2007-04-24 00:40:14 +00:00
Steve Checkoway cb6b092431 Install the whole Data directory. 2007-04-24 00:38:16 +00:00
Glenn Maynard 4a872ab329 use m_Stage 2007-04-24 00:36:14 +00:00
Glenn Maynard 2f8e621439 store stage in StageStats 2007-04-24 00:25:54 +00:00
Glenn Maynard 7bb38e2ede Stage_Invalid -> StageType_Invalid 2007-04-24 00:16:39 +00:00
Glenn Maynard 25796bd187 remove IsStagePossible 2007-04-23 23:42:27 +00:00
Glenn Maynard bee83bf4e8 revert exceptions; these should not be on 2007-04-23 23:08:07 +00:00