2017-08-17 23:41:11 +02:00
|
|
|
//
|
|
|
|
// Created by Syméon on 17/08/2017.
|
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef FEIS_FUMEN_H
|
|
|
|
#define FEIS_FUMEN_H
|
|
|
|
|
|
|
|
#include <iostream>
|
|
|
|
#include <map>
|
2017-08-25 13:14:38 +02:00
|
|
|
#include <set>
|
|
|
|
#include <fstream>
|
|
|
|
#include <json/json.hpp>
|
2017-08-17 23:41:11 +02:00
|
|
|
|
2017-08-18 17:42:56 +02:00
|
|
|
#include "Note.h"
|
2017-08-25 23:12:27 +02:00
|
|
|
#include "Chart.h"
|
2017-08-18 17:42:56 +02:00
|
|
|
|
2017-08-17 23:41:11 +02:00
|
|
|
class Fumen {
|
2017-08-25 13:14:38 +02:00
|
|
|
|
2017-08-17 23:41:11 +02:00
|
|
|
public:
|
2017-08-25 13:14:38 +02:00
|
|
|
|
|
|
|
Fumen(const std::string &songTitle = "",
|
|
|
|
const std::string &artist = "",
|
|
|
|
const std::string &musicPath = "",
|
|
|
|
const std::string &jacketPath = "",
|
|
|
|
float BPM = 120,
|
|
|
|
float offset = 0);
|
|
|
|
|
|
|
|
void loadFromMemon(std::string path);
|
2017-08-25 23:12:27 +02:00
|
|
|
// TODO : implementer ça
|
|
|
|
//void loadFromMemo(std::string path);
|
|
|
|
//void loadFromEve(std::string path);
|
2017-08-25 13:14:38 +02:00
|
|
|
|
|
|
|
void saveAsMemon(std::string path);
|
2017-08-25 23:12:27 +02:00
|
|
|
// TODO : implementer ça
|
|
|
|
//void saveAsMemo(std::string path);
|
|
|
|
//void saveAsEve(std::string path);
|
2017-08-25 13:14:38 +02:00
|
|
|
|
2018-12-23 01:55:43 +01:00
|
|
|
std::map<std::string,Chart> Charts;
|
2017-08-25 13:14:38 +02:00
|
|
|
std::string songTitle;
|
|
|
|
std::string artist;
|
|
|
|
std::string musicPath;
|
|
|
|
std::string jacketPath;
|
|
|
|
float BPM;
|
|
|
|
float offset;
|
|
|
|
|
2017-08-17 23:41:11 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif //FEIS_FUMEN_H
|