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>
40 lines
614 B
C++
40 lines
614 B
C++
#include <nds.h>
|
|
#include <math.h>
|
|
#include "HitObject.h"
|
|
|
|
#ifndef __HITSPINNER_H__
|
|
#define __HITSPINNER_H__
|
|
|
|
class HitSpinner : public HitObject
|
|
{
|
|
public:
|
|
HitSpinner(s32 time, s32 endtime, HitObjectSound sound);
|
|
~HitSpinner();
|
|
|
|
void Update();
|
|
|
|
void OnTouchDown(const touchPosition& touch);
|
|
void OnTouch(const touchPosition& touch);
|
|
|
|
void Hit();
|
|
|
|
protected:
|
|
s32 GetAngle(s32 x, s32 y);
|
|
|
|
s32 mLastAngle;
|
|
bool fSpinning;
|
|
s32 mDirection, mZeroPoint;
|
|
float mTotalRotation;
|
|
u32 mCurrentRotation;
|
|
u32 mTotalSpins;
|
|
u32 mRequiredSpins;
|
|
|
|
u32* mUV;
|
|
|
|
int mChannel;
|
|
};
|
|
|
|
#endif
|
|
|
|
|