Commit Graph

474 Commits

Author SHA1 Message Date
Glenn Maynard f082368325 fix up Song::GetClosestNotes: search all difficulties; if not looking for an
edit, don't return one
2005-01-13 17:38:18 +00:00
Glenn Maynard 11ea219e12 fix FreeAllLoadedFromProfiles possibly rarely missing some edits 2004-12-06 07:39:26 +00:00
Chris Danford 2b9d990e71 prefs name cleanup 2004-12-04 06:09:30 +00:00
Glenn Maynard abb6a73e4b simplify, fix ReCalculateRadarValuesAndLastBeat not updating on future
calls because m_fFirstBeat/LastBeat aren't reset to -1
2004-12-03 02:52:07 +00:00
Glenn Maynard 0d608c0806 Make sure the first BPM segment starts at beat 0.
round sample music for short songs to a measure, not 10 beats
2004-12-03 01:16:14 +00:00
Chris Danford 8e476b97c0 bug fix: HighScores for edits don't match correctly because the hash is ignored 2004-11-24 16:32:21 +00:00
Chris Danford 8fe7c75a9a cleanup
Don't use GetSteps with the really long parameter list absolutely necessary.
2004-11-24 16:25:47 +00:00
Glenn Maynard feae525a63 we have music for keyed songs, even if we have no BGM track 2004-11-04 00:03:51 +00:00
Glenn Maynard ca02ee68d0 log ignored loads due to cached !m_bHasMusic 2004-10-31 20:32:57 +00:00
Chris Danford 3ac1dba044 simplify TapAttack storage:
store attack info in TapNote
  in the SMNoteData string, store the attack params inline (like with keysounds)
play keysounds when hit
  still doesn't play keysounds on a miss
  still doesn't play autoKeysounds
2004-10-23 23:41:49 +00:00
Chris Danford 09193d9e4b cleanup:
use references when passing NoteData
  Have player own a NoteDataWithScoring, not derive from it
2004-10-23 17:43:49 +00:00
Glenn Maynard 8e947c7d0f clean up IsEasy logic 2004-10-10 14:36:11 +00:00
Glenn Maynard f30127bcab bump 2004-09-26 02:24:20 +00:00
Chris Danford 03fbb915f3 remove VC6 scoping hacks 2004-09-21 07:53:39 +00:00
Glenn Maynard 66b17e5ef2 fix legacy songs not showing background at end, but still allow new
songs to not have it
2004-09-13 08:00:34 +00:00
Glenn Maynard 61d578e738 bump 2004-09-13 06:52:14 +00:00
Glenn Maynard 514dd10d4a bump cache 2004-09-02 01:52:37 +00:00
Glenn Maynard 38f5b8d46c also trim both sides of the artist; this fixes TM5 "Lady Madonna" artist sorting 2004-09-02 01:05:18 +00:00
Glenn Maynard f9c1bdb669 trim both sides of the title; this fixes TM5 " GO" sorting to the wrong place 2004-09-01 23:46:19 +00:00
Chris Danford 873c148f0e fix crash on exiting editor
clean up invalidation of Song and Courses
2004-08-12 04:49:15 +00:00
Chris Danford 13dd1a9bda fix crash on exit editor
move management of Song resources out of Song and into SongManager
2004-08-11 08:23:14 +00:00
Chris Danford f47e16ca86 don't pick autogen Courses for a BGA random course banner
don't pick DISPLAY_NEVER songs for demonstration
don't pick DISPLAY_NEVER songs for a BGA random song banner
don't show DISPLAY_NEVER songs on the ranking screen
2004-07-25 21:56:19 +00:00
Chris Danford 655855cd70 don't show tutorial songs in Roulette 2004-07-25 20:51:44 +00:00
Chris Danford 7f9639fc01 update comments 2004-07-24 06:52:39 +00:00
Chris Danford b028934429 clean up Course cache logic 2004-07-24 06:40:51 +00:00
Glenn Maynard bd7eaf3f6c save memory by loading SMData from cache on demand 2004-07-22 21:02:07 +00:00
Glenn Maynard 093b507d25 simplify, fix fallback, fix lights transform not being run 2004-07-17 20:17:25 +00:00
Glenn Maynard e260798a1b simplify 2004-07-12 20:46:20 +00:00
Chris Danford d412ab055d name cleanup: NotesType -> StepsType 2004-07-12 02:19:24 +00:00
Glenn Maynard d3d49ee7ff bump cache 2004-07-11 21:12:37 +00:00
Chris Danford 96ca652c94 move RadarValues into a separate file
clean up usage of RadarValues
2004-07-11 07:21:33 +00:00
Chris Danford 5544445ad0 name cleanup: StyleDef -> Style 2004-06-28 07:26:00 +00:00
Glenn Maynard be22bc4993 bump cache 2004-06-20 03:08:16 +00:00
Glenn Maynard 1fed4d35e5 fix song graphic search aborting early if all assets are filled in (it should
only break if they all actually exist)
2004-06-20 02:13:47 +00:00
Glenn Maynard 9130137f91 cleanup 2004-06-16 21:14:56 +00:00
Glenn Maynard 47d43cee82 unsigned -> size_t for string::find returns 2004-06-16 07:01:12 +00:00
Glenn Maynard 87823229c5 error handling fixes 2004-06-14 01:12:22 +00:00
Glenn Maynard b481fc465b excessively large commit: use RageSurface 2004-06-14 00:51:00 +00:00
Glenn Maynard f2578fe6a9 s/RageSurface/RageSurfaceUtils/ 2004-06-13 20:19:28 +00:00
Glenn Maynard a29018587f SONGMAN->FlushCaches whenever deleting Steps* 2004-06-11 21:34:30 +00:00
Chris Danford 51366df8cc name cleanup: PLAY_MODE_ARCADE -> PLAY_MODE_REGULAR 2004-06-11 06:05:35 +00:00
Chris Danford cb6800ccd4 hide tutorial songs in all modes but PLAY_MODE_ARCADE 2004-06-10 08:43:53 +00:00
Chris Danford 7dcd6da1dc fix uninitialized StageStats.pSteps causes crash on Song::RevertFromDisk 2004-06-06 21:30:47 +00:00
Chris Danford fa114e148a use PlayerNumber macros 2004-06-06 20:57:13 +00:00
Glenn Maynard 5c7dd115ad fix Song::GetSteps 2004-06-06 02:08:48 +00:00
Glenn Maynard 99e11714e5 Keep steps by StepsType, to speed up the common case of searching by
it.  Catalog writing (still for only one course) down to .381s; still too much
time to be spending for one course on every load.  I'd make catalog writing
only happen if something has changed, but that would mean introducing
some form of course caching, which I'd rather avoid ...
2004-06-05 08:36:21 +00:00
Glenn Maynard 1246e086f2 Only create autogen steps pointers if steps autogen is enabled. This fixes
random courses taking too long to generate with autogen disabled: it has
to iterate over *all* steps (including the unused autogen steps); when
outputting the catalog, this means it has to iterate over every song once
per random course line per steps type per course difficulty.  (test case
of one 9-random-entry course with autogen off: ~10 seconds -> ~1.5 seconds;
still too much)
2004-06-05 08:20:07 +00:00
Glenn Maynard 10ef60e6ce optimize Song::GetStepsByDifficulty and Song::GetStepsByMeter 2004-06-05 07:55:40 +00:00
Glenn Maynard f887354214 fix Song::FreeAllLoadedFromProfiles 2004-06-05 07:51:40 +00:00
Glenn Maynard 6c93aebe04 remove m_bChangedSinceSave 2004-06-05 07:49:21 +00:00