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
AJ Kelly
d0459c3488
comment, cleanup
2011-02-21 03:11:39 -06:00
AJ Kelly
7b3923aca7
update comment
2011-02-21 02:53:57 -06:00
Jason Felds
9d13036e08
Add @briefs to the Luna classes.
...
Yeah...there was a lot. */
2011-02-19 12:26:18 -05:00
Jason Felds
d6f08c27cb
Hodgepodge of doxygen. Long way to go.
2011-02-13 11:14:58 -05:00
Jason Felds
565b9f9306
Get SSCLoader used when appropriate.
2011-02-11 00:10:57 -05:00
AJ Kelly
061db36970
small whitespace edit
2011-02-09 16:31:36 -06:00
AJ Kelly
9f635ceee7
[SongManager] Check the root Songs/ folder for extra stage course files. also update docs
2011-01-07 21:11:33 -06:00
AJ Kelly
def882ad6c
[SongManager] Added GetSongRank(Song) Lua binding.
2010-12-26 13:44:46 -06:00
Marcio Barrientos
f982672795
Added 2 new lua classes
...
SetPreferredSongs(string) and SetPreferredCourses(string)
The files have to be named "SongManager <name>.txt"
Example: SONGMAN:SetPreferredSongs("mysongs.txt")
calls the file "SongManager mysongs.txt"
2010-08-29 14:43:16 -06:00
AJ Kelly
20a1802758
add StripMacResourceForks(); hopefully prevents things like issue 178 ( http://ssc.ajworld.net/sm-ssc/bugtracker/view.php?id=178 ) from happening again
2010-08-26 00:49:40 -05:00
AJ Kelly
ac5c370bc2
more comment/cleanup
2010-07-25 19:40:21 -05:00