dando92 and teejusb
8320afe796
Added hide lights feature in player options
2025-03-18 07:24:58 -07:00
Crash Cringle and teejusb
6b50f9a90c
Rename MachineSyncBias --> DefaultSyncBias
2025-03-16 15:42:41 -07:00
Crash Cringle and teejusb
9529bfd142
Change MachineSyncBias prefs to an enum SyncBias, Changing this song triggers a reload of songs, added new option effect for reloading songs
2025-03-16 15:42:41 -07:00
phantom10111 and teejusb
8259a7cd84
Fix ssprintf to not allocate temporary memory
...
The original code was written the way that it was because snprintf was not
standard and didn't work consistently across many platforms. But since C++11
std::snprintf is available and can be used to get the exact size of the
required buffer. Because of that, ssprintf can be greatly simplified.
2025-03-15 09:45:55 -07:00
phantom10111 and teejusb
15261a4cfe
Remove ConvertI64FormatString()
...
It's a complex function that was used in just one place,and can be easily
replaced with printf format specifiers from <cinttypes>.
2025-03-15 09:43:45 -07:00
phantom10111 and teejusb
6339af8791
Fix printf format specifiers
...
Different platforms can use different sizes for standard types, so GCC emits
a warning when using "%llu" or "%lld" for uint64_t or int64_t respectively.
Switch to using specifiers from <cinttypes> to prevent the warning.
2025-03-15 09:43:45 -07:00
teejusb
d5c2ebaed3
Grab some more SL changes
2025-03-12 22:08:34 -07:00
dependabot[bot] and teejusb
646417915e
Bump microsoft/setup-msbuild from 1 to 2
...
Bumps [microsoft/setup-msbuild](https://github.com/microsoft/setup-msbuild ) from 1 to 2.
- [Release notes](https://github.com/microsoft/setup-msbuild/releases )
- [Changelog](https://github.com/microsoft/setup-msbuild/blob/main/building-release.md )
- [Commits](https://github.com/microsoft/setup-msbuild/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: microsoft/setup-msbuild
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <[email protected] >
2025-03-12 19:00:34 -07:00
Rafał Florczak and teejusb
9e1f084a46
Check for APPLE instead of MACOSX, use a list for passing arch flags
2025-03-12 19:00:24 -07:00
teejusb
17864f83e7
Modify NSIS template to remove the version number
2025-03-11 21:44:36 -07:00
sukibaby and teejusb
9787e01acf
Add braces to Song::ReloadFromSongDir
...
The LOG->Warn line is being executed unconditionally due to the the lack of braces. The indentation is misleading as a result. This adds braces to ensure the intended behavior is performed.
2025-03-11 21:34:22 -07:00
teejusb
0346d77307
Update Simply Love to 5.6.0
2025-03-10 23:55:16 -07:00
sukibaby and teejusb
674fdb4fcb
Correct an invalid jpeg quality parameter.
...
With our new libjpeg_turbo library, a quality of 150 doesn't seem to be valid, so I'm changing this to 95. I chose 95 over 100 because the libjpeg_turbo project uses a quality of 95 for all testing and benchmarking shown in their documentation, and notes that a quality of 95 "has been determined to be perceptually lossless under most viewing conditions".
2025-03-10 22:39:26 -07:00
sukibaby and teejusb
22216f02e3
Only save high quality jpeg screenshots.
...
Removing the case where `StepMania::SaveScreenshot` may request to save a low quality jpeg. The file size difference between a quality 70 and quality 95 jpeg is very small by modern storage standards.
2025-03-10 22:39:26 -07:00
sukibaby and teejusb
d6e8e0ba7f
Add capital NULL in fallbacks for non-English languages
2025-03-09 11:16:12 -07:00
Crash Cringle and teejusb
c6ad4685a7
Add null checks for all ->GetGroup->getsomething calls
2025-03-09 10:05:01 -07:00
Crash Cringle and teejusb
031cb7c8a2
Capitalize NULL String
2025-03-09 10:05:01 -07:00
Crash Cringle and teejusb
cd73c169ab
Rework Pack.ini Sort Title sorting logic to better handle duplicate sort titles (falls back on group name)
2025-03-09 10:05:01 -07:00
sukibaby and teejusb
34de803f7b
Add MachineSyncBias strings to language fallbacks
2025-03-09 09:57:35 -07:00
Crash Cringle and teejusb
ff06dda985
Partially revert 36892b4 (Create RandomSeed.h) in BitmapText.
...
This appears to have unintended effects on jitter, distort, and rainbowscroll. Reverted for now for reevaluation on implementation here later.
2025-03-08 23:17:16 -08:00
Crash Cringle and teejusb
ca1a7a0dc4
Prevent a crash when loading a group with no additions in SongManager::LoadSongDir
...
When reloading and only loading additions, ensure we do not delete/readd groups that were already loaded.
2025-03-07 16:51:26 -08:00
teejusb
bb9639ead9
Remove BUILD_ALWAYS ON for libjpeg-turbo
2025-03-05 08:41:12 -08:00
teejusb
906cb93d55
Prevent some parsing warnings
2025-03-05 08:35:09 -08:00
Rafał Florczak and teejusb
c502388d15
Set static libdir for libjpeg-turbo
...
Some distributions like Fedora or Arch use lib64 instead of lib for the
libs. That prevented the `LIB_PATH` from pointing at the correct file,
and as a result the linking failed on those systems.
2025-03-05 08:07:45 -08:00
teejusb
ffa4f69597
Update license info
2025-03-03 23:39:15 -08:00
Crash Cringle and teejusb
c3886adb07
Update Banner handling for new sorts
2025-03-03 23:36:06 -08:00
Crash Cringle and teejusb
b482c26612
Give these sorts sections so it's clear where they start and end
2025-03-03 23:36:06 -08:00
Crash Cringle and teejusb
6201e1ab94
Add Recently Played and Most Played per Profile as sorts
2025-03-03 23:36:06 -08:00
sukibaby and teejusb
6707922be8
Remove dead code from RageSoundReader_MP3.cpp
...
Unused.
2025-03-03 23:33:53 -08:00
3c0b480b93
Replace the vendored libjpeg with the submodule of libjpeg-turbo 3.1.0
...
Co-authored-by: phantom10111 <[email protected] >
2025-03-03 23:33:15 -08:00
sukibaby and teejusb
e1bf59458f
Check the ShowMouseCursor preference on Windows
...
Respect the user's setting in Preferences.ini. Hides the cursor if ShowMouseCursor is set to 0, shows the cursor if ShowMouseCursor is set to 1.
2025-03-03 23:28:13 -08:00
Rafał Florczak and teejusb
e0aad77672
Check for glu and udev in cmake
2025-03-03 23:26:54 -08:00
Crash Cringle and teejusb
b770e9ad6b
Use Log->Warn
2025-03-03 23:25:32 -08:00
Crash Cringle and teejusb
17e4953d54
Add Luadocs for Group
2025-03-03 23:25:32 -08:00
Crash Cringle and teejusb
dbbcc57112
Explicitly require and use capital NULL and ITG everywhere for sync bias, comment fix, nullptr check for group
2025-03-03 23:25:32 -08:00
Crash Cringle and teejusb
35570a0880
Condense trim/check empty pack.ini logic to vector looping
2025-03-03 23:25:32 -08:00
Crash Cringle and teejusb
8f6d5b44b9
Move sync offset application to song load (as early as possible)
2025-03-03 23:25:32 -08:00
Crash Cringle and teejusb
9d61cb4c06
Okay we use -9ms here because this counters the +9ms folks add to their charts. Ensure we clear the series map when freeing songs
2025-03-03 23:25:32 -08:00
Crash Cringle and teejusb
6fbbf931ac
Use std::string instead of RString for mappings
2025-03-03 23:25:32 -08:00
Crash Cringle and teejusb
218d5734a3
Change group map to an unordered_map
2025-03-03 23:25:32 -08:00
Crash Cringle and teejusb
830bf1bb8d
Change series map value from a vector to an unordered set, remove series prefixing, ensure always defaulting to group disk name for sorting
2025-03-03 23:25:32 -08:00
Crash Cringle and teejusb
dd60d36093
Implement changes from feedback
2025-03-03 23:25:32 -08:00
Crash Cringle and teejusb
694a724770
Move ASSERT_Ms to debugging and replace with warns, include <array>
...
(See feedback in PR)
Co-authored-by: sukibaby <[email protected] >
2025-03-03 23:25:32 -08:00
437f72b13d
Update src/ScreenOptionsMasterPrefs.cpp
...
Co-authored-by: sukibaby <[email protected] >
2025-03-03 23:25:32 -08:00
0b3ed6d4f9
Update src/SongManager.cpp
...
Co-authored-by: sukibaby <[email protected] >
2025-03-03 23:25:32 -08:00
fc98959db4
Update src/SongManager.cpp
...
Co-authored-by: sukibaby <[email protected] >
2025-03-03 23:25:32 -08:00
Crash Cringle and teejusb
ec814a6b74
Add version to Pack.ini, auto populate this value in the Pack.ini if it isn't manually provided
2025-03-03 23:25:32 -08:00
Crash Cringle and teejusb
48b5b35e23
Rewrite a few comments
2025-03-03 23:25:32 -08:00
Crash Cringle and teejusb
53a26f2fa4
Add some nullptr handling
2025-03-03 23:25:32 -08:00
Crash Cringle and teejusb
ac767b3ce8
Move GetGroup to SONGMAN, rename variables consistently, move "pack.ini" to constant var, flip sync bias sign
2025-03-03 23:25:32 -08:00