Commit Graph

245 Commits

Author SHA1 Message Date
Chris Danford ab1d3bfd0e fix "PlayersFinalized executes twice" 2004-04-23 02:08:11 +00:00
Chris Danford cca71d1d3f edits cleanup:
- only allow reasonable file sizes
 - only allow one Steps per edit file
 - only allow 5 edits per-song, per-profile
2004-04-23 00:26:51 +00:00
Chris Danford 68e2315224 move Course sorts to CourseUtil, add CourseID 2004-04-18 08:36:04 +00:00
Chris Danford 1920634135 move Song/Steps sorting into Song/StepsUtil.h/cpp 2004-04-18 07:34:37 +00:00
Glenn Maynard ce23a1d712 edits: set m_LoadedFromProfile, force m_Difficulty to DIFFICULTY_EDIT 2004-04-16 23:48:31 +00:00
Glenn Maynard c58fe72382 use Sprite::SongBannerTexture 2004-03-26 07:56:18 +00:00
Chris Danford afa880cbac clean up Difficulty name theming
theme CourseDifficulty on options screen
2004-03-25 06:21:58 +00:00
Glenn Maynard b64a709ace tolerate null song 2004-03-24 03:10:12 +00:00
Glenn Maynard e57c9cc9b8 filter locked and hidden songs from player's best in SongManager
add GetBestSongs accessor that filters like GetAllSongs
2004-03-07 00:17:50 +00:00
Glenn Maynard e74ea267f9 SongManager::GetSongColor: ignore edits 2004-02-29 07:36:03 +00:00
Glenn Maynard 8c8a5f8460 split UpdateBestAndShuffled()
add SortSongs()
2004-02-27 21:28:15 +00:00
Glenn Maynard 656f9f915e pass LoadingWindow* to Reload 2004-02-21 01:52:00 +00:00
Chris Danford 6754c850df Profile HTML fixes 2004-02-16 05:35:06 +00:00
Glenn Maynard dcd308edb7 add Lua hooks 2004-02-14 23:26:32 +00:00
Chris Danford 221b51c2b4 add loading of edits from a profile 2004-02-08 01:05:53 +00:00
Glenn Maynard 64e8edb165 compile fix 2004-02-02 05:49:18 +00:00
Chris Danford ef8010e998 Add GetRandomCourse
change GetRandom* to behave like a shuffle so it doesn't pick back-to-back dupes
2004-02-01 23:06:07 +00:00
Chris Danford 7744d4a36d metric name cleanup 2004-01-25 05:34:46 +00:00
Glenn Maynard 11e7899226 fix minor memleaks 2004-01-21 03:09:59 +00:00
Glenn Maynard 84a8f056d7 fix metrics sometimes not being updated 2004-01-12 00:31:43 +00:00
Glenn Maynard 2fae214ed9 cache metrics (fixes some music wheel load problems) 2004-01-11 21:49:36 +00:00
Glenn Maynard 5c64b361b7 m_bCheckSongCacheOnLoad -> !m_bFastLoad 2003-12-31 09:32:21 +00:00
Glenn Maynard cb8057a5c3 add CheckSongCacheOnLoad 2003-12-30 04:26:39 +00:00
Glenn Maynard 367e1f6e73 add EXTRA_COLOR_METER 2003-12-21 03:22:15 +00:00
Glenn Maynard ef6b831ea3 cache Course::GetCourseInfo results 2003-12-21 02:54:23 +00:00
Glenn Maynard 8371d211ba debugging 2003-12-15 07:53:30 +00:00
Glenn Maynard e9ae2c0803 continue phasing out BASE_PATH and SLASH 2003-12-10 09:44:16 +00:00
Glenn Maynard 11870a6072 continue phasing out BASE_PATH and SLASH 2003-12-10 09:26:05 +00:00
Chris Danford bf98d8248a overhauling stats: move all stats from SongManager to ProfileManager 2003-12-07 07:09:13 +00:00
Glenn Maynard fafa38c62c more transparent m_DWIPath 2003-12-05 04:38:22 +00:00
Glenn Maynard a279bd3c15 more transparent m_asAdditionalSongFolders 2003-12-05 02:27:38 +00:00
Glenn Maynard 35ae87f893 use SDL_LoadImage in WriteStatsWebPage 2003-12-04 21:27:52 +00:00
Glenn Maynard 966d108817 use RageFile::PutLine 2003-12-04 04:27:14 +00:00
Glenn Maynard 8271656c91 don't warn about missing scores files; it happens on every initial run 2003-12-03 05:35:28 +00:00
Chris Danford 5eeb7eeb37 replace hard-coded / with SLASH (courses subdirs not being loaded in xbox) 2003-12-02 18:42:33 +00:00
Glenn Maynard 070e3c5158 Revert not-compiling GROUP_SORT_COLOR_FILE stuff.
Tip: we shouldn't have a dedicated file for this; other information we'll
eventually want for groups is UTF-8 data (since those can't be portably
stored in filenames).  Better would be a per-group INI, akin to and searched
for like the group banner images.

Songs/My Songs/group.ini:
[Group]
Color=#123456
Name=foo
2003-11-30 18:41:23 +00:00
Steve Checkoway b125e3d980 Fix RageFile, use RageFile. Const fix in LyricsLoader. 2003-11-30 06:20:25 +00:00
Chris Danford 3952930730 add meter to options screen Steps row
set preferred difficulty when changing options screen Steps row
2003-11-29 18:10:43 +00:00
Glenn Maynard 0017ffac05 preload cache banners 2003-11-25 23:01:53 +00:00
Glenn Maynard da160607b8 Allow preloading all song banners. 2003-11-25 22:56:48 +00:00
Glenn Maynard eba07e8228 add GetBestCourses 2003-11-17 03:20:39 +00:00
Glenn Maynard 6353d9a007 move GetDifficultyThemeName into SongManager 2003-11-16 19:07:52 +00:00
Glenn Maynard 92dc51e328 per-memcard SONGMAN->GetBestSongs 2003-11-14 21:52:05 +00:00
Chris Danford 6366d979ce clear ranking "name to fill in" markers on save 2003-11-09 21:40:20 +00:00
Glenn Maynard c1eb81d73f Only write course records for courses that have been played. 2003-11-01 05:30:54 +00:00
Glenn Maynard b511a9aaa3 Optimize SongManager::WriteStatsWebPage (was taking 300ms for me).
Don't write empty lines and don't write empty games, to get rid of pages of
empty data for unused games.
2003-11-01 04:49:23 +00:00
Glenn Maynard 706b2eee10 don't write unneeded data to disk 2003-10-31 23:17:14 +00:00
Glenn Maynard e35fee68f0 Fix slow score writing.
f << endl; is roughly equivalent to fprintf(f, "\n"; fflush(f);.  Never use endl
unless you really, explicitly want to flush the stream.
2003-10-23 21:00:47 +00:00
Glenn Maynard 593091e75e fix warning 2003-10-21 20:57:48 +00:00
Chris Danford 0d8d427ebd fix Mac GCC compile error 2003-10-21 20:35:32 +00:00