Commit Graph

23 Commits

Author SHA1 Message Date
Michael Votaw 68e0674164 Default bUseSongSelect to false when initializing CourseEntry (otherwise it might be true, which causes CourseWriterCRS to write the cache incorrectly) 2024-03-06 01:45:26 -08:00
Michael Votaw e657a75153 Added OldStyleStringToSongSort() function to map best/worst/gradebest/gradeworst to their SongSort counterparts.
Added CourseLoaderCRS::SetCourseSongSort() to parse and set SONGSELECT's SORT parameter.
2024-03-06 01:45:26 -08:00
Michael Votaw 84553d4a50 Refactored code for writing #SONG entries in CourseWriterCRS
Added method for writing #SONGSELECT entries
Added new boolean flag bUseSongSelect to CourseEntry
Added new function StringToSongSort()
Renamed "LIVES" to "GAINLIVES"
2024-03-06 01:45:26 -08:00
Martin Natano bacecae1f7 Decouple <vector> 2023-04-21 22:13:41 +02:00
Brian Phlipot 4a6b1a743c Enable more compiler warnings and treat them as errors. 2023-02-02 11:54:17 -08:00
Michael Sundqvist 0cba3579de Remove global "using namespace std;" declarations, use "std::" prefixes on all std elements
Fix whitespace changes
2022-07-31 22:14:38 +02:00
Martin Natano 49127f6a92 Remove RageUtil_CachedObject
I don't notice any performance drawback in gameplay, but it was
massively slowing down ScreenReloadSongs.
2022-06-10 19:33:23 +02:00
blindbox 8cc84ebdda Isolated Endless Course from other courses in GetTrailUnsorted
This should fix stepmania/stepmania#1020 .
2016-02-29 11:03:16 +08:00
Ben "root" Anderson db7110feb1 Apparently MSVC is convinced that there's an important, linking-breaking difference between classes and structs. (Bug#1093, Thanks root670 for the patch!) 2013-12-23 11:06:14 -06:00
AJ Kelly 38625e55d8 [Course] Add IsPlayableIn(StepsType) and IsRanking() Lua bindings. 2011-08-18 23:54:01 -05:00
AJ Kelly 6bdaf5c92a [Course] Bumped up max edit course title length to 16 (still feels too short). Also added #DESCRIPTION tag and Course:GetDescription() Lua binding. 2011-07-21 16:17:48 -05:00
AJ Kelly 6aec949c06 [Course] Added #SCRIPTER tag and GetScripter Lua binding. 2011-04-30 23:30:58 -05:00
Jason Felds 12872f0a50 More effective fixes. Still no issues.
Note: you will most likely end up recompiling the whole thing.
2011-03-19 20:40:35 -04:00
Jason Felds 22b7b34897 More effective fixes.
Course playing still results in it playing fine.
2011-03-19 18:26:55 -04:00
Jason Felds a085d0d1da Line endings...be normalized! 2011-03-17 01:47:30 -04:00
Jason Felds b7a5fd9e90 More warning squishing.
Make a note of LuaManager: either define the needed items
or hide them away.
2011-03-14 14:26:29 -04:00
Jason Felds 2d76ee1023 Move some top comments to above the class.
The original attempt was not working for doxygen purposes.
2011-02-18 21:24:00 -05:00
Jason Felds 6f276da825 Document all FOREACH loops. 2011-02-18 21:16:11 -05:00
AJ Kelly 62600c38a8 small cleanup 2010-06-02 15:03:25 -05:00
AJ Kelly e7917f0721 [Course] add GetCourseDir(), HasBackground(), IsAnEdit() Lua bindings. 2010-05-26 00:07:00 -05:00
AJ Kelly 642f4b107c the various changes that I forgot to commit (cleanup and so forth) into hg,
culminating in syncing with sm-ssc v1.0 public beta 2
2010-03-31 17:37:09 -05: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