Commit Graph

20 Commits

Author SHA1 Message Date
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 183888f4f1 [SongManager] Add SongToPreferredSortSectionName(song), WasLoadedFromAdditionalSongs(song), and WasLoadedFromAdditionalCourses(course) Lua bindings 2011-08-27 15:23:20 -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
Jason Felds 3d155c9970 NOW I start moving prototypes to headers?
I need to be more consistent...gah, hungry.
2011-06-12 19:35:24 -04:00
Henrik Andersson 1dfb3a6f9a [loading window] More use of the global instead of as an argument. 2011-06-04 23:21:33 +02:00
Jason Felds cf33620d04 Add doxygen, plan for new functions.
We need a way to ensure that all of the songs we get
actually have charts for the present gametype.
2011-05-30 13:57:09 -04:00
Jason Felds a085d0d1da Line endings...be normalized! 2011-03-17 01:47:30 -04:00
Jason Felds d9a195d4c2 More docs. 2011-02-27 21:36:34 -05:00
Jason Felds 90516a934c Bot test. 2011-02-25 22:49:43 -05:00
Jason Felds d6f08c27cb Hodgepodge of doxygen. Long way to go. 2011-02-13 11:14:58 -05: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 ac5c370bc2 more comment/cleanup 2010-07-25 19:40:21 -05:00
Alberto Ramos 23a1cc37d4 MusicWheel::JumpToNext/PrevGroup, functions tweaked (thanks juanelote)
Metric added, [MusicWheel]::HideSections, will restrict showing one group at time, it you want to see the other groups use the next/prev group code, defaulted to "false"
Also group changing is allowed via gamebuttons in case of those who wants to take advantage of the codedetector too, "false" as default
SongManager::GetSongGroupByIndex, gets groups by index (helpful in Jump to group functions, thanks to juanelote for this too).
2010-07-25 11:29:05 -06:00
AJ Kelly 3254bfe804 Fix a crash that occured when changing themes that had differing numbers of song/course group colors. 2010-06-03 23:14:55 -05:00
AJ Kelly dca9182138 various cleanup and commenting 2010-03-14 19:46:05 -05:00
AJ Kelly 777745b7fb sm4svn sync part 2.
528089b: remove preferred group filtering (leaving the setting in for later use) [Glenn Maynard]
96821ad: fix pump routine right side DownLeft not drawn [Chris Danford]
fd88c62: easier debug stepping [Chris Danford]
2010-02-13 13:37:03 -06:00
AJ Kelly 3e51544930 Initial commit. 2010-01-26 21:00:30 -06:00
Devin J. Pohly 80057f53cd smsvn -> ssc-hg glue: rearrange directory structure 2013-06-10 15:38:43 -04:00