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
21
NS_ASSUME_NONNULL_BEGIN
22
30
typedef
struct
{
31
int
direction
;
32
unsigned
int
start
;
33
unsigned
int
end
;
34
unsigned
int
state
;
35
}
HoldMarkerInfo
;
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
101
NS_ASSUME_NONNULL_END
102
103
// code: language=Objective-C
104
// kate: hl Objective-C;
105
// vim: set ft=objc :
Texture2D.h
The engine's sprite-sheet texture: a single OpenGL ES texture that batches many sprite quads into one...
HoldMarkerRender
Draws hold markers from a sixteen-entry panel array.
Definition
HoldMarkerRender.h:41
Texture2D
A texture that can draw any of the sprites packed into it.
Definition
Texture2D.h:40
HoldMarkerInfo
One panel's hold-marker state.
Definition
HoldMarkerRender.h:30
HoldMarkerInfo::end
unsigned int end
The frame the hold ends on.
Definition
HoldMarkerRender.h:33
HoldMarkerInfo::start
unsigned int start
The frame the hold began on.
Definition
HoldMarkerRender.h:32
HoldMarkerInfo::direction
int direction
Which way the tail runs.
Definition
HoldMarkerRender.h:31
HoldMarkerInfo::state
unsigned int state
The marker's animation state.
Definition
HoldMarkerRender.h:34
Project
HoldMarkerRender.h
Generated by
1.15.0