Steve Checkoway
76f0af145b
When Move()ing, Remove()ing, or Close()ing a file opened for writing, update the cache when possible (RageFileDriverDirect) or invalidate the directory cache for the directory containing that file (everything else). Remove most of the FlushDirCache() calls as they are no longer needed. This fixes a long standing bug where files added into the cache were stat(2)ed O(n^2) times--that is, each file is stat(2)ed O(n) times.
2009-09-14 08:08:06 +00:00
Chris Danford
df9ed04fd3
CustomDifficulty fixup
...
fix stats.xml not saving
experimental recentscores.xml saving
2009-08-09 20:11:23 +00:00
Chris Danford
4dabae6630
remove unnecessary/unused Catalog.xml and .xsl files
2009-08-09 04:02:34 +00:00
Chris Danford
cd139430f5
CustomDiffiuclty cleanup, now takes CourseType as a parameter
...
DifficultyList -> StepsDisplayList
Course editor screen cleanup
Change GameManager back to singleton for consistency with other classes
2009-08-09 02:59:32 +00:00
Chris Danford
74f675acee
dump recent scores to separate XML files for uploading to a web service instead of saving in stats.xml
2009-08-08 06:57:55 +00:00
Chris Danford
c83d0207a7
PlaySeconds -> SessionSeconds so that "PlaySeconds" and "GameplaySeconds" aren't confused
2009-08-08 03:10:41 +00:00
Chris Danford
ed75682b9f
remove Workout, fold into EditCourses
2009-03-22 08:42:27 +00:00
Mike Hawkins
1a5f4ca673
Correction for last update using wrong Profile.cpp file (see http://www.stepmania.com/forums/showthread.php?p=139259&posted=1#post139259 )
2009-01-08 05:47:10 +00:00
Mike Hawkins
35051e4479
Increase max size of stats.xml, considering the fact that many people have a large number of songs (many more than 100) and many songs now have single+double charts included (more than 3).
2009-01-08 03:07:48 +00:00
Chris Danford
83c0aec94a
revert last: StringToDifficulty is intentional
2008-11-28 21:10:41 +00:00
Jason Felds
68c78e18b1
StringToDifficulty -> BackwardCompatibleStringToDifficulty. Looks like a few files were missing.
2008-11-28 20:41:05 +00:00
Steve Checkoway
521c1c23e5
GAMEMAN-> to GameManager::
2008-03-24 12:50:16 +00:00
Chris Danford
defedc2c62
GAMEMAN->GetStepsTypeInfo -> GameManager::GetStepsTypeInfo to allow Lua to call before GameManager singleton is initialized
2008-03-24 08:53:05 +00:00
Chris Danford
077a1a3b85
Add StepsTypeInfo and return the structure rather than having GameManager methods for each piece of data
2008-03-24 04:39:24 +00:00
Glenn Maynard
3e36a05c5f
fix song.h!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2008-03-09 01:51:34 +00:00
AJ Kelly
c9b69604e8
add more lua bindings for stats
2007-09-23 19:53:09 +00:00
Steve Checkoway
5eb5c5e199
This isn't invalid, just a song we don't know about, likely one that was once played and the removed. Don't warn.
2007-08-19 01:27:03 +00:00
Steve Checkoway
a01bf41010
Use ShowWarningOrTrace, it strips out unnecessary parts of the path.
2007-08-16 07:59:30 +00:00
Glenn Maynard
3e3c1deea4
We have a lot of duplicate, redundant checks between UNLOCKMAN->SongIsLocked
...
and Song::GetDisplayed/Song::NormallyDisplayed, which leads to inconsistency.
Make UnlockManager::SongIsLocked() handle both. Returns a bitfield; most
cases only need to test true or false.
(Also adds m_bEnabled; not used yet.)
2007-08-13 21:20:51 +00:00
Glenn Maynard
4f256b12b1
store as a reference
2007-08-13 19:24:54 +00:00
Glenn Maynard
a1d33f8588
use Song::GetDisplayed
2007-08-13 19:18:55 +00:00
Steve Checkoway
092a348637
Add preference to disable writing the Catalog.xml.
2007-08-11 23:15:54 +00:00
Glenn Maynard
545da7424b
fix UnlockAuthString
2007-06-20 22:25:57 +00:00
Glenn Maynard
6a1db065d2
save m_PreferredStepsType, too. Fixes inconsistent behavior
...
in ScreenSelectMusic::SwitchToPreferredDifficulty due to
m_PreferredDifficulty being set and m_PreferredStepsType
not.
2007-06-15 15:51:33 +00:00
Glenn Maynard
9f324dc74f
add UnlockAuthString
2007-06-03 02:39:13 +00:00
Glenn Maynard
6ee33d2a33
ProfileStepEdits, ProfileCourseEdits prefs
2007-05-27 17:59:41 +00:00
Glenn Maynard
6b60a97092
Profile::ClearStats
2007-05-06 05:13:58 +00:00
Glenn Maynard
ef0be2d6ac
debug
2007-05-06 02:09:33 +00:00
Glenn Maynard
c5dd045f8a
remove unused m_iCurrentCombo
2007-04-25 03:39:53 +00:00
Glenn Maynard
b97fa408b5
guid fixup
2007-04-24 21:05:45 +00:00
Glenn Maynard
f75f71317f
allow disabling the catalog. With compressed stats.xml, copying this file
...
takes most of save time.
2007-04-24 20:20:01 +00:00
Glenn Maynard
572f0afdf3
fix warnings on save
2007-04-17 21:03:07 +00:00
Glenn Maynard
c83bb6abe7
fix warnings on save
2007-04-17 20:48:01 +00:00
Glenn Maynard
565558fb6d
fix MakeGuid returns garbage
2007-04-17 20:19:08 +00:00
Steve Checkoway
0cb56b6ec2
GetAllSongs() -> GetSongs().
2007-04-07 05:36:40 +00:00
Glenn Maynard
d50f66373a
bindings
2007-03-14 04:26:32 +00:00
Chris Danford
0160e23705
style cleanup: use FOREACH_ENUM( X, x ) everywhere instead of FOREACH_X( x ) for consistency
...
The FOREACH_X defines are not very useful, and they were created back before FOREACH_ENUM was convenient.
2007-02-23 22:29:42 +00:00
Glenn Maynard
62b5c145db
remove SetTextValue
2007-02-11 07:40:45 +00:00
Glenn Maynard
fb8e73ac58
SetValue, etc -> SetTextValue
2007-02-11 06:26:06 +00:00
Glenn Maynard
5135b7b27c
use templated GetValue, not old RString GetValue()
2007-02-11 00:30:44 +00:00
Glenn Maynard
aa6cb99bf5
fix fn for signing
2007-01-24 22:05:37 +00:00
Glenn Maynard
284a6051ba
allow compressing stats.xml
2007-01-23 07:32:56 +00:00
Glenn Maynard
ea7e48e08e
move secure random code
2006-12-20 23:17:57 +00:00
Glenn Maynard
b30163e157
private
2006-10-17 08:58:58 +00:00
Steve Checkoway
2568284699
Unbreak HighScoreForACourseAndTrail node creation.
2006-10-14 06:53:16 +00:00
Glenn Maynard
6c0264620e
probably safer: ConvertValue
2006-10-12 02:03:47 +00:00
Steve Checkoway
6fd4694b79
Simplify.
2006-10-11 11:12:09 +00:00
Steve Checkoway
c532646ac1
Casting an rvalue to nonconst reference is illegal. I'm not positive why these are considered to be rvalues when they are cast.
2006-10-11 09:33:09 +00:00
Glenn Maynard
4ccea4e87b
phase out separate course difficulty names
2006-10-07 22:49:04 +00:00
Glenn Maynard
78a91ba878
revert. You brought back a type I've been trying to remove.
2006-10-07 22:33:24 +00:00