conversion
This commit is contained in:
parent
4952cf8283
commit
cf9237c330
@ -301,7 +301,7 @@ class ChartingState extends MusicBeatState
|
|||||||
{
|
{
|
||||||
var renderer = new SectionRender(0,640 * awfgaw,GRID_SIZE);
|
var renderer = new SectionRender(0,640 * awfgaw,GRID_SIZE);
|
||||||
if (_song.notes[awfgaw] == null)
|
if (_song.notes[awfgaw] == null)
|
||||||
_song.notes.push(newSection(16,true,false));
|
_song.notes.push(newSection(16,true,false,false));
|
||||||
renderer.section = _song.notes[awfgaw];
|
renderer.section = _song.notes[awfgaw];
|
||||||
|
|
||||||
sectionRenderes.add(renderer);
|
sectionRenderes.add(renderer);
|
||||||
@ -2699,6 +2699,7 @@ class ChartingState extends MusicBeatState
|
|||||||
mustHitSection: true,
|
mustHitSection: true,
|
||||||
sectionNotes: [],
|
sectionNotes: [],
|
||||||
typeOfSection: 0,
|
typeOfSection: 0,
|
||||||
|
altAnim: false,
|
||||||
p1AltAnim: false,
|
p1AltAnim: false,
|
||||||
p2AltAnim: false
|
p2AltAnim: false
|
||||||
};
|
};
|
||||||
@ -2838,6 +2839,7 @@ class ChartingState extends MusicBeatState
|
|||||||
mustHitSection: mustHitSection,
|
mustHitSection: mustHitSection,
|
||||||
sectionNotes: [],
|
sectionNotes: [],
|
||||||
typeOfSection: 0,
|
typeOfSection: 0,
|
||||||
|
altAnim: false,
|
||||||
p1AltAnim: p1AltAnim,
|
p1AltAnim: p1AltAnim,
|
||||||
p2AltAnim: p2AltAnim
|
p2AltAnim: p2AltAnim
|
||||||
};
|
};
|
||||||
|
@ -10,6 +10,7 @@ typedef SwagSection =
|
|||||||
var mustHitSection:Bool;
|
var mustHitSection:Bool;
|
||||||
var bpm:Float;
|
var bpm:Float;
|
||||||
var changeBPM:Bool;
|
var changeBPM:Bool;
|
||||||
|
var altAnim:Bool;
|
||||||
var p1AltAnim:Bool;
|
var p1AltAnim:Bool;
|
||||||
var p2AltAnim:Bool;
|
var p2AltAnim:Bool;
|
||||||
}
|
}
|
||||||
|
@ -125,7 +125,6 @@ class Song
|
|||||||
if (song.eventObjects == null)
|
if (song.eventObjects == null)
|
||||||
song.eventObjects = [];
|
song.eventObjects = [];
|
||||||
|
|
||||||
|
|
||||||
for(i in song.eventObjects)
|
for(i in song.eventObjects)
|
||||||
{
|
{
|
||||||
var name = Reflect.field(i,"name");
|
var name = Reflect.field(i,"name");
|
||||||
@ -176,7 +175,11 @@ class Song
|
|||||||
|
|
||||||
|
|
||||||
// conversion stuff
|
// conversion stuff
|
||||||
|
for (section in swagShit.notes)
|
||||||
|
{
|
||||||
|
if (section.altAnim)
|
||||||
|
section.p1AltAnim = section.altAnim;
|
||||||
|
}
|
||||||
|
|
||||||
return swagShit;
|
return swagShit;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user