Compare commits
15
Commits
v1.4.0
...
CPP-master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3b4e02e77f | ||
|
|
75449f4f54 | ||
|
|
75927decb7 | ||
|
|
c6e94fd82e | ||
|
|
ff47d1d75c | ||
|
|
9d2ad26176 | ||
|
|
8d64b3afa7 | ||
|
|
5ead805191 | ||
|
|
e0abc89450 | ||
|
|
70513c0a36 | ||
|
|
215f13793c | ||
|
|
3f173e43c7 | ||
|
|
f3d41d5634 | ||
|
|
64e3b2d62b | ||
|
|
66c5dba042 |
@@ -30,28 +30,28 @@
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<PlatformToolset>v143</PlatformToolset>
|
||||
<CLRSupport>true</CLRSupport>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<PlatformToolset>v143</PlatformToolset>
|
||||
<CLRSupport>true</CLRSupport>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<PlatformToolset>v143</PlatformToolset>
|
||||
<CLRSupport>true</CLRSupport>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<PlatformToolset>v143</PlatformToolset>
|
||||
<CLRSupport>true</CLRSupport>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
|
||||
+55
-4
@@ -3,10 +3,39 @@
|
||||
#include <iterator>
|
||||
#include <list>
|
||||
|
||||
enum NoteType {
|
||||
TouchNoBonus = 1,
|
||||
TouchBonus = 2,
|
||||
SnapRedNoBonus = 3,
|
||||
SnapBlueNoBonus = 4,
|
||||
SlideOrangeNoBonus = 5,
|
||||
SlideOrangeBonus = 6,
|
||||
SlideGreenNoBonus = 7,
|
||||
SlideGreenBonus = 8,
|
||||
HoldStartNoBonus = 9,
|
||||
HoldJoint = 10,
|
||||
HoldEnd = 11,
|
||||
MaskAdd = 12,
|
||||
MaskRemove = 13,
|
||||
EndOfChart = 14,
|
||||
//MaskSameTime = 15,
|
||||
Chain = 16,
|
||||
//MaskLane = 17,
|
||||
//TutorialTag = 18,
|
||||
//BarLine = 19,
|
||||
TouchBonusFlair = 20,
|
||||
SnapRedBonusFlair = 21,
|
||||
SnapBlueBonusFlair = 22,
|
||||
SlideOrangeBonusFlair = 23,
|
||||
SlideGreenBonusFlair = 24,
|
||||
HoldStartBonusFlair = 25,
|
||||
ChainBonusFlair = 26,
|
||||
};
|
||||
|
||||
struct NotesNode {
|
||||
int measure;
|
||||
int beat;
|
||||
int subBeat;
|
||||
int noteType;
|
||||
NoteType noteType;
|
||||
int position;
|
||||
int size;
|
||||
int holdChange;
|
||||
@@ -15,10 +44,23 @@ struct NotesNode {
|
||||
std::list<NotesNode>::iterator prevNode;
|
||||
};
|
||||
|
||||
enum GimmickType {
|
||||
NoGimmick = 1,
|
||||
BpmChange = 2,
|
||||
TimeSignatureChange = 3,
|
||||
//Stop = 4, //No clue what this does
|
||||
HiSpeedChange = 5,
|
||||
ReverseStart = 6,
|
||||
ReverseEnd = 7,
|
||||
ReverseNoteEnd = 8,
|
||||
StopStart = 9,
|
||||
StopEnd = 10,
|
||||
};
|
||||
|
||||
struct PreChartNode {
|
||||
int measure;
|
||||
int beat;
|
||||
int subBeat;
|
||||
int type;
|
||||
GimmickType type;
|
||||
double BPM; //2
|
||||
int beatDiv1; //3
|
||||
int beatDiv2; //3
|
||||
@@ -32,4 +74,13 @@ struct Chart {
|
||||
double offset;
|
||||
double movieOffset;
|
||||
std::string songFileName;
|
||||
};
|
||||
|
||||
struct Operation {
|
||||
int operationType; //1=insert, 2=delete, 3=edit
|
||||
int objectType; //1=Note, 2=Gimmick
|
||||
std::list<NotesNode> oldNote; //only used for edit
|
||||
std::list<PreChartNode> oldGimmick; //only used for edit
|
||||
std::list<NotesNode> Note;
|
||||
std::list<PreChartNode> Gimmick;
|
||||
};
|
||||
+938
-605
File diff suppressed because it is too large
Load Diff
+1837
-809
File diff suppressed because it is too large
Load Diff
Binary file not shown.
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 83 KiB |
Reference in New Issue
Block a user