osu-ds/source/Beatmaps/BeatmapManager.h
KonPet 183228e28e Change stuff to make it build
Removed the arm7 section
Changed the makefile to only use the arm9 stuff
Epicpkmn: Fix source/Graphics/GraphicsManager.cpp

Co-Authored-By: Pk11 <epicpkmn11@outlook.com>
Co-Authored-By: Kaisaan <34224128+Kaisaan@users.noreply.github.com>
2021-10-21 00:03:39 +02:00

40 lines
724 B
C++

#include <nds.h>
#include <stdio.h>
#include <string>
#include <dirent.h>
#include <string.h>
#include <vector>
#include "Beatmap.h"
#include "BeatmapElements.h"
#include "DifficultyManager.h"
#include "Modes/Mode.h"
#ifndef __BEATMAPMANAGER_H__
#define __BEATMAPMANAGER_H__
using namespace std;
typedef vector<Beatmap*>::iterator beatmapIterator;
class BeatmapManager
{
public:
static Beatmap& Current() { return *mBeatmapCurrent; }
static void BuildCollection();
static void Load(u32 index);
static u32 MapCount();
static u32 SongCount();
static vector<Beatmap*>& Beatmaps() { return mBeatmaps; }
protected:
static Beatmap* mBeatmapCurrent;
static vector<Beatmap*> mBeatmaps;
};
#endif