Commit Graph
41 Commits
Author SHA1 Message Date
Michael Votawandteejusb 5db1a56d48 Add ColumnCues calculations, exposed to themes via Lua function on Steps object 2024-08-11 09:43:54 -07:00
Martin Natano bacecae1f7 Decouple <vector> 2023-04-21 22:13:41 +02:00
Michael SundqvistandMartin Natano 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
teejusb 7e3789b131 Integrate C++11 branch into 5_1-new 2019-06-22 12:35:38 -07:00
KyzentunandColby Klein 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
Nickito12andColby Klein 6225e114ad Online protocol improvements (#1393)
* Chartkey generation

* Simfile filehash generation

* Read filehash on NSCRSG. Add FLU packets and friendlist vectors. Add
getserverversion method. Send chartkey, filehash and rate on start request.

* Use filehash to find the selected song if it is not empty.

* Friendlist update broadcast.

* Send note row size if it's bigger than 1

* Used for chartkey generation

* Define the ReportScore function with numNotes when WITHOUT_NETWORKING is defined
2017-02-10 04:57:59 -08:00
Kyzentun 846f79879c Added MUSIC tag to note data to allow each chart in a simfile to use a different music file. 2015-03-02 18:44:01 -07:00
Kyzentun c16f045cb4 Fixed UnknownStyleSupport. 2014-10-20 05:14:54 -06:00
Jason Felds 395107d3d5 Revert "Preserve Steps of unknown Style."
This reverts commit 8edd929e24.

This also updates the song cache.
2014-10-19 10:06:40 -04:00
Kyzentun 8edd929e24 Preserve Steps of unknown Style. 2014-10-01 17:12:01 -06:00
Jason Felds 9f24627bf9 The big NULL replacement party part 1.
This is meant to be a safer alternative since
NULL can often be 0. Let's not rely on that.

And yes, I know this is a lot of files. This is
a safer thing to do in big commits vs for loops.
2013-05-03 23:01:54 -04:00
Devin J. Pohly 4385b9242d Steps: add GetTimingData function that falls back on Song if necessary 2013-01-20 21:12:11 -05:00
Devin J. Pohly afaa382b84 Steps: set Song pointer to associated song when constructing 2013-01-20 19:23:28 -05:00
Devin J. Pohly 1327fa6356 Steps: add a pointer to the associated Song. not used yet. 2013-01-20 18:11:17 -05:00
Jason Felds 26f5e8d78c Replace Steps:UseSplitTiming.
Instead, use Song:IsStepsUsingDifferentTiming.
2012-04-08 23:56:28 -04:00
AJ Kelly 818ea049c2 [Steps] Add PredictMeter() and GetDisplayBPMType() Lua bindings. 2011-08-19 14:36:25 -05:00
Mark Cannon 498c55321a fix linker error with StringConversion calls on DisplayBPM 2011-08-04 15:06:49 +00:00
Jason Felds bafcea2a6b Just about all that can be done before Loading.
This next commit will be the big one it seems.
2011-07-17 13:27:47 -04:00
Jason Felds 186200d3c6 Prep work for #NOTES-less cache.
This commit should be runnable, but
I still be careful.
2011-07-17 13:15:30 -04:00
Jason Felds eaa058c521 More copying from Song to Steps.
This includes the lua, but we're not documenting this yet.

Want to be sure this works without it blowing up.

...I think some work on the editor will be needed here.
2011-07-07 15:47:29 -04:00
Jason Felds ac50c7e784 Prepare proper OOP and encapsulation and whatnot. 2011-07-07 15:35:56 -04:00
Jason Felds aff802e502 Move Display enum to Steps. Song still compiles. 2011-07-07 15:27:09 -04:00
Jason Felds c4ee0110d0 The people voted: different namings upcoming.
Old #DESCRIPTION will become #CHARTNAME.
#DESCRIPTION will now be used for general comments
or other theme related stuff.

Old SSC files will have their #DESCRIPTION converted
to #CHARTNAME when completed.
2011-07-07 13:40:19 -04:00
Jason Felds fc19060491 Preparing for a new #TAG, "WARNINGS".
There needs to be a place for warnings on
a stepfile without using #TITLE, #SUBTITLE,
or #ARTIST. This tag will hopefully be that new place.

No version or cache incrementing yet: it's still
not complete. Still, what's here shouldn't harm anything.
2011-07-07 11:48:33 -04:00
Jason Felds cde793dc57 Prepare for Steps Attacks.
No changelog entry yet: it's not complete.
2011-06-24 11:09:49 -04:00
Jason Felds f900b53f1d Edits can have 255 chars in the description now. 2011-06-11 15:10:27 -04:00
Thai Pangsakulyanont a1681faa06 skip recalculating radar values and last beat when loading from cache. loading songs from the cache is now 5x faster.
fyi: it took 1:40 minutes to load my library, now it's only 20 seconds.
2011-06-04 17:28:20 +07:00
Jason Felds 6f9730b6f9 Better comment. 2011-05-28 12:11:49 -04:00
Jason Felds 5f8353bdd0 Use Step Timing if steps are already on Splits. 2011-05-25 14:07:53 -04:00
Jason Felds 640f8fe9fc [splittiming] PlayerOptions -> HasTimingChanges.
Steps gained most of the functionality and lua doc.
Leaving song version in: may still have a use
thanks to #DISPLAYBPM.
2011-05-15 14:05:02 -04:00
Thai Pangsakulyanont 0e1843ff80 [splittiming] 919 errors => 236 errors 2011-05-08 01:15:25 +07:00
Thai Pangsakulyanont 94f112e923 [timingdata] Let's break things! (for now) 2011-05-08 00:58:03 +07:00
Jason Felds 1f2e26790c I shouldn't have to need 3 lines for NoteData.
Add helper function.
2011-03-17 12:31:16 -04:00
Jason Felds a085d0d1da Line endings...be normalized! 2011-03-17 01:47:30 -04:00
Jason Felds 30d5812f9c Add more docs. 2011-02-26 19:31:04 -05:00
AJ Kelly 95af29b5e4 add #CHARTSTYLE tag to Steps for .ssc files; Keyboard/Pad/whatever else you can think of, just keep it standardized 2011-02-14 20:53:15 -06:00
Jason Felds d6f08c27cb Hodgepodge of doxygen. Long way to go. 2011-02-13 11:14:58 -05:00
Jason Felds 985a62e504 Activate Step's #CREDIT tag. 2011-02-11 01:17:24 -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