JubeatPlus 3.9.11
Loading...
Searching...
No Matches
TitleViewControllerKnt.h
Go to the documentation of this file.
1
28
29#import <UIKit/UIKit.h>
30
31#import "EditorIDManager.h"
34
35@class CADisplayLink;
36@class EAGLView;
38@class Texture2D;
39@class UpperBGKnit;
40
41NS_ASSUME_NONNULL_BEGIN
42
50// clang-format off
51// One protocol per line: a continuation line that begins with ": Base <" is read by Doxygen as
52// undocumented ivars named after the trailing protocols.
55// clang-format on
56
63- (instancetype)init;
64
70- (void)loadView;
71
77- (void)start;
78
85- (void)loop:(nullable CADisplayLink *)sender;
86
91- (void)blinkPrompt;
92
97- (void)startMarkerCheck;
98
104- (void)startBlinkPrompt;
105
110- (void)showLogo;
111
117- (CGRect)getConciergeRect;
118
125- (void)handleTap:(nullable UITapGestureRecognizer *)recognizer;
126
132- (void)handleSwipe:(nullable UISwipeGestureRecognizer *)recognizer;
133
139- (void)suspend:(nullable NSNotification *)notification;
140
146- (void)resume:(nullable NSNotification *)notification;
147
152- (void)stopAnimation;
153
158- (void)viewDidUnload;
159
165- (void)renderConcierge;
166
171- (void)markerCheckEnd;
172
179- (void)willRotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation
180 duration:(NSTimeInterval)duration;
181
188- (void)viewWillTransitionToSize:(CGSize)size
189 withTransitionCoordinator:(nullable id<UIViewControllerTransitionCoordinator>)coordinator;
190
198- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation;
199
206- (UIInterfaceOrientationMask)supportedInterfaceOrientations;
207
213- (BOOL)shouldAutorotate;
214
220- (void)dealloc;
221
228- (int)getConciergeType;
229
236- (void)becomeConcierge;
237
243- (void)nextScene;
244
249- (void)createPolicyView;
250
258- (void)agreementError:(nullable id)manager msgStr:(nullable NSString *)msgStr;
259
265- (void)agreementSuccess:(nullable id)sender;
266
272- (void)agreementFailed:(nullable id)sender;
273
280- (void)errorIDDownload:(nullable id)manager msgStr:(nullable NSString *)msgStr;
281
288- (void)successIDDownload:(nullable id)manager;
289
290@end
291
292NS_ASSUME_NONNULL_END
293
294// code: language=Objective-C
295// kate: hl Objective-C;
296// vim: set ft=objc :
The editor identifier store, backed by the keychain.
The modal that downloads the marker (note-hit graphic) list and each marker.
Base title controller.
The OpenGL ES 1.1 rendering view backing the game.
Definition EAGLView.h:19
A CAGradientLayer -backed licence-agreement sheet.
Definition LicenseAgreementView.h:29
A texture that can draw any of the sprites packed into it.
Definition Texture2D.h:40
The animated KNT title-screen: GL wave background, tappable/GL-drawn concierge, hidden shake/swipe ea...
Definition TitleViewControllerKnt.h:54
void loadView()
Builds the view hierarchy: the GL view, the jubeat logo, the touch prompt, the copyright image,...
Definition TitleViewControllerKnt.m:313
void dealloc()
Removes observers, empties the wave textures, re-arms device motion (the binary does not stop it),...
Definition TitleViewControllerKnt.m:687
void stopAnimation()
Invalidates the loop and stops device motion.
Definition TitleViewControllerKnt.m:1113
void startMarkerCheck()
Presents the marker-download check modal over the controller's view.
Definition TitleViewControllerKnt.m:823
void becomeConcierge()
Unlocks the concierge easter egg: enters the walking state, strips the swipe recognisers,...
Definition TitleViewControllerKnt.m:906
void markerCheckEnd()
The marker check completed: starts the blinking prompt.
Definition TitleViewControllerKnt.m:865
void showLogo()
Fades the jubeat logo and copyright up to full opacity, then begins the marker check.
Definition TitleViewControllerKnt.m:736
BOOL shouldAutorotate()
Whether the controller autorotates: always YES .
Definition TitleViewControllerKnt.m:1272
void startBlinkPrompt()
Installs the four swipe recognisers and the tap recogniser, resets the easter-egg state,...
Definition TitleViewControllerKnt.m:830
int getConciergeType()
The concierge sprite type: derived from the knit colour type, forced to the Hinabita type when the ap...
Definition TitleViewControllerKnt.m:872
CGRect getConciergeRect()
The concierge character's hit rect, relative to the logo view.
Definition TitleViewControllerKnt.m:892
void start()
Starts the title: hides the logo, prompt, and copyright, loads and plays the BGM and the welcome SE,...
Definition TitleViewControllerKnt.m:720
void createPolicyView()
Builds and reveals the licence-agreement sheet over the dimming cover.
Definition TitleViewControllerKnt.m:1152
void renderConcierge()
Draws the concierge sprite into the GL scene: its wandering position, the tap-count digit readout,...
Definition TitleViewControllerKnt.m:461
void viewDidUnload()
Tears down the background, prompt, recogniser, and texture references.
Definition TitleViewControllerKnt.m:703
void nextScene()
Transitions off the title: removes gestures, plays the confirm SE, fades the BGM, blinks the prompt f...
Definition TitleViewControllerKnt.m:1126
UIInterfaceOrientationMask supportedInterfaceOrientations()
The supported interface orientations: the portrait pair.
Definition TitleViewControllerKnt.m:1264
void blinkPrompt()
Adds the pulsing opacity animation to the touch-prompt layer.
Definition TitleViewControllerKnt.m:809
instancetype init()
Initialises the controller: caches the device idiom, builds the EAGLView and the UpperBGKnit wave,...
Definition TitleViewControllerKnt.m:615
Base class for the four themed title screens.
Definition TitleViewController.h:33
A four-line knit wave drawn across the upper background.
Definition UpperBGKnit.h:26
Told how the editor-identifier provisioning download finished.
Definition EditorIDManager.h:22
What a MarkerDownloadView tells its owner.
Definition MarkerDownloadView.h:33