osu-ds/source/GameplayElements/ScoreManager.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

37 lines
625 B
C++

#include <nds.h>
#include <stdio.h>
#include "Helpers/MathHelper.h"
#include "Beatmaps/DifficultyManager.h"
#ifndef __SCOREMANAGER_H__
#define __SCOREMANAGER_H__
typedef enum {
SCORE_300 = 300,
SCORE_100 = 100,
SCORE_50 = 50,
SCORE_TICK_30 = 30,
SCORE_TICK_10 = 10,
SCORE_SPIN_100 = 101,//should be 100 but conflicts with SCORE_100
SCORE_SPIN_1000 = 1000,
SCORE_MISS = 0
} ScoreType;
class ScoreManager
{
public:
ScoreManager();
void Add(ScoreType score, bool forceNoCombo = false);
u32 Score() { return mScore; }
u32 Combo() { return mCombo; }
protected:
u32 mScore;
u32 mCombo;
};
#endif