Commit Graph
100 Commits
Author SHA1 Message Date
Glenn Maynard a7eae8d067 remove the newer prefs INIs, not just StepMania.ini 2003-03-06 23:26:20 +00:00
Glenn Maynard 203fd190a3 simple adds 2003-03-06 23:19:06 +00:00
Glenn Maynard 0b22378211 give a bit more time when we don't have focus 2003-03-06 23:08:21 +00:00
Glenn Maynard 2fdc892e98 We want to write scores for songs that havn't been passed,
so we keep track of times played.
2003-03-06 23:06:21 +00:00
Glenn Maynard 0a0aa2a8f6 inval cache 2003-03-06 23:03:42 +00:00
Glenn Maynard f64f210ca1 Remove MAX_BEATS. 2003-03-06 22:51:30 +00:00
Glenn Maynard 2f7c8a0c2e Reduce dependency on MAX_BEATS. 2003-03-06 22:50:44 +00:00
Glenn Maynard 7cd6c95cac Reduce dependency on MAX_BEATS. 2003-03-06 22:42:29 +00:00
Glenn Maynard 75a058c1dd Reduce dependency on MAX_BEATS.
Don't call GetLastBeat from GetFirstBeat.
2003-03-06 22:40:04 +00:00
Glenn Maynard e645510909 Reduce dependency on MAX_BEATS 2003-03-06 22:25:21 +00:00
Glenn Maynard 0ad5b74051 work around another (easy) gldirect bug 2003-03-06 09:58:25 +00:00
Glenn Maynard ed64f269ef Work around GLDirect bug. 2003-03-06 09:26:07 +00:00
Glenn Maynard 1604222001 Small fix for bAALinesCauseProblems
Add Add bPackedPixelsCauseProblems
2003-03-06 09:25:48 +00:00
Glenn Maynard 9b635c0015 add some asserts near where some crashdumps pointed to 2003-03-06 08:10:28 +00:00
Glenn Maynard d17a9c9f17 update 2003-03-06 03:13:52 +00:00
Glenn Maynard 4f9f288ddd eof nl 2003-03-06 03:13:36 +00:00
Glenn Maynard dcd49a286f fix compile 2003-03-06 02:01:28 +00:00
Glenn Maynard 1bb3349c6e fix compile problems (operator<() must be const) 2003-03-06 01:12:27 +00:00
Glenn Maynard 5951cf7f1f fix compile problems 2003-03-06 01:02:17 +00:00
Glenn Maynard 70af758545 fix minor warnings 2003-03-05 23:47:08 +00:00
Glenn Maynard be89073042 fix compile problems 2003-03-05 23:35:43 +00:00
Glenn Maynard 09a0632481 Don't die due to invalid data. (We should be able to hose any
given piece of any song and still load cleanly.  It's fine to die due
to things that shouldn't be bad--such as themes--but we should be
very tolerant of songs.)
2003-03-05 10:07:20 +00:00
Glenn Maynard f5116967a8 Add error output, simplify 2003-03-05 09:51:32 +00:00
Glenn Maynard 4f120731aa don't change the sample position of songs that actually have
a sample start of 0
2003-03-05 09:28:27 +00:00
Glenn Maynard a448d15bd8 readd 'm' shortcut 2003-03-05 02:38:17 +00:00
Glenn Maynard 7a4934980a Fix SetPositionSamples() when we have a rate. This should fix
the editor problems.

