teejusb
7e82e36223
Merge pull request #7 from natano/json
...
Add json encoding/decoding functions to lua
2021-10-13 10:59:15 -07:00
Martin Natano
b4f86a2052
Add json encoding/decoding functions to lua
...
This adds two global functions:
- `JsonEncode()`: Encode data as JSON. Optionally "minify" the result.
- `JsonDecode()`: Decode JSON data.
2021-10-13 19:33:02 +02:00
teejusb
0b17369078
Merge pull request #6 from natano/fix-BinaryToHex
...
Fix BinaryToHex()
2021-10-07 11:53:12 -07:00
Crystal Squirrel
cd7da39a97
Merge pull request #2041 from skogaby/5_1-new
...
Add a serial lights driver, to output lights information over serial for Win32
2021-10-01 01:00:06 +01:00
Crystal Squirrel
e977c06d6a
Merge pull request #2149 from natano/stats-xml-size
...
Increase Stats.xml file size limit to 100MB
2021-10-01 00:34:32 +01:00
Crystal Squirrel
b8fc345fd3
Merge pull request #2150 from natano/SM-fix-BinaryToHex
...
Fix BinaryToHex()
2021-10-01 00:32:12 +01:00
Crystal Squirrel
9ffaae7e15
Merge pull request #2153 from teejusb/verifythemename
...
Verify that PrefsTable[name] exists before attempting to index the preference in ThemPrefs
2021-10-01 00:23:12 +01:00
teejusb
a105e3bd60
Verify that PrefsTable[name] exists before indexing the pref.
2021-09-24 14:57:49 -07:00
teejusb
569b1dba33
Verify that PrefsTable[name] exists before indexing the pref.
2021-09-24 14:49:02 -07:00
Martin Natano
baa5de4cd2
Fix BinaryToHex()
...
Previously the function stopped short on nul bytes ("\0") due to usage
of the SArg() macro, which does not retrieve the length of the lua
string.
before the fix: `BinaryToHex("a\0b")` -> `"61"`
after the fix: `BinaryToHex("a\0b")` -> `"610062"`
2021-09-19 22:27:09 +02:00
Martin Natano
8c2f13da2c
Fix BinaryToHex()
...
Previously the function stopped short on nul bytes ("\0") due to usage
of the SArg() macro, which does not retrieve the length of the lua
string.
before the fix: `BinaryToHex("a\0b")` -> `"61"`
after the fix: `BinaryToHex("a\0b")` -> `"610062"`
2021-09-19 22:07:31 +02:00
teejusb
f8c2209f86
Merge branch 'stepmania:5_1-new' into beta
2021-09-01 17:36:10 -07:00
teejusb
66420029c8
Merge pull request #4 from natano/update-readme
...
Add changes to README.md
2021-09-01 14:58:55 -07:00
Martin Natano
1c45882843
Add changes to README.md
2021-09-01 23:51:58 +02:00
Martin Natano
9b3f26d672
Increase Stats.xml file size limit to 100MB
...
A lot of people have run into the previous ~10MB limit and increasing it
to 100MB doesn't seem to break anything.
I left a limit in place, so that excessively large Stats.xml files on a
USB profile can't be used to make a cab run out of memory. (SM uses a
multiple of the memory that is required for the file on disk.)
2021-09-01 23:20:28 +02:00
Tyler Brekke
84dd29527a
Merge pull request #2147 from teejusb/libudev
...
Add libudev-dev to ci.yml
2021-08-31 13:33:36 -07:00
teejusb
7fea5a253d
Merge pull request #3 from natano/track-held-misses
...
Track held misses
2021-08-31 09:26:45 -07:00
Martin Natano
f18695df59
Track held misses
...
This adds a `HeldMiss` attribute to judgment messages and a GetHeld()
method to TapNoteResult.
2021-08-31 18:25:09 +02:00
teejusb
d101be19e7
Add libudev-dev to ci.yml. This should hopefully fix the failing continuous integration tests on Ubunut.
2021-08-29 11:36:30 -07:00
teejusb
58611d0ecb
Move global.h to the top. It otherwise fails compilation when using gcc
...
One day I'll fix up the headers and run IWYU on the repo
2021-08-29 10:44:31 -07:00
teejusb
08e271d602
Add a preference to control the ordering of how notes are rendered
...
Added RenderEarlierNotesOnTop (false by default to preserve ITG behavior).
2021-08-25 14:38:10 -07:00
teejusb
7f90093cd9
Allow both rate mod versions (preserve + don't preserve pitch)
...
This is toggleable with a new preference call "RateModPreservesPitch" (true by default to preserve existing SM5 behavior)
2021-08-25 00:04:28 -07:00
teejusb
3111f90b75
Fix hold note rendering
...
Reverses the logic changes done in commits: https://github.com/stepmania/stepmania/commit/567f8363e8dab41a75c9e5a8d307dcf991fb816d and https://github.com/stepmania/stepmania/commit/e96b17015421a0b2777746462838ae6897ea910d
2021-08-23 18:11:07 -07:00
teejusb
c4990dd7ac
Apply the Mine Fix patch
...
Link here: https://gist.github.com/DinsFire64/4a3f763cd3033afd55a176980b32a3b5#file-minefix_rc1-patch
2021-08-23 17:52:10 -07:00
teejusb
0a8bf3b6f2
Merge pull request #2 from natano/stats-xml-size
...
Increase Stats.xml file size limit to 100MB
2021-08-23 13:38:24 -07:00
Martin Natano
65e859d6c5
Increase Stats.xml file size limit to 100MB
...
A lot of people have run into the previous ~10MB limit and increasing it
to 100MB doesn't seem to break anything.
I left a limit in place, so that excessively large Stats.xml files on a
USB profile can't be used to make a cab run out of memory. (SM uses a
multiple of the memory that is required for the file on disk.)
2021-08-23 22:19:34 +02:00
teejusb
5cfec7fcb8
Merge pull request #1 from natano/unbind-hyphen
...
Change the default binding for P2/back from hyphen to backslash
2021-08-19 13:47:12 -07:00
Martin Natano
6894386662
Change the default binding for P2/back from hyphen to backslash
...
This is a workaround to make the hyphen key usable in text entry
screens. It allows to add a hyphen to profile names and set a negative
offset in edit mode.
Technically backslash is also a typeable character, but it seems to be
less common names in user names and not necessary for typing negative
offsets.
Fwiw, in outfox P2/back is unbound.
2021-08-19 22:28:59 +02:00
Crystal Squirrel
5d4a6cf903
Fix std::stoi bad behaviour closes #2130
...
Patched with outfox upstream, this restores BG as it is expected
2021-08-14 21:29:48 +01:00
quietly-turning
6bd6963406
Revert "Merge pull request #1888 from mwkroening/notes_loader-invalid_argument"
...
This reverts commit 56caf6da4b .
2021-08-14 21:25:27 +01:00
Yuan-Quan
95aae05243
Removed duplicated line ( #2125 )
...
Removed duplicated line in README.md
2021-07-16 02:35:39 -07:00
Renan Guilherme
1b12bd32b7
_fallback: INI sections must start with brackets ( #2127 )
...
Previously, IniFile.ReadFile created sections by checking for brackets
anywhere in the line, causing issues if a value had brackets. This
commit changes the section matching regex, so that only lines that
begin with a bracket can become sections.
2021-07-16 02:31:27 -07:00
Tracy Ward
6510496658
Merge pull request #2124 from DinsFire64/lighting_fix
...
Fix lighting typo.
2021-06-01 15:13:10 -04:00
din
d67cbcf5c1
Fix lighting typo.
2021-06-01 12:09:46 -05:00
Crystal Squirrel
767a3cf2af
Merge pull request #2114 from vyteking/5_1-new
...
Added Korean translation
2021-04-29 01:03:56 +01:00
Crystal Squirrel
b019ade9b2
Merge pull request #2113 from vyteking/patch-1
...
Added Korean Translation
2021-04-29 01:02:25 +01:00
vyteking
330cd343d9
Added Korean Translation
2021-04-29 08:54:08 +09:00
vyteking
e3174517fe
Added Korean translation
2021-04-29 00:03:28 +09:00
vyteking
ecb433b92e
Added Korean translation
2021-04-29 00:01:19 +09:00
vyteking
76b65d5983
Added a Korean translation
2021-04-28 23:59:48 +09:00
Tracy Ward
984dc8668f
fix minor merge error in comment
2021-03-23 03:33:26 -04:00
Crystal Squirrel
f1f76bc71b
Merge pull request #2103 from DinsFire64/5_1-new
...
stac support & Linux LED refactor (2078)
2021-03-23 04:42:05 +00:00
din
67b2d06406
Linux_LED refactor
2021-03-22 23:40:05 -05:00
Crystal Squirrel
521b09ea1f
Merge pull request #2071 from Davidian1024/not_a_joystick_exceptions
...
Added an exception to the "not a joystick" logic for the RedOctane USB Pad.
2021-03-23 04:25:47 +00:00
Crystal Squirrel
473ab02567
Merge pull request #2067 from jose1711/sk_translation
...
Add Slovak translation
2021-03-23 04:22:41 +00:00
din
fa4109b652
stac support
2021-03-21 13:42:03 -05: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
Tatsh
c7c54bb013
Fix linking against system GLEW ( #1935 )
2021-02-03 09:25:42 -08:00
Crystal Squirrel
8ae4beb2d4
Merge pull request #1971 from ChronoAndross/5_1-new
...
Update Vorbis from 1.3.2 to 1.3.6. Updating to this version addresses…
2021-01-28 08:52:44 +00:00
Crystal Squirrel
3f756be055
Merge pull request #2084 from natano/input-mapping-disambiguate
...
Mark keypad buttons as such in the input mapping screen
2021-01-28 08:51:40 +00:00