Arthur Eubanks
995f0ea8c1
Change some RString methods to free functions
...
These ones aren't a std::string method. Doing this helps the RString to
std::string migration.
2025-05-17 14:02:12 -07:00
Michael Votaw
c4d63052e2
Applied time signature fix to SMALoader::ProcessBeatsPerMeasure()
2024-02-08 01:35:06 -08:00
Martin Natano
bacecae1f7
Decouple <vector>
2023-04-21 22:13:41 +02: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
Gareth Francis
aeb5c7598f
Handle exceptions in int conversions ( #2092 )
...
* RageUtil: Add exception-safe wrappers around std::stoi, stol, stoll
* Replace use of std::stoi with exception-safe StringToInt
2021-02-15 12:36:51 -08:00
Tracy Ward
04f7a8c466
Rewrite BG/FG changes parsing ( #1916 )
...
* Handle commas and equals in BG/FG change tags
Rewrote parsing of BGCHANGES and FGCHANGES tags to be able to
handle people putting commas and equals in the filenames. For the
value positions which can be filenames, check to see if we can
recognize any filename from the song directory followed by a comma,
equal, or end of string. If we can, use that. If not, just treat it
the same as before, looking for the next comma or equal.
2019-10-12 11:41:39 -04:00
teejusb
7e3789b131
Integrate C++11 branch into 5_1-new
2019-06-22 12:35:38 -07:00
Ben "root" Anderson
ec4e38e3aa
Un-crackhead-ify NotesLoaderSMA. It works now.
2014-02-04 12:03:20 -06:00
Devin J. Pohly
c04553846a
"Combine" processing for BPMs and stops.
...
Prep for replacing with new negative-converting algorithm.
2013-05-17 16:43:53 -04:00
Devin J. Pohly
7df86bbf85
Update SMA loader to put bpms/stops together
2013-05-17 02:30:08 -04:00
Devin J. Pohly
adb0d5d4a1
Separate functions for BPM/stop parsing and processing
2013-05-09 00:00:14 -04:00
Jason Felds
f5c877cbb6
Replace StringToInt with the std version.
...
Again, RageUtil isn't the right home.
2013-05-04 11:59:25 -04:00
Jason Felds
28e5148dec
The big NULL replacement party part 5.
...
Right. ' = NULL' would get a lot of these.
2013-05-03 23:39:52 -04:00
Jason Felds
23c80f9d31
Had to keep one loop the same.
2013-04-28 22:59:27 -04: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
da1ebd50ed
remove unused TimingData variable
2013-01-23 14:25:10 -05:00
Aldo Fregoso
525d679c5a
First Segment required a zero.
2012-10-20 05:12:05 -05:00
Aldo Fregoso
775a978379
Default Speed Length for SMA files is 4.
2012-10-20 04:04:22 -05:00
Marcio Barrientos
11a02660be
Change #PREVIEWBG to #PREVIEWVID and update the changelog
2012-01-11 14:21:55 -06:00
Marcio Barrientos
da84ef04ad
Added tags #PREVIEW for .sma and #PREVIEWBG for .ssc
...
Added HasPreviewBG() and GetPreviewBGPath() lua bindings
2012-01-11 13:53:30 -06:00
Mark Cannon
8099e25dcc
stage 3 of TimingData changes: changed external interface, enforce encapsulation more strictly
2011-09-15 03:28:58 +00:00
Mark Cannon
df9c4d8142
segment renovation stage 2: redefine TimingSegments as simple structs, standardize names and functions, use only rows for constructors (we'll limit allocation through TimingData::AddSegment in the near future)
2011-09-11 17:13:10 +00:00
Jason Felds
7c75347e40
Revert "Remove #INSTRUMENTTRACK. It's guitar only."
...
This reverts commit 176b6f55ea .
Glad I learned this command.
2011-07-30 15:56:30 -04:00
Jason Felds
176b6f55ea
Remove #INSTRUMENTTRACK. It's guitar only.
2011-07-30 15:33:00 -04:00
Jason Felds
1cff1bc973
Radar fix, cache update.
2011-07-29 23:09:54 -04:00
Jason Felds
48226f2027
No longer store #NOTES in cache.
...
Use the #STEPFILENAME tag to access the files
as appropriate.
To the betting pool fans: file cache version is 192.
2011-07-17 16:06:40 -04:00
Jason Felds
7399f19865
[timing] Convert the others to use AddSegment.
...
I was given enough confirmation to continue on.
2011-07-14 19:23:29 -04:00
Jason Felds
08d5f8f722
Add Miss Combo support in #COMBOS tag.
2011-07-09 02:28:15 -04:00
Jason Felds
8bc2c38142
Replace #BEAT tags with #SECOND tags.
...
Split Timing has made this necessary.
Yes, this means another recache.
2011-06-30 01:11:38 -04:00
Jason Felds
b51eec691d
Step Attacks will be written.
...
The cache won't be incremented until this is
given some testing.
2011-06-24 11:27:20 -04:00
Jason Felds
3b1260bb79
Start detecting which files have errors.
...
Guess we needed this as a class/struct after all.
2011-06-14 13:35:59 -04:00
Jason Felds
4830ecc730
[notesreader] Ready to test again.
2011-06-09 22:00:10 -04:00
Jason Felds
bb642827a8
[notesloader] More abstracting.
2011-06-09 21:41:56 -04:00
Jason Felds
1e296ed0bf
[notesloader] More virtuals.
2011-06-09 21:27:47 -04:00
Jason Felds
dec615a2e7
[notesloader] Handle fakes on their own.
2011-06-09 14:53:58 -04:00
Jason Felds
48eefc7700
[notesloader] Have common ground.
2011-06-09 14:45:30 -04:00
Jason Felds
e37fe84d6a
[notesloader] Simplify.
2011-06-09 14:32:14 -04:00
Jason Felds
d2be04719d
[notesloader] More refactoring.
2011-06-09 14:19:12 -04:00
Jason Felds
e00b7f3616
[notesloader] Some refactoring done.
2011-06-09 14:01:55 -04:00
Jason Felds
26c5fa4e15
Fix parsing of beats vs seconds on speeds.
2011-06-04 23:44:26 -04:00
Jason Felds
df6a00b53e
Stops (and Delays) now templated.
...
This is all of them at this present time.
At some point in the future, we should make
DelaySegments separate from StopSegments.
2011-06-01 09:50:34 -04:00
Jason Felds
f9eb6fb387
Speed Segments Satisfied.
2011-05-31 15:27:27 -04:00
Jason Felds
b1eab10594
Time Signatures, the other big one. :D
2011-05-31 14:27:55 -04:00
Jason Felds
149b004ecf
Slightly overdid it, but speeds parse.
2011-05-29 23:55:03 -04:00
Jason Felds
8de49622eb
Ensure the reference is passed.
2011-05-29 22:44:23 -04:00
Jason Felds
09c56854b5
In SMA land, 2 params mean instant always.
2011-05-29 22:44:01 -04:00
Jason Felds
526584d11e
Figures I missed warp conversions on SMA.
...
Okay, I may have to start moving these functions
into the SM Loader at this rate.
2011-05-19 12:19:30 -04:00
Jason Felds
9701b60910
[splittiming] Force tidying up of the song.
...
This will force tidying up of the timing,
thus stopping the SpeedSegment crashes.
2011-05-16 23:44:06 -04:00
Jason Felds
f00c59fd2c
[splittiming] Allow songs to start with 0+ SPEED.
...
Somehow, this just screams gimmickry.
2011-05-16 13:05:37 -04:00
Jason Felds
79135b3179
[splittiming] Oops.
2011-05-16 10:16:24 -04:00