JubeatPlus 3.9.11
Loading...
Searching...
No Matches
HoldMarkerRender.h
Go to the documentation of this file.
1
15
16#import <CoreGraphics/CoreGraphics.h>
17#import <Foundation/Foundation.h>
18
19#import "Texture2D.h"
20
21NS_ASSUME_NONNULL_BEGIN
22
30typedef struct {
32 unsigned int start;
33 unsigned int end;
34 unsigned int state;
36
40@interface HoldMarkerRender : NSObject
41
52- (instancetype)init:(nullable Texture2D *)tex isPad:(BOOL)isPad gameAreaDelay:(int)gameAreaDelay;
53
72- (void)renderHoldLine:(CGPoint)endPoint
73 start:(CGPoint)startPoint
74 vector:(int)vector
75 trans:(char)trans
76 alpha:(float)alpha
77 frame:(int)frame
78 addLength:(int)addLength;
79
86- (void)renderHoldMarker:(nullable HoldMarkerInfo *)markers;
87
97- (void)renderHoldMarker:(HoldMarkerInfo)marker end:(int)end;
98
99@end
100
101NS_ASSUME_NONNULL_END
102
103// code: language=Objective-C
104// kate: hl Objective-C;
105// vim: set ft=objc :
The engine's sprite-sheet texture: a single OpenGL ES texture that batches many sprite quads into one...
Draws hold markers from a sixteen-entry panel array.
Definition HoldMarkerRender.h:41
A texture that can draw any of the sprites packed into it.
Definition Texture2D.h:40
One panel's hold-marker state.
Definition HoldMarkerRender.h:30
unsigned int end
The frame the hold ends on.
Definition HoldMarkerRender.h:33
unsigned int start
The frame the hold began on.
Definition HoldMarkerRender.h:32
int direction
Which way the tail runs.
Definition HoldMarkerRender.h:31
unsigned int state
The marker's animation state.
Definition HoldMarkerRender.h:34