Arthur Eubanks
ecfcb11a00
Remove implicit conversion operator from RString to const char*
...
This is required for the RString to std::string migration.
Mostly automated from https://github.com/aeubanks/rewriter/blob/main/c_str.cc , with some manual intervention required for fixing up `a + b.c_str()` to `(a + b).c_str()`.
Added some overloads for some common global functions like sm_crash to reduce the number of changes required here.
2025-05-15 21:14:54 -07:00
Brandon W
8dcb01f3ee
Remove COMPARE and COMPARE_FLOAT macros for equivalent if statements.
...
This is both for clarity, and to conform with the google c++ style
guide.
https://google.github.io/styleguide/cppguide.html#Preprocessor_Macros
2025-04-29 21:37:45 -07: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
SugoiFactory
7ac42c7f73
Don't skip high scores with a 0 in the Score field
...
Since itgmania is storing white counts in the Score field of stats.xml, ignoring these scores will eliminate quints when retrieving high scores.
2024-03-20 03:30:50 -05:00
Crash Cringle
980c3a4c3a
MergeFromOtherHSL() now 'Removes All But One Of Each Name' per preference
...
When merging two high score lists, the MergeFromOtherHSL() function only called ClampSize() but did not also call RemoveAllButOneOfEachName. This behavior was okay before because RemoveAllButOneOfEachName() was called on every single song on the machine every set. Since this is no longer behavior, we need to make sure this method calls this otherwise we may end up with a merged leaderboard that has the same person occuring more than once.
2023-12-13 08:30:33 -08: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
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
x0rbl
0b34a0df3a
Fix crash with AllowMultipleHighScoreWithSameName ( #1963 )
2020-02-12 06:10:28 -08:00
teejusb
7e3789b131
Integrate C++11 branch into 5_1-new
2019-06-22 12:35:38 -07:00
Flameshadowxeroshin
f230729a6f
unsigned int combo and score, Player::IncrementComboOrMissCombo
2015-01-23 10:25:06 -06:00
Kyzentun
a580d54662
Profile loading no longer clears out scores for songs that can't be found. Profile merging functions added to ProfileMan and ScreenManageProfiles for profile migration. HighScore operators rewritten to follow good practice.
2014-11-25 21:37:15 -07:00
Kyzentun
6db1199db5
Added PROFILE:GetHighScoreListIfExists for limiting memory footprint on searches. Added PROFILE:GetAllUsedHighScoreNames to provide a non-brute force way for obtaining a list of names. Added HighScoreList:GetHighestScoreOfName so the C++ side could do the iteration. Added HighScoreList:GetRankOfName for the same reason.
2014-05-13 13:34:38 -06: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
b4de5421b7
Make this loop slightly more efficient.
2013-05-01 22:14:35 -04:00
AJ Kelly
37c73feae8
[HighScore] Added Max Combo, Stage Award and Peak Award. New Lua bindings for HighScore: GetMaxCombo(), GetStageAward(), GetPeakComboAward().
2012-02-15 04:12:03 -06: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
AJ Kelly
286c3a565d
add HighScore:GetGrade() Lua binding.
2010-06-19 00:41:27 -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