15#import <AVFoundation/AVFoundation.h>
16#import <CoreGraphics/CoreGraphics.h>
17#import <Foundation/Foundation.h>
18#import <UIKit/UIKit.h>
26NS_ASSUME_NONNULL_BEGIN
50#pragma mark - Textures
63 artwork:(nullable UIImage *)artwork
64 index:(nullable UIImage *)index;
71- (void)releaseTexture;
73#pragma mark - Play lifecycle
82- (void)setState:(
unsigned int)state;
106- (void)drawClip:(
int)drawIndex
107 drawPosition:(CGPoint)drawPosition
108 drawArea:(CGRect)drawArea
123- (void)renderShutter:(BOOL)animate;
131- (void)renderCombo:(
unsigned int)combo alpha:(
float)alpha;
141- (void)renderMusicBar:(CGPoint)position timeline:(BOOL)timeline alpha:(
double)alpha;
150- (void)renderTuneInfo:(CGPoint)position artworkSize:(
double)artworkSize alpha:(
double)alpha;
157- (void)renderUpperBG:(BOOL)arg;
169- (void)renderButtons;
176- (void)renderPreStart;
183- (void)renderReadyGo;
192- (void)renderFullcombo:(
int)frameArg isResult:(BOOL)isResult;
205- (double)buttonAreaOffset;
222- (void)drawDebugText:(nullable const
char *)text pos:(CGPoint)pos alpha:(
float)alpha;
229- (CGRect)getTimeLineRect;
231#pragma mark - Read-only accessors
237@property(nonatomic, readonly)
unsigned int endButtonID;
239#pragma mark - Textures and effects
276@property(nonatomic, strong, nullable) AVAudioPlayer *
sePlayerGo;
287@property(nonatomic, strong, nullable) NSMutableArray *
arrayBgEff;
The edit-mode note renderer.
The phone-idiom concrete edit-mode note renderer.
Definition EditNoteRendererPhone.h:31
unsigned int subStateChangeFrame
The frame the sub-state last changed on.
Definition EditNoteRendererPhone.h:35
unsigned int effFrame
The knit-effect animation frame.
Definition EditNoteRendererPhone.h:37
NSMutableArray * arrayBgEff
The array of active knit background effects.
Definition EditNoteRendererPhone.h:287
unsigned int effSlot
The next knit-effect slot to fill.
Definition EditNoteRendererPhone.h:38
Texture2D * texReady0
The ready-countdown texture.
Definition EditNoteRendererPhone.h:245
Texture2D * texMarker
The note-marker atlas, unzipped from the marker archive.
Definition EditNoteRendererPhone.h:260
EffectBgKnit * effectBgKnt
The current knit background effect.
Definition EditNoteRendererPhone.h:281
Texture2D * texDebugFont
The debug-font atlas.
Definition EditNoteRendererPhone.h:271
Texture2D * texReady1
The go-countdown texture.
Definition EditNoteRendererPhone.h:250
Texture2D * texBeatBg
The knit beat-background atlas.
Definition EditNoteRendererPhone.h:266
Texture2D * texFront
The front atlas: chips, buttons, level, marks, and tune information.
Definition EditNoteRendererPhone.h:255
unsigned int frame
The per-state frame counter, advanced each draw.
Definition EditNoteRendererPhone.h:34
float lastHakuPhase
The beat phase as of the last frame.
Definition EditNoteRendererPhone.h:36
AVAudioPlayer * sePlayerGo
The go-sound player, prepared lazily when the ready state is entered.
Definition EditNoteRendererPhone.h:276
BOOL isRetina
Cached phone-retina flag, sampled once at init.
Definition EditNoteRendererPhone.h:33
float bounceEnergy
The residual bounce energy of the beat effect.
Definition EditNoteRendererPhone.h:39
The edit-mode note renderer.
Definition EditNoteRenderer.h:41
The marker, sound, and display settings the chart editor's renderer draws with.
Definition EditRendererConf.h:22
A single animated decoration on the knit background.
Definition EffectBgKnit.h:25
A texture that can draw any of the sprites packed into it.
Definition Texture2D.h:40