Commit Graph

32 Commits

Author SHA1 Message Date
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
teejusb 7e3789b131 Integrate C++11 branch into 5_1-new 2019-06-22 12:35:38 -07:00
sigatrev 82cb4a198d Enums for TapNoteType, TapNoteSubType, and TapNoteSource
I intend to make additional useful information available on judgments,
such as TapNoteType and TapNoteSubType( for hold judgments ).

I am submitting this part as a separate pull request because it is more
generally applicable to anything TapNote related.
2014-08-02 00:38:48 -07:00
Renaud Lepage e0beb96d69 A namespace error was causing the Android compiler to choke. 2014-01-26 21:53:17 -05:00
Jason Felds 9c61d060f0 Fix compile, put in the right spot. Thanks Henke. 2013-05-20 18:12:36 -04:00
Jason Felds eaf79353f9 Adjust Dancing Monkey modified files.
Sometimes it sucks watching over others' bugs.
2013-05-20 18:06:25 -04:00
Jason Felds d2ea94648e Ensure a decent sample length.
Apparently some versions of DWI messed this up.

Thank (or blame) confuzled if this fails.
2013-05-20 17:47:58 -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
Devin J. Pohly bd0e2074ad replace ASSERT(0) with useful fail messages 2012-12-27 16:59:35 -05:00
AJ Kelly 3e56caf1b1 empty meter fixes for DWI/KSF; KSF is more of a 'it used to be 0, now it's 1' thing 2011-10-07 12:48:21 -05:00
Mark Cannon 8099e25dcc stage 3 of TimingData changes: changed external interface, enforce encapsulation more strictly 2011-09-15 03:28:58 +00:00
Jason Felds b6fe8a0de0 [timing] Notes* mostly covered. 2011-07-27 22:33:50 -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 199af25f31 Get inserts working via passing TimingSegments.
Unsure if this is the right way:
code review may be needed.
2011-07-14 19:01:12 -04:00
Jason Felds 7acbe91683 More prototypes. 2011-06-12 03:47:22 -04:00
Henrik Andersson 9038ab8d65 Bail out from the loop if we run out of data. 2011-05-29 17:10:35 +02:00
Jason Felds 1fd5211529 Better message on failure. 2011-05-28 19:05:27 -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 ec26e0245c [default -> splittiming] That's a lot. 2011-05-15 06:09:33 -04:00
AJ Kelly 8f70dcf99b move DwiCompatibleStringToDifficulty from Difficulty to NotesLoaderDWI; make .sm and .sm-derived formats use DifficultyToString since NotesWriterSM/SMA/SSC should be writing normalized strings 2011-05-15 03:18:34 -05:00
Jason Felds 8de6ddb7e3 [default -> splittiming] Cleanliness. 2011-05-11 17:07:20 -04: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
Jason Felds da51e26d07 Standardize conversion processes.
Too many arguments for or against the many methods:
stick to one inside a common function.

This commit will force recompilation of many files.
2011-05-11 15:58:31 -04:00
Thai Pangsakulyanont 31848e79c4 [splittiming] replace new Steps with [song].CreateSteps() (224 build errors) 2011-05-09 22:47:47 +07:00
Thai Pangsakulyanont 0d42b00621 [splittiming] Fix NotesLoaderDWI, NotesLoaderSM, NotesWriterSWI, NotesWriterSM by replace occurences of m_Timing with m_SongTiming. (224 build errors) 2011-05-09 22:41:49 +07:00
Jason Felds 5d98f47fc3 Allow editing #DISPLAYBPM traits in the editor.
Look in Edit Song Info to find it.
2011-04-05 22:40:33 -04:00
Jason Felds a085d0d1da Line endings...be normalized! 2011-03-17 01:47:30 -04:00
Jason Felds 49859de9d7 More doxygen. 2011-02-13 14:32:36 -05:00
Jason Felds dbe5df006d NotesLoaderDWI mostly doxygen-ated. 2011-02-12 21:59:36 -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