Commit Graph

25646 Commits

Author SHA1 Message Date
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
John Bauer ac6d86c36a Unremove needed include.
(VC8 definitely needs it.)
2007-04-23 02:51:28 +00:00
John Bauer 2427d793dd Fix the windows build of lundump.c. 2007-04-23 02:50:04 +00:00
John Bauer 4f38eb717e Make it so you can go left from A to Z and right from Z to A in the
Edit Menu.  Small change.
2007-04-22 14:32:04 +00:00
John Bauer 76ffe8fd73 Add a couple files to the vc8 build and turn exceptions back on. 2007-04-22 14:12:59 +00:00
Steve Checkoway 96ad156980 The last of the missing files. 2007-04-22 08:42:42 +00:00
Steve Checkoway aad8662bdb This is not unique to Linux. 2007-04-22 07:00:19 +00:00
Steve Checkoway 27049d68fd Remove unneeded include. 2007-04-22 06:30:12 +00:00
Steve Checkoway 507842fe52 Add/remove files. 2007-04-22 05:17:45 +00:00
Steve Checkoway 3d11ecd137 Style cleanup. 2007-04-22 00:14:36 +00:00
Steve Checkoway 9e186e22bc Load commands. 2007-04-22 00:06:50 +00:00
Steve Checkoway 5529b25ea9 static. 2007-04-22 00:02:32 +00:00
Steve Checkoway eb4246df82 Spacing cleanup and static. 2007-04-22 00:01:59 +00:00
Steve Checkoway f224db5ce6 Load the commands. Not tested. 2007-04-21 23:51:24 +00:00
Steve Checkoway 2d6c04e4f3 One ON_COMMAND is probably enough. 2007-04-21 23:51:08 +00:00
Steve Checkoway ad4cf84255 Maybe fix compile on windows. (Part III) 2007-04-21 23:20:36 +00:00
Steve Checkoway ebe44e87e3 Revert. 2007-04-21 23:16:04 +00:00
Steve Checkoway 3d9cfcd130 String, not boolean. 2007-04-21 23:15:18 +00:00
Steve Checkoway d152259801 Remove /. Also use a font that exists. 2007-04-21 22:27:17 +00:00
Steve Checkoway 7f7d798cc0 Simplify. 2007-04-21 22:08:15 +00:00
Steve Checkoway 15b259f4f5 Remove LoadInternal. 2007-04-21 22:01:31 +00:00
Steve Checkoway 734ad88eb0 Unneeded headers. 2007-04-21 21:58:27 +00:00
Steve Checkoway bfd7e70d2d Const. 2007-04-21 21:54:37 +00:00