Commit Graph
25668 Commits
Author SHA1 Message Date
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
John Bauer ee0c5123b1 Fix the build: standard macro arg lists use ... and __VA_ARGS__ but do
not allow specific names for the arg lists.
2007-04-23 16:35:17 +00:00
Steve Checkoway 25d66981ec Mount StepMania.app/Contents/Resources/SMData.smzip, if it exists. This makes SM installable as a single drag and drop application bundle. 2007-04-23 06:27:02 +00:00
Steve Checkoway 6d21c77474 make dist will now correctly make a source tarball which will also contain the SMData.smzip. 2007-04-23 06:25:08 +00:00
Steve Checkoway acb88e2f91 Look in the application directory and in DATADIR for SMData.smzip. This way the distributed binary can be run its directory or if compiled from source, the data may be installed and we will look there instead. For development, of course, SMData.smzip should not be installed as we should be using the files in Themes and so forth. One easy way to insure that is to set the prefix somewhere like /tmp when developing so that it will look for /tmp/share/stepmania\ cvs/SMData.smzip, which will not exist. 2007-04-23 06:23:27 +00:00
Steve Checkoway 3e53607dbd Use the new forms of AC_INIT and AM_INIT_AUTOMAKE. Do not bother defining the package and version variables, we do that ourself. Add the datadir to the CPPFLAGS. 2007-04-23 06:18:23 +00:00
Steve Checkoway 9f9b4403d9 Perl script to package up the default data into SMData.smzip. 2007-04-23 06:10:29 +00:00
Steve Checkoway 4c614ae701 The file drivers are one of the few things that can be accessed before LOG is set up, guard all accesses. 2007-04-23 05:52:51 +00:00
Steve Checkoway 9681c7fb3f Then stick it some place it only gets included for the Windows build. 2007-04-23 02:54:42 +00:00