1
0
mirror of synced 2024-09-23 19:08:21 +02:00

Re-enable negative chart levels

This commit is contained in:
Stepland 2021-12-22 14:21:10 +01:00
parent 84b8e0358f
commit 8aaace30a5
4 changed files with 26 additions and 2 deletions

View File

@ -1,6 +1,12 @@
# Changelog
## v1.0.0
## v1.0.0-rc.2
- **Changed**
- In the chart object, `level` can now be negative, it was mistakenly restricted to being positive in `v1.0.0-rc.1` as a part of turning it into a decimal value
- **Schema bugs**
- `#/$defs/positiveDecimal` allowed for negative number literals, not anymore
## v1.0.0-rc.1
- **Added**
- Symbolic times such as `t` and `l` in notes can also now be expressed as a tuple of 3 ints representing a mixed number
- Decimal numbers such as the offset or the bpm can now also be stored as strings to make it easier to preserve clean decimal notations

View File

@ -67,7 +67,7 @@
"properties": {
"level": {
"description": "Level rating of the chart, typically goes from 1 to 10.9 in jubeat",
"$ref": "#/$defs/positiveDecimal"
"$ref": "#/$defs/decimal"
},
"resolution": {
"description": "Number of ticks in a beat for the notes",

View File

@ -0,0 +1,9 @@
{
"version": "1.0.0",
"data": {
"a": {
"level": -5,
"notes": []
}
}
}

View File

@ -0,0 +1,9 @@
{
"version": "1.0.0",
"data": {
"a": {
"level": "-0.0",
"notes": []
}
}
}