There's a major restriction of rate changing: you can't change the
rate while the song is playing.  That's because RageSound keeps
track of the number of samples actually *output to the sound driver*;
it determines the position within the sound by dividing by the rate.
(It might be possible to adjust position dynamically within SetPlaybackRate
to make this work, but this isn't done right now.)
2003-03-05 02:31:22 +00:00
Glenn Maynard ef33416418 remove old comment 2003-03-04 23:06:11 +00:00
Glenn Maynard 1b6cac3460 this is fixed 2003-03-04 23:03:36 +00:00
Glenn Maynard 2850db3658 fix tweens when a style is selected quickly (I never wait for the tween
to finish ...)
2003-03-04 22:56:51 +00:00
Glenn Maynard 219c81c6ce fix the back button in the difficulty select screen 2003-03-04 22:55:35 +00:00
Glenn Maynard 47e1271f2f fix hiding balloons when switching to a section header 2003-03-04 06:36:13 +00:00
Glenn Maynard 7c04cde567 guess the title from the directory name 2003-03-04 06:25:11 +00:00
Glenn Maynard f45074cfa1 (Why *are* metrics case-sensitive?) 2003-03-04 06:24:02 +00:00
Glenn Maynard 0d6a670e13 don't crash on bogus values 2003-03-04 06:23:12 +00:00
Glenn Maynard 791b70803b make GetMainAndSubTitlesFromFullTitle available 2003-03-04 06:22:20 +00:00
Glenn Maynard b62871059e Don't throw due to missing #BPMS 2003-03-04 05:59:56 +00:00
Glenn Maynard 9840777aba fix sounds playing twice 2003-03-04 01:13:36 +00:00
Glenn Maynard b7d4c1499e cosmetic 2003-03-03 23:51:15 +00:00
Glenn Maynard 6071bf6fac cleanup: actors generally shouldn't move themselves 2003-03-02 06:16:03 +00:00
Glenn Maynard f60decadd8 Temporary hack: pump events a bunch (eg. a few seconds' worth)
every frame, to see if input messages are getting queued or something.
2003-02-28 20:52:57 +00:00
Glenn Maynard 151eea0a2c reposition items that depend on reverse when we change songs 2003-02-28 20:50:28 +00:00
Glenn Maynard 1808b6838c remove hardcoded values, make it work for 2P 2003-02-28 10:20:07 +00:00
Glenn Maynard c7d8098411 delay the balloons a little 2003-02-28 09:25:25 +00:00
Glenn Maynard 0b7dafb0de (just because) 2003-02-28 08:58:29 +00:00
Glenn Maynard c816f69a89 write cdtitle to dwis 2003-02-28 08:55:56 +00:00
Glenn Maynard dccc07980a Don't blank out song elements that don't exist. 2003-02-28 08:47:27 +00:00
Glenn Maynard 141a9275d4 fix metric 2003-02-28 08:46:14 +00:00
Glenn Maynard 0918725cc1 delay more if we don't have focus 2003-02-28 08:44:52 +00:00
Glenn Maynard 2be3ec534c add a comment 2003-02-28 08:43:14 +00:00
Glenn Maynard 403216ba44 clean up GetExtraStageInfoFromCourse 2003-02-28 08:42:02 +00:00
Glenn Maynard b18edf2507 clean this up
don't compare booleans to "true" or "false"; it's redundant
(this is still a hack, but I don't feel like puzzling out the right way to
do this)
2003-02-28 08:19:10 +00:00
Glenn Maynard 2fa39fed8a Deal with determining whether to use Marv. timing within TNStoDP.
Use IsCourseMode.

Remove old comment.
2003-02-28 08:12:47 +00:00
Glenn Maynard c35af594c0 cleanup 2003-02-28 08:10:49 +00:00
Glenn Maynard d3d7f77dd8 move TapNoteScoreToDancePoints out of the header; reduces
deps, and I can't imagine it's being inlined anyway
2003-02-28 07:44:44 +00:00
Glenn Maynard 181b906137 add GameState::CourseMode 2003-02-28 07:26:43 +00:00
Glenn Maynard 6df3f721cc cleanup, adds 2003-02-28 07:25:27 +00:00
Glenn Maynard aeef5f2874 add missing autoheader call 2003-02-25 21:27:59 +00:00
Glenn Maynard a441f136de fix off-by-one (oops) 2003-02-25 21:23:21 +00:00
Glenn Maynard 4241b20f57 add missing init 2003-02-25 21:10:07 +00:00
Glenn Maynard 25f9a19eff remove unused constants 2003-02-25 20:10:03 +00:00
Glenn Maynard 3b1c7ea32b unneeded check
(why do we need to check for >= 0?)
2003-02-25 19:59:29 +00:00
Glenn Maynard 38118ab10d optimize and clean up a little 2003-02-25 19:49:16 +00:00
Glenn Maynard 32d2cd8cc1 tween out balloons 2003-02-24 20:25:27 +00:00
Glenn Maynard 17c891c78b Start the balloons zoomed out, so they don't flicker on screen for a frame 2003-02-24 20:17:02 +00:00
Glenn Maynard 66d66d2821 oni -> michi 2003-02-24 20:14:17 +00:00
Glenn Maynard d483917c40 closest-match selected difficulty 2003-02-24 19:56:25 +00:00
Glenn Maynard 589d0c6761 tweak 2003-02-24 19:52:45 +00:00
Glenn Maynard ab3c8e47b1 Handle up to two wildcards in GetDirListing 2003-02-24 07:07:56 +00:00
Glenn Maynard 848ff56bbc don't accept presses after hitting start 2003-02-24 04:40:41 +00:00
Glenn Maynard dfec6b101f don't reset SongOptions between course songs 2003-02-24 04:15:18 +00:00
Glenn Maynard 43f6a2f97c fix silly sort bug 2003-02-24 03:46:04 +00:00
Glenn Maynard 0eda984d16 use StoreSelectedOptions and RestoreSelectedOptions
store options earlier; restore them more consistently
2003-02-24 03:26:33 +00:00
Glenn Maynard 8e21ba6f8a add StoreSelectedOptions and RestoreSelectedOptions 2003-02-24 03:26:00 +00:00
Glenn Maynard 653fd69bea use iSongsPlayed in eval 2003-02-24 02:59:27 +00:00
Glenn Maynard c0e898de30 increment SongsPlayed at the beginning of the song, not the end 2003-02-24 02:58:31 +00:00
Glenn Maynard c541f11765 use Played here, instead of Passed 2003-02-24 02:45:27 +00:00
Glenn Maynard c6ccc82b98 Keep track of played and passed songs separately; it's too much
of a hassle to try to derive one from the other.

always record m_SelectedOptions on the first song played
2003-02-24 02:45:01 +00:00
Glenn Maynard fc859e5ca5 off-by-one error in banner detection 2003-02-24 02:43:32 +00:00
Glenn Maynard 788ac6a09d Keep track of played and passed songs separately; it's too much
of a hassle to try to derive one from the other.
2003-02-24 02:43:05 +00:00
Glenn Maynard fff1449239 Add an entry per song for endless courses, to reduce repetition.
Improve IsPlayableIn.
2003-02-24 00:58:04 +00:00
Glenn Maynard aac5e21f9b Fix paths (fixes old DWI-style tree handling) 2003-02-24 00:28:32 +00:00
Glenn Maynard 266343f9d8 unused 2003-02-24 00:16:46 +00:00
Glenn Maynard d504324106 Reduce the chances of repeating random songs.
This won't help Endless (where it's probably most important), since
that's a single-song repeated course.  Probably should add a bunch
of random entries instead of just one ...
2003-02-24 00:09:34 +00:00
Glenn Maynard 80981df5b6 update sdl bins 2003-02-23 22:38:42 +00:00
Glenn Maynard eaf27312b5 fix division by zero 2003-02-23 22:27:28 +00:00
Glenn Maynard 996f89885d i didn't do it! he did it! 2003-02-23 06:56:02 +00:00
Glenn Maynard ba744f1eae error handling 2003-02-23 06:26:33 +00:00
Glenn Maynard 37a8a897cf log the build number 2003-02-23 06:26:01 +00:00
Glenn Maynard dbb7ec7fe7 Remove most of the debugging cruft. (Nobody else is reporting
this and the one person that did can't reproduce it.)  Reduce it to
some sanity and progress checks so it can be narrowed down if
it happens again.
2003-02-23 06:25:43 +00:00
Glenn Maynard 78567273df fix Each Tomorrow 2003-02-22 22:06:59 +00:00
Glenn Maynard 763791eb71 only set up the popularity contest if we actually need it; it's still a
little slow
2003-02-22 22:04:44 +00:00
Glenn Maynard edc290583a ignore Z axes, too 2003-02-22 22:03:13 +00:00
Glenn Maynard daf8ce8822 Init options, since FromString won't do it for us.
Make a huge mess of SaveMachineScoresToDisk; someone reported
a crash and I can't find anything wrong with it.  (Wasn't going to commit
this, but I want to commit the above; this shouldn't stick around very
long ...)
2003-02-22 21:59:21 +00:00
Glenn Maynard fb222eadf7 Restore user-selected options when backing out of a song/course
to the selection menu.
2003-02-22 21:58:02 +00:00
Glenn Maynard 7877e7689a Don't Init() in FromString. 2003-02-22 21:56:59 +00:00
Glenn Maynard fad2b81d43 oops, fix compile 2003-02-22 21:47:42 +00:00
Glenn Maynard c532dd1101 optimize SortSongPointerArrayByMostPlayed 2003-02-22 21:25:09 +00:00
Glenn Maynard 6681fa6108 This was backwards. Instead of fixing it, I'll just remove it for now,
since this should be done inside the theme metric itself anyway ...
2003-02-22 03:36:26 +00:00
Glenn Maynard c48ea65727 missing m_bDDRExtremeDifficultySelect initialization
(this should probably go away, but make it work for now)
2003-02-22 03:27:54 +00:00
Glenn Maynard 8338feca72 mass pngcrush 2003-02-22 02:59:28 +00:00