Commit Graph

49 Commits

Author SHA1 Message Date
Michael Votaw 10a4a972b0 Added method to NoteData to get number of mines at given row. 2025-02-11 19:39:03 -08:00
sukibaby e0b254968d std::size_t -> size_t
Removing std prefix from all size_t.
2024-10-01 01:46:26 -07:00
sukibaby 21088502b9 Remove clamp macro
Doesn't really need to exist since  all it's doing is inlining std::clamp.
2024-09-03 20:50:48 -07:00
Martin Natano bacecae1f7 Decouple <vector> 2023-04-21 22:13:41 +02:00
Martin Natano 78fb2e9fc3 Decouple <cstddef> 2023-04-20 11:21:29 +02:00
Brian Phlipot d079940fea Address PR feedback. 2023-02-02 11:54:17 -08: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
teejusb 7e3789b131 Integrate C++11 branch into 5_1-new 2019-06-22 12:35:38 -07:00
Nickito12 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
Joe 4023544670 Checking for first second now ignores autokeysounds. 2016-02-13 22:30:02 +00:00
sigatrev b4f861a8d5 ancient NoteData::ClearRangeForTrack bug fix
When clearing a range, if the first note in any track in the range was a
hold note, it would place it a hold the end of the cleared range.
2015-04-13 18:51:02 -05:00
Kyzentun d3367d6a16 Add prompt for clearing an area in Edit Mode. Updated changelog. 2015-03-08 00:56:29 -07:00
Kyzentun bedaf07e51 Reverted some changes that should not have been part of the merge from Midiman. 2014-08-28 05:53:37 -06:00
Kyzentun dd82ec734d Disabled AddATIToList on Windows because it makes mapconv crash. 2014-08-02 00:39:00 -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
Kyzentun 1a18d64f09 Added revalidation scheme to NoteData's all_tracks_iterator so that it can be made valid again after the NoteData is transformed by something adding or removing steps. This fixes the crash on courses that use transform mods on the second song. ITG2's Getting Started is an example. 2014-08-02 00:38:38 -07:00
Jason Felds ba59dd1656 The big NULL replacement party part 2.
This may take a bit. Trying to do this by operator/command.
2013-05-03 23:11:42 -04: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
Jason Felds c67419ecc8 There goes the macro file.
This is one of my bigger commits in this branch.

Still, shouldn't cause a problem.
2013-05-01 23:54:39 -04:00
Jason Felds 0182f74672 Start working on the map loop--WHITE SPACE! 2013-04-27 14:48:30 -04:00
Devin J. Pohly bd0e2074ad replace ASSERT(0) with useful fail messages 2012-12-27 16:59:35 -05:00
Jason Felds 4f07a0ea8b war on -Werror, part 7: start informal params.
I'm preserving our numbering Pohly. ;)
2012-12-26 23:23:59 -05:00
Jason Felds effa33eaec [editorKeysounds] autoKeys shouldn't be pressed. 2012-02-11 01:30:08 -05:00
Jason Felds 22033113a5 [editorKeysounds] More attempts, need help.
Anyone want a stab?

Main issue: tap + autoKeysound means skipped judgment.
2012-02-10 23:16:00 -05:00
Jason Felds a52ccc33c8 Respect optimization opportunity.
Considering how often this can be called,
it's probably worth the code duplication.
2011-12-10 01:41:01 -05:00
Jason Felds 16a7d5bab7 I am an IDIOT. 2011-11-25 22:10:13 -05:00
Jason Felds 596ada95f4 Slightly more efficient kludge.
I am once again reminded that I need to de-couple
GAMESTATE from NoteData.
2011-11-19 19:58:10 -05:00
Jason Felds dbdab4759e [Xcode4] May as well fix switch warnings.
Still need some assistance for the linker error.
2011-07-20 11:11:04 -04:00
Jason Felds 84d910d2fc Prepair for better couple/routine stat tracking.
...gah, what a bad pun.
2011-07-13 15:22:04 -04:00
Jason Felds fc9f07158a 99% fix scoring with warps and fakes.
Now all charts can seek 100%.

This does force yet another cache reload.

Hopefully it won't slow first loads too much.
2011-06-08 16:14:11 -04:00
Jason Felds 06a6e9991a Possible misnomer: Lifts aren't "taps".
I know, you can cycle to lifts as a tap type.

I think we need a better naming scheme here.
2011-05-09 14:39:13 -04:00
Jason Felds c4b0b77ab8 More warning fixes.
Editor didn't break with my NoteData changes.
2011-03-19 16:18:53 -04:00
Jason Felds a085d0d1da Line endings...be normalized! 2011-03-17 01:47:30 -04:00
AJ Kelly 877f4865cc unused 2011-03-16 21:45:10 -05:00
AJ Kelly 9aa78d3c23 replace non-working code with a vector 2011-03-16 16:09:08 -05:00
AJ Kelly 8af41d3738 fix compile by commenting out code 2011-03-16 15:25:47 -05:00
Thai Pangsakulyanont 52c2629868 merge+fix NotesLoaderBMS.cpp 2011-03-15 21:57:04 +07:00
Jason Felds d855d8c7e8 Bring light into the shadow...variables.
Yeah, yeah, can't make a good joke at 2:30 AM.
2011-03-14 02:36:48 -04:00
Thai Pangsakulyanont c1f4967f1c merge
+ support o2mania style BMS (7 keys)
+ move notes to autokeysound when reducing tracks
2011-03-09 19:24:15 +07:00
Thai Pangsakulyanont 0575e73b1e It wasn't there! I modified the wrong place! 2011-03-01 16:52:59 +07:00
Jason Felds 86f3bf7e79 Radar branch: add Fakes wherever it made sense.
Need to check metrics, then ready to test.
2011-02-27 22:36:04 -05:00
Thai Pangsakulyanont 1aa51dca15 Autokeysound transformation! 2011-02-25 20:42:50 +07:00
Jason Felds 2c70b65711 Fix doxygen warnings.
The code seems to run fine, but please TEST THIS.
Revert this if required.
2011-02-19 00:48:42 -05:00
AJ Kelly eb504b5963 comment/cleanup 2010-07-17 02:33:13 -05:00
AJ Kelly 1867e92dee various changes from the ssc svn post-public beta 2 release.
* New Lua bindings SONGMAN:GetGroupNames() and SONGMAN:GetSongsInGroup(string)
* Add Lifts to PaneDisplay (StepMania 3.9+ added them)
* Fix an issue where course banners were able to trip off the uneven dimensions dialog
* NextSong/PrevSong now work when TwoPartSelection=true + TwoPartConfirmsOnly=true on ScreenSelectMusic. A new message ("TwoPartConfirmCanceled") was added to catch when this happens.
and there may have been some stray cleanup in here too
2010-04-14 21:43:32 -05:00
AJ Kelly 31c69f1d9c okay I'm not done with the commits yet but mercurial is not making it easy for me
to commit just a subsection of files so I have to dump everything in here. :|
2010-03-09 03:36:44 -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