mirror of
https://github.com/echojc/osu-ds.git
synced 2025-06-19 09:25:41 -04:00

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>
37 lines
625 B
C++
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
|
|
|