17#import <OpenGLES/EAGL.h>
18#import <UIKit/UIKit.h>
22NS_ASSUME_NONNULL_BEGIN
43- (instancetype)initWithFrame:(CGRect)frame;
64- (void)loadMarkerTex:(nullable NSString *)markerID;
102- (void)setAdjust:(
int)adjust;
121- (void)drawBtn:(CGPoint)point btnState:(
int)btnState;
141- (void)btnTouchesBegan:(UIButton *)sender;
148- (void)btnTouchesEnd:(UIButton *)sender;
A self-contained OpenGL ES view that previews the marker animation for a timing-adjust test.
Definition AdjustTestView.h:29
void resumePreview()
Resumes the preview: restores the pushed track and fades the music back in.
Definition AdjustTestView.m:432
NSString * currentMarker
The current marker identifier, set when marker textures are loaded.
Definition AdjustTestView.h:160
void pausePreview()
Pauses the preview if it is running: stops the music and restores the pushed track.
Definition AdjustTestView.m:411
void suspendPreview()
Suspends the preview: marks it paused, resets state, and stops the music.
Definition AdjustTestView.m:424
Sequence * sequence
The playback sequence, built from the bundled test archive.
Definition AdjustTestView.h:154
void startPreview()
Starts the preview: resets state, pushes and reloads the background music, and plays it.
Definition AdjustTestView.m:401
void draw()
Advances the sequence to the current music position, judges the panels, and renders one frame per pan...
Definition AdjustTestView.m:473
Class layerClass()
Returns CAEAGLLayer so the view is backed by a Core Animation EAGL layer.
Definition AdjustTestView.m:156
void reset()
Resets the press flags, timing state, base time, and audio offset, and rewinds the sequence.
Definition AdjustTestView.m:444
void releaseTex()
Releases the ten sprite-sheet textures, stops the background music, and drops the sequence.
Definition AdjustTestView.m:382
void destroyFramebuffer()
Deletes the framebuffer, colour renderbuffer, and index buffer.
Definition AdjustTestView.m:278
BOOL createFramebuffer()
Creates the framebuffer, colour renderbuffer, and shared quad index buffer, and configures the fixed-...
Definition AdjustTestView.m:223
The core gameplay judgement engine for a single play session.
Definition Sequence.h:102