mirror of
https://github.com/echojc/osu-ds.git
synced 2025-06-19 01:15:44 -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>
23 lines
450 B
C++
23 lines
450 B
C++
#include <nds.h>
|
|
#include "pSprite.h"
|
|
|
|
#ifndef __PANIMATION_H__
|
|
#define __PANIMATION_H__
|
|
|
|
class pAnimation : public pSprite
|
|
{
|
|
public:
|
|
pAnimation(TextureType texture, u32 framecount, u32 fps, s32 x, s32 y, u32 width, u32 height, DrawOrigin origin, FieldType type, rgb color, u32 alpha);
|
|
void Update();
|
|
|
|
protected:
|
|
TextureType mOrigTexture;
|
|
float mUpdatesPerFrame;
|
|
float mUpdatesWaited;
|
|
u32 mFrameCurrent;
|
|
u32 mFrameCount;
|
|
};
|
|
|
|
#endif
|
|
|