Commit Graph
36848 Commits
Author SHA1 Message Date
sukibabyandteejusb 07483ef6f9 Added video banner logic in ScreenSelectMusic
Currently, video banners are treated the same as still-image banners, where we assume we need to let the low-res banner fade in before swapping it out with the high-res banner. This isn't the correct way to handle video banners, since we don't make low-res placeholders for them, so we now check the banner's extension to see if it's a video or not, and directly load the video if so.
2025-03-23 01:34:43 -07:00
teejusb 2144678871 Some styling changes, don't expose some lua functions 2025-03-23 01:26:45 -07:00
Michael Votawandteejusb 0c1603e15e Round bpm and beat to 3 decimal places using std::round() instead of just truncating to 3 decimal places (fixes discrepancy in GS hash generation) 2025-03-23 01:26:45 -07:00
Michael Votawandteejusb 25351a2f60 Strip any comments out of smNoteData string before calculating groovestats hash 2025-03-23 01:26:45 -07:00
Michael Votawandteejusb e47c7fd9c0 Enable calculating GrooveStats hash, and set the hash version appropriately. 2025-03-23 01:26:45 -07:00
Michael Votawandteejusb 8619fd0b0d Remove duplicated declaration of MinimziedChartString(); 2025-03-23 01:26:45 -07:00
Michael Votawandteejusb 261c60d19e Added lua function GetGrooveStatsHashVersion 2025-03-23 01:26:45 -07:00
Michael Votawandteejusb 3eab66808b Added a #GROOVESTATSHASHVERSION tag and CURRENT_GROOVE_STATS_HASH_VERSION constant 2025-03-23 01:26:45 -07:00
Michael Votawandteejusb c845205de5 Add a Lua method for forcing recalculation of GrooveStats hash. 2025-03-23 01:26:45 -07:00
Michael Votawandteejusb a70f1a015a Added missing header import and SetCachedGrooveStatsHash() method 2025-03-23 01:26:45 -07:00
Michael Votawandteejusb 1138b505f8 Set default value for m_bIsCachedGrooveStatsHashJustLoaded 2025-03-23 01:26:45 -07:00
Michael Votawandteejusb 25a3979975 Added methods for writing/loading #GROOVESTATSHASH to cache. When calling Lua GetGrooveStatsHash(), calculate it if it's not already been calculated. 2025-03-23 01:26:45 -07:00
Michael Votawandteejusb 632f456ea0 Added functions for generating GrooveStats hash for a given chart. 2025-03-23 01:26:45 -07:00
Crash Cringleandteejusb 0cbc92ff0f explicitly initialize m_group to nullptr 2025-03-22 19:45:54 -07:00
sukibabyandteejusb c59c491fd0 Revert "(Win32 refresh) GraphicsWindow"
This reverts commit 6aa81a9dd2 to resolve issue #681
2025-03-22 12:43:13 -07:00
teejusb 385ac061c0 Remove extra Log 2025-03-22 12:02:04 -07:00
Crash Cringleandteejusb 0270cda54d Add additional NULL checks just in case 2025-03-22 12:02:04 -07:00
Crash Cringleandteejusb ce7cef6d90 Only check for songs if we're using a memory card 2025-03-22 12:02:04 -07:00
Crash Cringleandteejusb 7d5a62a537 Add Group() for USB songs 2025-03-22 12:02:04 -07:00
Yauhen Artsiukhouandteejusb 04401ca365 Ask screen handler to do a transition
Closes: #553
2025-03-21 19:50:02 -07:00
Crash Cringleandteejusb e9e228fee0 Don't constantly read from Stats.xml while on the bookkeeping screen... 2025-03-21 19:48:12 -07:00
Luca Silvaandteejusb 91eccae6c7 fixed sextestream for windows 2025-03-21 03:38:38 -07:00
teejusb d7241fb164 Script uses bash expansion 2025-03-21 03:32:31 -07:00
teejusb 64510e9f4f Version bump to 1.0.1 2025-03-21 02:25:17 -07:00
teejusb ec9fc78469 Send back the HighScoreList for quint determination
This can already be fetched via a profile, but this is way more convenient since it's already here.
2025-03-21 02:15:41 -07:00
dando92andteejusb 9f5a4eba42 Added Bookkeeping screen in fallback 2025-03-20 21:29:49 -07:00
Michael Votawandteejusb 81bc4067c7 Increment FILE_CACHE_VERSION 2025-03-19 23:19:00 -07:00
Michael Votawandteejusb bb6f55e8b9 Explicitly cache #PEAKNPS instead of deriving it from NPSPerMeasure. 2025-03-19 23:19:00 -07:00
sukibabyandteejusb 58f88569d5 Remove AdjustForChangedSystemCapabilities() from StepMania.cpp
Remove this method, which only executes on Windows, which overwrites a few of your preferences based on whether or not you have at least 192MB of free RAM. The entire body of the function is wrapped in _WIN32 ifdefs. It is the only function making use of the LastSeenMemory value stored in Preferences.ini.
2025-03-18 07:29:56 -07:00
Crash Cringleandteejusb 4f0febb57c Rename DefaultSyncBias --> DefaultSyncOffset 2025-03-18 07:28:50 -07:00
teejusb 9933271eac Fix error in lua docs 2025-03-18 07:24:59 -07:00
DANDO\Alessandteejusb 704c353741 Added since in lua documentation 2025-03-18 07:24:59 -07:00
DANDO\Alessandteejusb bdcbbe1793 Added Lua documentation for hide light feature 2025-03-18 07:24:58 -07:00
dando92andteejusb 8320afe796 Added hide lights feature in player options 2025-03-18 07:24:58 -07:00
Crash Cringleandteejusb 6b50f9a90c Rename MachineSyncBias --> DefaultSyncBias 2025-03-16 15:42:41 -07:00
Crash Cringleandteejusb 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
phantom10111andteejusb 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
phantom10111andteejusb 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
phantom10111andteejusb 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]andteejusb 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ł Florczakandteejusb 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
sukibabyandteejusb 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
sukibabyandteejusb 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
sukibabyandteejusb 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
sukibabyandteejusb d6e8e0ba7f Add capital NULL in fallbacks for non-English languages 2025-03-09 11:16:12 -07:00
Crash Cringleandteejusb c6ad4685a7 Add null checks for all ->GetGroup->getsomething calls 2025-03-09 10:05:01 -07:00
Crash Cringleandteejusb 031cb7c8a2 Capitalize NULL String 2025-03-09 10:05:01 -07:00