Kyzentun
2aee27a276
Backport custom song support. Prefs are CustomSongsEnable, CustomSongsMaxCount, CustomSongsLoadTimeout, CustomSongsMaxSeconds, CustomSongsMaxMegabytes. Metrics are NumProfileSongGroupColors and the colors with it. Profile custom load function is passed PlayerNumber now. Stepmania must run as root to save USB profile scores. ( #1470 )
2017-06-06 05:30:06 -07:00
Kyzentun Keeslala
d372a6c8fd
Added timer to not update loading window after every song to speed up loading.
2016-04-18 13:08:20 -06:00
Kyzentun
e591c559c6
Fixed hold cap rendering when Tiny modifier is used. Still has the 1px seam though. Added sanity checking groups progress to SongManager loading.
2015-05-06 15:48:23 -06:00
Kyzentun
2b4cabfb57
Added keybinding for reloading songs on SSM, and lua function for doing it from lua. Added NeverCacheList preference for WIP groups that should never be cached. Rewrote TimingData::CopyRange in preparation for using it to copy/paste timing data from the selected area in edit mode.
2015-03-31 15:20:37 -06:00
Kyzentun
8b09da8e64
Various changes to speed up start up time:
...
Added delay_save_cache to SongCacheIndex so that it doesn't write the entire cache index file after every song is loaded when loading songs.
Added m_SongsByDir to SongManager so that GetSongFromDir doesn't have to walk the entire list of songs.
Minor changes to when LoadEnabledSongsFromPref occurs and how SanityCheckGroupDir works to speed up loading.
Song::ReloadFromSongDir removes cache file to force an actual reload from the song dir instead of reloading from the cache. ReloadFromSongDir exposed to lua.
Reordered Actor::LoadFromNode to put Command first because that case is more common.
Course::GetTrailUnsorted reserves entries before starting to save time reallocating.
join in RageUtil calculates the final size of the concatenated strings reserves it to save time reallocating.
Added time log file to RageLog for profiling.
2015-03-30 17:45:52 -06:00
Colin Wallace
473974e52f
Add ability to delete songs from disk at the song selection screen (Ctrl+Backspace)
2015-03-27 05:22:55 +00:00
Kyzentun
3fb36af157
Separate styles for players. Notefields positioned between margins. Edit mode works for kickbox.
2014-12-09 22:27:00 -07:00
Kyzentun
4f95bf08ad
Function chaining for actors and singletons.
2014-12-01 22:31:30 -07:00
Kyzentun
a74a49af78
Changed many uses of Dialog::OK and LOG->Warn to use ReportScriptError.
2014-08-02 00:38:18 -07:00
Devin J. Pohly
9916275a8a
fix signed-compare warnings
...
The m_iSelection array could probably be made unsigned... IF we were
confident we never try to assign it a negative number, of which fact I'm
not convinced.
2014-02-08 20:30:33 -05:00
Ben "root" Anderson
a040c4a586
1) SOMEONE can't spell "accessible" 2) Global commenting consistency 3) persistance -> persistence
2013-11-30 09:50:54 -06:00
Ben "root" Anderson
a16a42cb02
Edit loading overhaul: Load edits from song folders; Allow a songfolder-style hierarchy in profile edit folders; Make the #SONG tag optional if we can infer the intended song from the directory hierarchy.
2013-11-14 13:29:00 -06:00
Ben "root" Anderson
5124186c42
Minor formatting cleanup
2013-11-14 12:03:15 -06:00
Devin J. Pohly
8815da5f1f
replace SongManager::GetSongFromSteps with use of song pointer
2013-01-20 19:51:59 -05:00
Devin J. Pohly
bd0e2074ad
replace ASSERT(0) with useful fail messages
2012-12-27 16:59:35 -05:00
Jason Felds
1fc16698ba
War on -Werror, part 12: explicit bool usage.
...
It may save a few cycles, but it's best to be
explicit on boolean operations, especially with
ASSERT.
2012-12-27 11:38:53 -05:00
Devin J. Pohly
1acbf07466
war on -Werror, part 4: miscellany
2012-12-26 21:45:45 -05:00
AJ Kelly
fe8578896b
royal freem corporation.
2012-07-17 19:11:26 -05:00
AJ Kelly
87d77d6cde
[SongManager] Ending a group's name in PreferredSongs with "/*" will now load all songs from that group automatically.
2012-06-27 20:25:59 -05:00
Thai Pangsakulyanont
3a82222c83
add background support to BMS files (only #BMP, not #BGA)
2012-05-21 13:58:40 +07:00
Jason Felds
cdaaeeafd6
[editorKeysounds] This shouldn't crash I think.
...
This should also be in default.
2012-02-12 14:20:37 -05:00
AJ Kelly
c7fab6014f
[Various] Allow loading of *.jpeg in addition to *.jpg.
2011-12-17 03:21:12 -06:00
Mark Cannon
5f3a8c446a
slightly saner formatting for this block of code
2011-09-16 23:22:16 +00:00
Jason Felds
8d6ccfb098
Whitespace wars. Deal with it later.
2011-09-16 23:01:45 -04:00
Jason Felds
10f0fa54f2
Added GetNumLockedSongs() Lua binding.
...
This gets the number of songs that are locked for any reason.
I wonder why the unlocked songs functions say that songs locked
by unlock entries are counted there, but fair enough.
2011-09-16 21:52:27 -04:00
AJ Kelly
a0455b4fd2
Experiment over, dance is the default game again.
2011-09-07 17:44:37 -05:00
AJ Kelly
183888f4f1
[SongManager] Add SongToPreferredSortSectionName(song), WasLoadedFromAdditionalSongs(song), and WasLoadedFromAdditionalCourses(course) Lua bindings
2011-08-27 15:23:20 -05:00
AJ Kelly
d5979dab6a
[SongManager] Added GetPreferredSortSongs(), GetPreferredSortCourses(courseType,bIncludeAutogen), GetPopularCourses(courseType) Lua bindings.
2011-08-27 15:09:14 -05:00
AJ Kelly
8d5b50e876
[SongManager] Added GetCoursesInGroup(sCourseGroup,bIncludeAutogen), GetSongGroupBannerPath(songGroup), GetCourseGroupBannerPath(courseGroup), DoesSongGroupExist(songGroup), DoesCourseGroupExist(courseGroup), GetPopularSongs() Lua bindings.
2011-08-27 13:18:41 -05:00
Mark Cannon
e1a447cc36
revert henke's loadingwindow "improvements"; if you're reading this, henke, you do *NOT* sacrifice readability for misguided optimization, and you do *NOT* use a globally externed variable for something with a useful lifetime of part of one function
2011-08-06 21:33:49 +00:00
Mark Cannon
067c49e299
and then i actually committed SongManager
2011-08-04 03:09:13 +00:00
Henrik Andersson
363947d46a
[default->loading window] Catching up.
2011-07-20 20:06:28 +02:00
Jason Felds
dbdab4759e
[Xcode4] May as well fix switch warnings.
...
Still need some assistance for the linker error.
2011-07-20 11:11:04 -04:00
Henrik Andersson
1ee1bd384b
[loading window] Hey look, the load can be aborted now!
...
Also, loading messages are now in the language file.
2011-07-11 14:56:44 +02:00
Jason Felds
376f17213e
Only clean if there is a song to clean.
2011-06-20 13:44:20 -04:00
Henrik Andersson
d7022c715a
[default -> loading window] YAM
2011-06-11 12:22:06 +02:00
Jason Felds
b6bf776716
New branch: [notesloader]
...
Time to better unify our files and refactor properly.
2011-06-09 13:46:30 -04:00
Henrik Andersson
881a6534e8
[loading window] Unloading should be reported as well.
2011-06-05 15:37:22 +02:00
Henrik Andersson
167cd9238a
[loading window] Should really have included this in the initial design. Now it can be indeterminate too.
2011-06-05 11:32:51 +02:00
Thai Pangsakulyanont
6f624538ce
display progress for song loading
2011-06-05 12:45:28 +07:00
Henrik Andersson
6c7ebfafe8
[loading window] Note to self #2 : Refresh the file list before commiting.
2011-06-04 23:37:36 +02:00
Henrik Andersson
1dfb3a6f9a
[loading window] More use of the global instead of as an argument.
2011-06-04 23:21:33 +02:00
Henrik Andersson
86cc2818e0
[loading window] Now the loading window has it's own thread. As such, the paint method is no longer needed.
2011-06-04 02:12:08 +02:00
AJ Kelly
b5e34f4900
[SongManager] Make autogen courses have "Autogen" as the Scripter.
2011-06-02 22:32:39 -05:00
Jason Felds
750b688de4
Consistent insensitive string comparisons.
...
This seems to reduce the need for a #define,
but I need someone on the Windows side to check.
2011-05-11 16:48:51 -04:00
AJ Kelly
bce91c399f
[SongManager] Added GetCourseGroupNames Lua binding.
2011-04-23 21:13:28 -05:00
Jason Felds
a085d0d1da
Line endings...be normalized!
2011-03-17 01:47:30 -04:00
AJ Kelly
8880d2fa15
silence a warning
2011-03-16 21:20:42 -05:00
Jason Felds
e9df4832f6
Bring shadowed variables back from the dark side.
...
Alright Colby, happy now?
2011-03-14 02:54:11 -04:00
AJ Kelly
f6a0e25d86
Fix .sm-style edits not being loaded.
2011-02-21 03:38:44 -06:00