Commit Graph

94 Commits

Author SHA1 Message Date
Glenn Maynard cb44e7edda Invalidate cache due to addition of Pump couples loading.
Don't add songs that fail to load.
2002-09-10 22:55:12 +00:00
Glenn Maynard 9858e18467 also fix cdtitles 2002-09-10 20:55:06 +00:00
Chris Danford 65ac3e43e8 Fixed GetMusicPath in case where DWIPath is "" 2002-09-10 16:31:35 +00:00
Glenn Maynard 3022600bf3 "i'm going to bed--oh wait, I just introduced a stupid bug" commit. 2002-09-10 11:33:08 +00:00
Glenn Maynard d3c44fbdc0 Whoops, can't cache colons, so can't fixup paths at load time. Do
it at query time instead.
2002-09-10 09:03:08 +00:00
Glenn Maynard 257697d0a9 Fixup DWI-tree song paths.
Don't prepend paths to those variables when they include a backslash,
not when they begin with a period.
2002-09-10 08:39:58 +00:00
Glenn Maynard 2440f1d6b7 /* */ 2002-09-10 05:10:20 +00:00
Glenn Maynard a0dc7ec5bf Use fallbcak notes; some fixes for it. 2002-09-10 04:59:53 +00:00
Chris Danford ccc43c8502 checking in SMMAX2 theme and small fixes to themes and smpackage 2002-09-09 05:22:02 +00:00
Glenn Maynard 440de6c0da Move DWI writing into a separate class. (Trying to simplify Song and
Notes ... this would help more if both of those were abstracted, though.)
2002-09-09 00:22:02 +00:00
Glenn Maynard 2a4f8d6cdf move some members out of the header;
remove a couple includes
2002-09-07 11:45:15 +00:00
Glenn Maynard b95f7be48c err. 2002-09-07 10:22:49 +00:00
Glenn Maynard e2e5cdeb65 Hashes are unsigned.
Remove unused variables.
2002-09-07 10:22:06 +00:00
Glenn Maynard e32ed54af2 Eh, better off just not *loading* incomplete songs than adding
cases for it elsewhere.  (Not going to do that until I have a place
to put warnings, though.)
2002-09-07 06:32:12 +00:00
Glenn Maynard e992012de2 some work to make it possible to start with incomplete songs (without
music)
2002-09-07 06:26:00 +00:00
Glenn Maynard 570be0a738 Move loaders into their own classes. 2002-09-06 23:36:04 +00:00
Glenn Maynard 9823bd8ac7 more! more! 2002-09-06 21:34:17 +00:00
Glenn Maynard 0deee30dc6 More fallback code. 2002-09-06 10:15:00 +00:00
Glenn Maynard 13d6d5f116 Couples stuff. Not complete, but functional; more coming and this
stuff needs testing.
2002-09-06 08:56:28 +00:00
Glenn Maynard b11f38ef7c bump cache, for previous '4' fix 2002-09-06 00:22:44 +00:00
Glenn Maynard 441541a16c Add #SELECTABLE:YES, NO and ROULETTE.
Add an option for this.  It's off by default.
2002-08-30 04:28:12 +00:00
Chris Danford 1b3c62adb9 added autogeneration of Notes for missing NotesTypes 2002-08-25 19:00:12 +00:00
Glenn Maynard 79bc58aedd Fix a bug in the m_sSongFileName optimization; add an assertion for it. 2002-08-24 07:57:28 +00:00
Chris Danford a0c7d5bd22 added BackgroundChange editing and DWI saving to editor 2002-08-23 20:18:29 +00:00
Glenn Maynard 9881034aae trace before LoadFromSMFile instead of after 2002-08-22 22:48:04 +00:00
Glenn Maynard 56b72981a7 Cache GetSongFilePath, so it doesn't call GetDirListing. Cuts about 200ms off my laod. 2002-08-22 21:59:47 +00:00
Chris Danford 822f8dd3a6 Moved more constants into theme metrics 2002-08-22 09:31:32 +00:00
Glenn Maynard 718a6305f4 Flatten song parsing code a bit. (Gah--that makes patches look really big, when most of the lines are really just changing indentation.)
More minor const fixes in Notes.

Handle #DIFFICULTY in KSF.

Fix spurious warnings about KSF keys.

Clean up KSF parsing slightly.
2002-08-21 03:04:39 +00:00
Glenn Maynard 9e9e012310 Move cache indexing into a global object. Only load the cache file once, instead of for each song loaded. (Speedup, and simplifies Song.cpp.)
It's still written over for each file; this way, if a file load crashes, the earlier files will still be written to cache.
2002-08-21 02:13:08 +00:00
Glenn Maynard 22f558bf34 More const fixups. 2002-08-21 00:48:41 +00:00
Glenn Maynard a8cbf08e3d Make Song:: const-correct, and fix constness in the qsort() callbacks. 2002-08-21 00:47:29 +00:00
Glenn Maynard c233e3c6d2 Support for "artist - title - difficulty" titles in KSF. 2002-08-20 22:03:09 +00:00
Chris Danford 7766338beb more bug fixes 2002-08-20 21:00:56 +00:00
Glenn Maynard 8814a37d19 Vain, hopeless attempt to simplify GetBeatAndBPSFromElapsedTime. :) 2002-08-20 07:20:59 +00:00
Glenn Maynard 2e78a4d08f Add Song::SongHasNoteType, moved from ScreenSelectGroup. 2002-08-20 06:47:30 +00:00
Chris Danford 0e5f97143e optimizations 2002-08-19 20:02:30 +00:00
Chris Danford 5c21d4b1ca bug fixes 2002-08-18 23:20:18 +00:00
Chris Danford 4558db37bb added menu to editor 2002-08-17 06:44:04 +00:00
Chris Danford 84df8103d4 Fixed a couple Pump bugs 2002-08-15 16:45:49 +00:00
Chris Danford 7c1bfb3a0d big checkin - new noteskin format and XY positioning. I probably broke a lot of things. 2002-08-13 23:26:46 +00:00
Chris Danford 4c3c43abcc Broke noteskin colors into " Tap.colors" and " Hold.colors" 2002-08-03 18:40:09 +00:00
Chris Danford 4c12a0921b Fixes to Extra Stage 2002-08-01 13:42:56 +00:00
Chris Danford 0e0a328191 Fixed Song/Stage counter in Oni/Endless 2002-08-01 05:11:11 +00:00
Chris Danford 4e1bd74ee6 added a transition between course songs 2002-08-01 03:15:27 +00:00
Chris Danford 4ec08edf2d Mini-rewrite of input mapping, theme support, and added KSF reader. 2002-07-31 19:40:40 +00:00
Chris Danford 936fabbe85 more fixes to Oni and courses 2002-07-27 19:29:51 +00:00
Chris Danford 317c352a9b Various bug fixes. See changelog. 2002-07-23 01:41:40 +00:00
Chris Danford 82e52c1306 3.0 beta 4 2002-07-11 19:02:26 +00:00
Chris Danford 9b546bb721 3.0 beta1 release candidate 2002-07-03 21:27:26 +00:00
Chris Danford c6f4421f32 no message 2002-07-03 03:13:13 +00:00